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