usbutils-vl.spec 2.2 KB

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