Summary: A library which allows userspace access to USB devices. Name: libusb Version: 0.1.5 Release: 2 Source0: http://prdownloads.sourceforge.net/libusb/%{name}-%{version}.tar.gz Source1: %{name}-doc.tar.gz License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://sourceforge.net/projects/libusb/ BuildRequires: docbook-utils BuildRequires: docbook-dtds >= 1.0-5 %description This package provides a way for applications to access USB devices. %package devel Summary: Development files for libusb. Group: Development/Libraries Requires: %{name} = %{version} %description devel This package contains the header files and documentation needed to develop applications that use libusb. %prep %setup -q %setup -q -a 1 %build %configure make ( cd doc ; docbook2ps manual.sgml ; \ rm -rf html ; mkdir html ; docbook2html -d website.dsl manual.sgml ) %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %doc AUTHORS README INSTALL.libusb NEWS ChangeLog doc/manual.ps doc/html %{_bindir}/libusb-config %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %changelog * Thu Feb 21 2002 Tim Waugh 0.1.5-2 - Rebuild in new environment. * Thu Feb 7 2002 Tim Waugh 0.1.5-1 - 0.1.5. * Fri Jan 25 2002 Tim Waugh 0.1.4-2 - Rebuild in new environment. - Work around tarball brokenness (doc directory was not automade). * Mon Oct 29 2001 Tim Waugh 0.1.4-1 - Adapted for Red Hat Linux. - 0.1.4. * Thu Mar 1 2001 Frederic Crozat 0.1.3b-1mdk - Initial Mandrake release