source: projects/specs/trunk/lib/libu/libusb1/libusb1-vl.spec @ 6163

Revision 6163, 4.3 KB checked in by kudoh, 12 years ago (diff)
Line 
1Summary: A library which allows userspace access to USB devices
2Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
3Name: libusb1
4Version: 1.0.9
5Release: 1%{?_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* Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.9-1
90- new upstream release
91
92* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
93- rebuild with rpm-4.8.1 for pkg-config file
94
95* Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
96- new upstream release
97
98* Thu Dec 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.6-1
99- new upstream release
100
101* Wed Sep 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.3-1
102- new upstream release
103
104* Mon Aug 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1
105- new upstream release
106
107* Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.1-1
108- new upstream release
109- fixed BuildRoot
110- added Japanese description, summary
111
112* Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
113- initial build for Vine Linux
114
115* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
116- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
117
118* Mon Dec 15 2008 - Bastien Nocera <bnocera@redhat.com> - 1.0.0-1
119- Update to 1.0.0
120
121* Fri Nov 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.4-1
122- Update to 0.9.4
123
124* Tue Sep 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.3-0.1
125- update to 0.9.3
126
127* Sun Jul 06 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.1
128- Update to 0.9.1
129
130* Mon May 26 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.4
131- update to official beta
132
133* Thu May 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.3.gitbef33bb
134- update comment on how the tarball was created
135- use abbreviated git hash within package name to avoid conflicts
136- add to %%description that libusb1 is incompatible with libsub-0.1
137
138* Thu May 22 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.2.gitbef33bb
139- add info on how the snapshot tarball was created
140
141* Wed May 21 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1.gitbef33bb
142- use proper version to denote it is a git snapshot
143
144* Thu May 15 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1
145- initial packaging
Note: See TracBrowser for help on using the repository browser.