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