]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - usbutils/usbutils.nm
util-linux: Update to 2.27
[people/amarx/ipfire-3.x.git] / usbutils / usbutils.nm
index 7319cae5dde487ca7bc32d3aec964adc48f95f02..6c3b98d1e482604a6b941cacc87003bd768c754a 100644 (file)
@@ -5,8 +5,8 @@
 
 name       = usbutils
 epoch      = 1
-version    = 003
-release    = 1
+version    = 005
+release    = 3
 
 groups     = System/Tools
 url        = http://www.linux-usb.org/
@@ -21,14 +21,18 @@ source_dl  = http://www.kernel.org/pub/linux/utils/usb/usbutils/
 
 build
        requires
-               libusb-devel
-               pkg-config
+               autoconf
+               automake
+               hwdata
+               libusbx-devel
                zlib-devel
        end
 
-       install_cmds
-               rm -fv %{BUILDROOT}/usr/share/usb.ids.gz
+       prepare_cmds
+               ./autogen.sh
+       end
 
+       install_cmds
                # Removing lsusb.py.
                rm -rfv %{BUILDROOT}/usr/bin/lsusb.py
        end
@@ -36,5 +40,14 @@ end
 
 packages
        package %{name}
+               group += Base
+
+               requires
+                       /usr/share/hwdata/usb.ids
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
        end
 end