93 lines
3.1 KiB
RPMSpec
93 lines
3.1 KiB
RPMSpec
Name: usbutils
|
|
Summary: Linux USB utilities
|
|
Version: 008
|
|
Release: 6%{?dist}
|
|
URL: http://www.linux-usb.org/
|
|
License: GPLv2+
|
|
Group: Applications/System
|
|
|
|
Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.xz
|
|
|
|
#Path to usb.ids in lsusb.py should be with /hwdata/
|
|
Patch0: usbutils-006-hwdata.patch
|
|
|
|
BuildRequires: libusbx-devel
|
|
BuildRequires: systemd-devel
|
|
Requires: hwdata
|
|
|
|
%description
|
|
This package contains utilities for inspecting devices connected to a
|
|
USB bus.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure --sbindir=%{_sbindir} --datadir=%{_datadir}/hwdata --disable-usbids
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
rm -rf %{buildroot}/%{_datadir}/pkgconfig/usbutils.pc
|
|
|
|
%files
|
|
%{!?_licensedir:%global license %%doc}
|
|
%license COPYING
|
|
%doc AUTHORS NEWS README
|
|
%{_mandir}/*/*
|
|
%{_bindir}/*
|
|
|
|
%changelog
|
|
* Mon Aug 29 2016 Peter Robinson <pbrobinson@fedoraproject.org> 008-6
|
|
- Don't ship usbutils pkgconfig file
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 008-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 008-4
|
|
- Fix FTBFS, cleanup and modernise spec, use %%license
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 008-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 008-2
|
|
- Rebuilt for Fedora 23 Change
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
* Wed Oct 22 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 008-1
|
|
- new release
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 007-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 007-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 007-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Mon Jun 17 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 007-1
|
|
- new upstream release
|
|
|
|
* Tue Feb 26 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 006-4
|
|
- lsusb-t: make sure that interfaces are added to lists only once (#914929)
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Mon Jul 16 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 006-1
|
|
- new upstream release
|
|
|
|
* Thu Apr 19 2012 Lukas Nykryn <lnykryn@redhat.com> 005-1
|
|
- new upstream release
|
|
|
|
* Thu Apr 19 2012 Lukas Nykryn <lnykryn@redhat.com> 004-4
|
|
- Ignore missing driver symlink (#808934)
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 004-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|