source: projects/specs/branches/6/lib/libu/libusb1/libusb1-vl.spec @ 1901

Revision 1901, 4.3 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

Line 
1Summary: A library which allows userspace access to USB devices
2Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
3Name: libusb1
4Version: 1.0.8
5Release: 2%{?_dist_release}
6Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
7License: LGPLv2+
8Group: System Environment/Libraries
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10URL: http://libusb.wiki.sourceforge.net/Libusb1.0
11ExcludeArch: s390 s390x
12BuildRequires: doxygen
13
14%description
15This package provides a way for applications to access USB devices. Note that
16this library is not compatible with the original libusb-0.1 series.
17
18%description -l ja
19このパッケージはアプリケーションが USB デバイスにアクセスする方法を提供します。
20このライブラリはオリジナルの libusb-0.1 シリーズと互換性がないことに注意してください。
21
22%package devel
23Summary: Development files for libusb
24Summary(ja): libusb の開発ファイル
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27Requires: pkgconfig
28
29%description devel
30This package contains the header files, libraries and documentation needed to
31develop applications that use libusb1.
32
33%description devel -l ja
34このパッケージは libusb1 を使うアプリケーションを開発するために
35必要なヘッダファイル、ライブラリ、ドキュメントを含んでいます。
36
37%package static
38Summary: Static development files for libusb
39Summary(ja): libusb の静的開発ファイル
40Group: Development/Libraries
41Requires: %{name}-devel = %{version}-%{release}
42
43%description static
44This package contains static libraries to develop applications that use libusb1.
45
46%description static -l ja
47このパッケージは libusb1 を使うアプリケーションを開発するための
48静的ライブラリを含んでいます。
49
50%prep
51%setup -q -n libusb-%{version}
52
53%build
54%configure
55make CFLAGS="$RPM_OPT_FLAGS"
56pushd doc
57make docs
58popd
59
60%install
61rm -rf $RPM_BUILD_ROOT
62make install DESTDIR=$RPM_BUILD_ROOT
63rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%post -p /sbin/ldconfig
69%postun -p /sbin/ldconfig
70
71
72%files
73%defattr(-,root,root)
74%doc AUTHORS COPYING README NEWS ChangeLog
75%{_libdir}/*.so.*
76
77%files devel
78%defattr(-,root,root)
79%doc doc/html examples/*.c
80%{_libdir}/pkgconfig/libusb-1.0.pc
81%{_includedir}/*
82%{_libdir}/*.so
83
84%files static
85%defattr(-,root,root)
86%{_libdir}/*.a
87
88%changelog
89* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
90- rebuild with rpm-4.8.1 for pkg-config file
91
92* Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
93- new upstream release
94
95* Thu Dec 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.6-1
96- new upstream release
97
98* Wed Sep 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.3-1
99- new upstream release
100
101* Mon Aug 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1
102- new upstream release
103
104* Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.1-1
105- new upstream release
106- fixed BuildRoot
107- added Japanese description, summary
108
109* Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
110- initial build for Vine Linux
111
112* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
113- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
114
115* Mon Dec 15 2008 - Bastien Nocera <bnocera@redhat.com> - 1.0.0-1
116- Update to 1.0.0
117
118* Fri Nov 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.4-1
119- Update to 0.9.4
120
121* Tue Sep 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.3-0.1
122- update to 0.9.3
123
124* Sun Jul 06 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.1
125- Update to 0.9.1
126
127* Mon May 26 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.4
128- update to official beta
129
130* Thu May 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.3.gitbef33bb
131- update comment on how the tarball was created
132- use abbreviated git hash within package name to avoid conflicts
133- add to %%description that libusb1 is incompatible with libsub-0.1
134
135* Thu May 22 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.2.gitbef33bb
136- add info on how the snapshot tarball was created
137
138* Wed May 21 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1.gitbef33bb
139- use proper version to denote it is a git snapshot
140
141* Thu May 15 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1
142- initial packaging
Note: See TracBrowser for help on using the repository browser.