usbutils-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. %define name usbutils
  2. %define version 008
  3. %define release 1%{?_dist_release}
  4. Summary: USB related utilities.
  5. Summary(ja): USB 用ユーティリティ
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.xz
  10. Patch1: usbutils-008-hwdata.patch
  11. License: GPLv2+
  12. Group: Applications/System
  13. URL: http://www.linux-usb.org/
  14. Requires: hwdata
  15. BuildRequires: libtool
  16. BuildRequires: libusb1-devel
  17. BuildRequires: eudev-libudev-devel
  18. BuildRequires: autoconf
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. %description
  21. The usbutils package contains utilities for inspecting devices
  22. connected to the USB.
  23. %description -l ja
  24. このパッケージには USB に接続された各種デバイスの状態を見る為の
  25. ユーティリティが収められています.
  26. %prep
  27. %setup -q
  28. %patch1 -p1 -b .hwdata
  29. %build
  30. autoreconf -if
  31. %configure --sbindir=%{_sbindir} --disable-usbids
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %{_mandir}/*/*
  41. %{_bindir}/*
  42. %{_datadir}/pkgconfig/usbutils.pc
  43. %doc AUTHORS COPYING ChangeLog NEWS README
  44. %changelog
  45. * Mon May 04 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 008-1
  46. - update to 008
  47. - update Patch1 (usbutils-008-hwdata.patch)
  48. - add BuildRequires: eudev-libudev-devel
  49. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 007-1
  50. - update to 007
  51. - add BuildRequires: libusb1-devel
  52. - update Patch1 (usbutils-006-hwdata.patch) from fedora
  53. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.86-2
  54. - rebuilt with rpm-4.8.1 for pkg-config
  55. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.86-2
  56. - rebuilt with rpm-4.8.1 for pkg-config
  57. * Sun Oct 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.86-1
  58. - new upstream release
  59. - added %configure --sbindir=%{_sbindir}
  60. * Thu Jul 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.84-1vl5
  61. - new upstream release
  62. - changed %files
  63. - added Patch1
  64. - added autoreconf before %build
  65. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.82-1vl5
  66. - new upstream release
  67. - dropt Patch1
  68. - changed License: GPLv2+
  69. - added BuildRequires: libtool
  70. * Mon Oct 13 2008 Shu KONNO <owa@bg.wakwak.com> 0.72-1vl5
  71. - applied new versioning policy, spec in utf-8
  72. * Sat Jul 14 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.72-0vl1
  73. - initial build for Vine Linux