auto-import changelog data from usbutils-0.9-4.src.rpm

Mon Mar 18 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.9-4
- Conflict with older versions of hotplug which contained parts of this
    package (#60615)
Fri Feb 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.9-3
- Rebuild
Wed Jan 30 2002 Bill Nottingham <notting@redhat.com> 0.9-2
- require hwdata
Wed Jan 16 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.9-1
- Initial RPM
- make it build on ia64
This commit is contained in:
cvsdist 2004-09-09 13:49:40 +00:00
parent eb61c278cd
commit ab1842b633
4 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1 @@
usbutils-0.9.tar.gz

View File

@ -0,0 +1 @@
a7076627efb02bc2a0b7186ef249eb05 usbutils-0.9.tar.gz

59
usbutils-0.9-hwdata.patch Normal file
View File

@ -0,0 +1,59 @@
--- usbutils-0.9/configure.hwdata Wed Jan 30 19:45:49 2002
+++ usbutils-0.9/configure Wed Jan 30 19:46:15 2002
@@ -1761,18 +1761,18 @@
if test "x${datadir}" = 'x${prefix}/share'; then
if test "x${prefix}" = "xNONE"; then
cat >> confdefs.h <<EOF
-#define USBIDS_FILE "${ac_default_prefix}/share/usb.ids"
+#define USBIDS_FILE "${ac_default_prefix}/share/hwdata/usb.ids"
EOF
else
cat >> confdefs.h <<EOF
-#define USBIDS_FILE "${prefix}/share/usb.ids"
+#define USBIDS_FILE "${prefix}/share/hwdata/usb.ids"
EOF
fi
else
cat >> confdefs.h <<EOF
-#define USBIDS_FILE "${datadir}/usb.ids"
+#define USBIDS_FILE "${datadir}/hwdata/usb.ids"
EOF
fi
--- usbutils-0.9/libusb/configure.hwdata Wed Jan 30 19:44:12 2002
+++ usbutils-0.9/libusb/configure Wed Jan 30 19:44:56 2002
@@ -2326,18 +2326,18 @@
if test "x${datadir}" = 'x${prefix}/share'; then
if test "x${prefix}" = "xNONE"; then
cat >> confdefs.h <<EOF
-#define USBIDS_FILE "${ac_default_prefix}/share/usb.ids"
+#define USBIDS_FILE "${ac_default_prefix}/share/hwdata/usb.ids"
EOF
else
cat >> confdefs.h <<EOF
-#define USBIDS_FILE "${prefix}/share/usb.ids"
+#define USBIDS_FILE "${prefix}/share/hwdata/usb.ids"
EOF
fi
else
cat >> confdefs.h <<EOF
-#define USBIDS_FILE "${datadir}/usb.ids"
+#define USBIDS_FILE "${datadir}/hwdata/usb.ids"
EOF
fi
--- usbutils-0.9/lsusb.8.hwdata Wed Jan 30 19:45:15 2002
+++ usbutils-0.9/lsusb.8 Wed Jan 30 19:45:23 2002
@@ -47,7 +47,7 @@
.SH FILES
.TP
-.B /usr/share/usb.ids
+.B /usr/share/hwdata/usb.ids
A list of all known USB ID's (vendors, products, classes, subclasses and protocols).
.TP
.B /proc/bus/usb

56
usbutils.spec Normal file
View File

@ -0,0 +1,56 @@
Name: usbutils
Version: 0.9
Release: 4
Source: http://usb.cs.tum.edu/download/%{name}-%{version}.tar.gz
Patch: usbutils-%{version}-hwdata.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: hwdata
Summary: Linux USB utilities.
Group: Applications/System
Conflicts: hotplug < hotplug-2002_01_14-2
%description
This package contains utilities for inspecting devices connected to a
USB bus.
%prep
%setup -q
%patch -p1
%build
cp /usr/share/libtool/config.{sub,guess} .
%configure --sbindir=/sbin
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
mkdir -p $RPM_BUILD_ROOT/sbin
mv $RPM_BUILD_ROOT/usr/sbin/* $RPM_BUILD_ROOT/sbin/
%files
%defattr(-,root,root)
%{_mandir}/*/*
/sbin/*
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Mar 18 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.9-4
- Conflict with older versions of hotplug which contained
parts of this package (#60615)
* Fri Feb 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.9-3
- Rebuild
* Wed Jan 30 2002 Bill Nottingham <notting@redhat.com> 0.9-2
- require hwdata
* Wed Jan 16 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.9-1
- Initial RPM
- make it build on ia64