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