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