[521] | 1 | Summary: A library which allows userspace access to USB devices |
---|
| 2 | Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ |
---|
| 3 | Name: libusb1 |
---|
[1101] | 4 | Version: 1.0.8 |
---|
[1901] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 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: doxygen |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | This package provides a way for applications to access USB devices. Note that |
---|
| 16 | this 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 |
---|
| 23 | Summary: Development files for libusb |
---|
| 24 | Summary(ja): libusb の開発ファイル |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version}-%{release} |
---|
| 27 | Requires: pkgconfig |
---|
| 28 | |
---|
| 29 | %description devel |
---|
| 30 | This package contains the header files, libraries and documentation needed to |
---|
| 31 | develop applications that use libusb1. |
---|
| 32 | |
---|
| 33 | %description devel -l ja |
---|
| 34 | このパッケージは libusb1 を使うアプリケーションを開発するために |
---|
| 35 | 必要なヘッダファイル、ライブラリ、ドキュメントを含んでいます。 |
---|
| 36 | |
---|
| 37 | %package static |
---|
| 38 | Summary: Static development files for libusb |
---|
| 39 | Summary(ja): libusb の静的開発ファイル |
---|
| 40 | Group: Development/Libraries |
---|
| 41 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 42 | |
---|
| 43 | %description static |
---|
| 44 | This 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 |
---|
| 55 | make CFLAGS="$RPM_OPT_FLAGS" |
---|
| 56 | pushd doc |
---|
| 57 | make docs |
---|
| 58 | popd |
---|
| 59 | |
---|
| 60 | %install |
---|
| 61 | rm -rf $RPM_BUILD_ROOT |
---|
| 62 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 63 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -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 |
---|
[1901] | 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 | |
---|
[1101] | 92 | * Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[521] | 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 |
---|