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