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

Revision 12522, 6.8 KB checked in by tomop, 3 years ago (diff)

updated 16 packages

SDL2-2.0.14-1

gmp-6.2.1-1

gnupg2-2.2.27-1

gnutls-3.7.0-1

golang-1.15.7-1

iputils-20210202-1

libassuan-2.5.4-1

libgcrypt-1.9.1-1

libgpg-error-1.41-1

libksba-1.5.0-1

libusb1-1.0.24-1

nettle-3.7-1

npth-1.6-2

pcsc-lite-1.9.0-1

python3-3.8.7-1

tcpdump-4.9.3-2

RevLine 
[9150]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[521]3Summary: A library which allows userspace access to USB devices
4Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
5Name: libusb1
[12522]6Version: 1.0.24
[11326]7Release: 1%{?_dist_release}
[12522]8Group: system
[12358]9Vendor: Project Vine
10Distribution: Vine Linux
11
[9150]12License: LGPLv2+
[12358]13URL: https://libusb.info/
14Source0: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
[9150]15
[521]16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17ExcludeArch: s390 s390x
[12358]18BuildRequires: libudev-devel
[521]19BuildRequires: doxygen
20
[12358]21%global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$
22
[521]23%description
24This package provides a way for applications to access USB devices. Note that
25this library is not compatible with the original libusb-0.1 series.
26
27%description -l ja
28このパッケージはアプリケーションが USB デバイスにアクセスする方法を提供します。
29このライブラリはオリジナルの libusb-0.1 シリーズと互換性がないことに注意してください。
30
[12522]31
[521]32%package devel
33Summary: Development files for libusb
[9150]34Summary(ja): libusb の開発用ファイル
[12522]35Group: programming
[521]36Requires: %{name} = %{version}-%{release}
37Requires: pkgconfig
[12358]38Provides: pkgconfig(libusb-1.0) = %{version}
[521]39
40%description devel
41This package contains the header files, libraries and documentation needed to
42develop applications that use libusb1.
43
44%description devel -l ja
45このパッケージは libusb1 を使うアプリケーションを開発するために
46必要なヘッダファイル、ライブラリ、ドキュメントを含んでいます。
47
[12522]48
[521]49%package static
50Summary: Static development files for libusb
51Summary(ja): libusb の静的開発ファイル
[12522]52Group: programming
[521]53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56This package contains static libraries to develop applications that use libusb1.
57
58%description static -l ja
59このパッケージは libusb1 を使うアプリケーションを開発するための
60静的ライブラリを含んでいます。
61
[9150]62
63# compat32
64%package -n compat32-%{name}
65Summary: A library which allows userspace access to USB devices
66Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
[12522]67Group:    system
[9150]68Requires: %{name} = %{version}-%{release}
69Requires: compat32-eudev-libudev
70
71%description -n compat32-%{name}
72This package provides a way for applications to access USB devices. Note that
73this library is not compatible with the original libusb-0.1 series.
74
75%description -n compat32-%{name} -l ja
76このパッケージはアプリケーションが USB デバイスにアクセスする方法を提供します。
77このライブラリはオリジナルの libusb-0.1 シリーズと互換性がないことに注意してください。
78
79%package -n compat32-%{name}-devel
80Summary: Development files for libusb
81Summary(ja): libusb の開発用ファイル
[12522]82Group: programming
[9150]83Requires: %{name}-devel = %{version}-%{release}
84Requires: compat32-%{name} = %{version}-%{release}
85Requires: compat32-pkgconfig
86
87%description -n compat32-%{name}-devel
88This package contains the header files, libraries and documentation needed to
89develop applications that use libusb1.
90
91%description -n compat32-%{name}-devel -l ja
92このパッケージは libusb1 を使うアプリケーションを開発するために
93必要なヘッダファイル、ライブラリ、ドキュメントを含んでいます。
94
95
[12522]96%debug_package
97
98
[521]99%prep
100%setup -q -n libusb-%{version}
101
[12522]102
[521]103%build
104%configure
105make CFLAGS="$RPM_OPT_FLAGS"
106pushd doc
107make docs
108popd
109
[12522]110
[521]111%install
112rm -rf $RPM_BUILD_ROOT
113make install DESTDIR=$RPM_BUILD_ROOT
114rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
115
[12522]116
[521]117%clean
118rm -rf $RPM_BUILD_ROOT
119
[12522]120
[521]121%post -p /sbin/ldconfig
122%postun -p /sbin/ldconfig
123
[9150]124%if %{build_compat32}
125%post -n compat32-%{name} -p /sbin/ldconfig
126%postun -n compat32-%{name} -p /sbin/ldconfig
127%endif
[521]128
[9150]129
[521]130%files
131%defattr(-,root,root)
[12358]132%license COPYING
133%doc AUTHORS README*
[9150]134%{_libdir}/libusb-1.0.so.*
[521]135
136%files devel
137%defattr(-,root,root)
138%doc doc/html examples/*.c
[9150]139%{_includedir}/libusb-1.0
140%{_libdir}/libusb-1.0.so
[521]141%{_libdir}/pkgconfig/libusb-1.0.pc
142
143%files static
144%defattr(-,root,root)
[9150]145%{_libdir}/libusb-1.0.a
[521]146
[9150]147# compat32
148%if %{build_compat32}
149%files -n compat32-%{name}
150%defattr(-,root,root,-)
151%{_libdir}/libusb-1.0.so.*
152
153%files -n compat32-%{name}-devel
154%defattr(-,root,root,-)
155%{_libdir}/libusb-1.0.so
156%{_libdir}/pkgconfig/libusb-1.0.pc
157%endif
158
159
[521]160%changelog
[12522]161* Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.24-1
162- new upstream release.
163
[12358]164* Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.23-1
165- new upstream release.
166
[11326]167* Fri Jan 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.21-1
168- new upstream release.
169
[9150]170* Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.19-2
171- added compat32 subpackages
172
[8793]173* Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.19-1
174- new upstream release
175- add BuildRequires: eudev-libudev-devel
176
[6163]177* Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.9-1
178- new upstream release
179
[1901]180* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
181- rebuild with rpm-4.8.1 for pkg-config file
182
[1101]183* Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
184- new upstream release
185
[521]186* Thu Dec 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.6-1
187- new upstream release
188
189* Wed Sep 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.3-1
190- new upstream release
191
192* Mon Aug 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1
193- new upstream release
194
195* Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.1-1
196- new upstream release
197- fixed BuildRoot
198- added Japanese description, summary
199
200* Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
201- initial build for Vine Linux
202
203* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
204- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
205
206* Mon Dec 15 2008 - Bastien Nocera <bnocera@redhat.com> - 1.0.0-1
207- Update to 1.0.0
208
209* Fri Nov 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.4-1
210- Update to 0.9.4
211
212* Tue Sep 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.3-0.1
213- update to 0.9.3
214
215* Sun Jul 06 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.1
216- Update to 0.9.1
217
218* Mon May 26 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.4
219- update to official beta
220
[8793]221* Fri May 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.3.gitbef33bb
[521]222- update comment on how the tarball was created
223- use abbreviated git hash within package name to avoid conflicts
224- add to %%description that libusb1 is incompatible with libsub-0.1
225
226* Thu May 22 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.2.gitbef33bb
227- add info on how the snapshot tarball was created
228
229* Wed May 21 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1.gitbef33bb
230- use proper version to denote it is a git snapshot
231
232* Thu May 15 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1
233- initial packaging
Note: See TracBrowser for help on using the repository browser.