source: projects/specs/branches/6/u/usbutils/usbutils-vl.spec @ 1996

Revision 1996, 2.1 KB checked in by owa, 14 years ago (diff)

rebuilt with rpm-4.8.1

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