[521] | 1 | Summary: A library which allows userspace access to USB devices. |
---|
| 2 | Summary(ja): ユーザスペースから USB デバイスにアクセスするためのライブラリ |
---|
| 3 | Name: libusb |
---|
| 4 | Version: 0.1.12 |
---|
[1865] | 5 | Release: 3%{?_dist_release} |
---|
| 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: LGPL |
---|
| 9 | URL: http://sourceforge.net/projects/libusb/ |
---|
| 10 | |
---|
[521] | 11 | Source0: http://prdownloads.sourceforge.net/libusb/%{name}-%{version}.tar.gz |
---|
[1865] | 12 | |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: docbook-utils |
---|
| 15 | BuildRequires: docbook-dtds >= 1.0 |
---|
| 16 | %{?nosrc:NoSource: 0} |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | This package provides a way for applications to access USB devices. |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Development files for libusb. |
---|
| 26 | Summary(ja): libusb の開発用ファイル |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version} |
---|
| 29 | |
---|
| 30 | %description devel |
---|
| 31 | This package contains the header files and documentation needed to |
---|
| 32 | develop applications that use libusb. |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
| 37 | %build |
---|
[1865] | 38 | %configure --disable-static |
---|
[521] | 39 | make |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | |
---|
| 50 | %post -p /sbin/ldconfig |
---|
| 51 | |
---|
| 52 | %postun -p /sbin/ldconfig |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root) |
---|
| 56 | %{_libdir}/*.so.* |
---|
| 57 | |
---|
| 58 | %files devel |
---|
| 59 | %defattr(-,root,root) |
---|
| 60 | %doc AUTHORS README INSTALL.libusb NEWS ChangeLog doc/html |
---|
| 61 | %{_bindir}/libusb-config |
---|
| 62 | %{_includedir}/* |
---|
| 63 | %{_libdir}/*.so |
---|
[1865] | 64 | #{_libdir}/*.a |
---|
[521] | 65 | #{_libdir}/*.la |
---|
| 66 | %{_libdir}/pkgconfig/*.pc |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %changelog |
---|
[1865] | 70 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-3 |
---|
| 71 | - rebuilt with rpm-4.8.1 for pkg-config file |
---|
| 72 | - removed static library from devel package |
---|
| 73 | |
---|
[521] | 74 | * Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.1.12-2 |
---|
| 75 | - spec in utf-8 |
---|
| 76 | |
---|
| 77 | * Sun May 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-1 |
---|
| 78 | - applied new versioning policy |
---|
| 79 | - removed lib*.la from devel package |
---|
| 80 | |
---|
| 81 | * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.1.12-0vl2 |
---|
| 82 | - rebuilt with new toolchain |
---|
| 83 | |
---|
| 84 | * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-0vl1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
| 87 | * Sun Jul 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.10a-0vl1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
| 90 | * Mon Jan 03 2004 Satoshi MACHINO <machino@vinelinux.org> 0.1.8-0vl1 |
---|
| 91 | - new upstream version |
---|
| 92 | -- libusb-0.1.8 |
---|
| 93 | -- run aclocal/autoconf to make shared libraries |
---|
| 94 | |
---|
| 95 | * Sun Nov 16 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.1.7-0vl2 |
---|
| 96 | - rebuild |
---|
| 97 | |
---|
| 98 | * Sun Jan 19 2003 Masaki Shinomiya <shino@pos.to> 0.1.7-0vl1 |
---|
| 99 | - for Vine Linux 2.6 |
---|
| 100 | |
---|
| 101 | * Sun Dec 15 2002 Masaki Shinomiya <shino@pos.to> 0.1.7-0 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
| 104 | * Fri Jun 21 2002 Masaki Shinomiya <shino@pos.to> 0.1.5-0 |
---|
| 105 | - omit buildrequire docbook-dtds, omit manual.ps |
---|
| 106 | |
---|
| 107 | * Thu Apr 11 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-3 |
---|
| 108 | - Rebuild (fixes bug #63196). |
---|
| 109 | |
---|
| 110 | * Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-2 |
---|
| 111 | - Rebuild in new environment. |
---|
| 112 | |
---|
| 113 | * Thu Feb 7 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-1 |
---|
| 114 | - 0.1.5. |
---|
| 115 | |
---|
| 116 | * Fri Jan 25 2002 Tim Waugh <twaugh@redhat.com> 0.1.4-2 |
---|
| 117 | - Rebuild in new environment. |
---|
| 118 | - Work around tarball brokenness (doc directory was not automade). |
---|
| 119 | |
---|
| 120 | * Mon Oct 29 2001 Tim Waugh <twaugh@redhat.com> 0.1.4-1 |
---|
| 121 | - Adapted for Red Hat Linux. |
---|
| 122 | - 0.1.4. |
---|
| 123 | |
---|
| 124 | * Thu Mar 1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.1.3b-1mdk |
---|
| 125 | - Initial Mandrake release |
---|