559ffc
Summary: A library which allows userspace access to USB devices
cvsdist 841133
Name: libusb
17a136
Version: 0.1.12
35b1dc
Release: 21%{?dist}
cvsdist 841133
Source0: http://prdownloads.sourceforge.net/libusb/%{name}-%{version}.tar.gz
cc895d
Patch0: libusb-0.1.12-libusbconfig.patch
5682b4
Patch1: libusb-0.1.12-memset.patch
e85831
Patch2: libusb-0.1.12-openat.patch
3fdb27
Patch3: libusb-0.1.12-wakeups.patch
62b6a9
Patch4: libusb-0.1.12-concurrency-timeout.patch
737a86
License: LGPLv2+
cvsdist 841133
Group: System Environment/Libraries
559ffc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 841133
URL: http://sourceforge.net/projects/libusb/
9a5911
BuildRequires: docbook-utils, pkgconfig
58b42a
BuildRequires: docbook-dtds >= 1.0-5, docbook-utils-pdf
5e8ac8
BuildRequires: openjade autoconf
cvsdist 841133
cvsdist 841133
%description
cvsdist 841133
This package provides a way for applications to access USB devices.
cvsdist 841133
cvsdist 841133
%package devel
559ffc
Summary: Development files for libusb
cvsdist 841133
Group: Development/Libraries
bb251f
Requires: %{name} = %{version}-%{release}
75d390
Requires: pkgconfig
cvsdist 841133
cvsdist 841133
%description devel
bb251f
This package contains the header files, libraries  and documentation needed to
cvsdist 841133
develop applications that use libusb.
cvsdist 841133
bb251f
%package static
bb251f
Summary: Static development files for libusb
bb251f
Group: Development/Libraries
bb251f
Requires: %{name}-devel = %{version}-%{release}
bb251f
bb251f
%description static
bb251f
This package contains static libraries to develop applications that use libusb.
bb251f
cvsdist 841133
%prep
cvsdist 841133
%setup -q
cc895d
%patch0 -p1 -b .libusbconfig
5682b4
%patch1 -p1 -b .memset
e85831
%patch2 -p1 -b .openat
27f22f
#%patch3 -p0 -b .wakeups
90719c
#%patch4 -p1 -b .concurrency-timeout
52ff68
cvsdist 841133
%build
e85831
autoconf
cvsdist 841133
%configure
bb251f
make CFLAGS="$RPM_OPT_FLAGS"
cvsdist a08902
pushd doc
cvsdist a08902
docbook2ps manual.sgml
558b02
sed -i '/DVIPSSource:/d;/CreationDate:/d' manual.ps
cvsdist a08902
popd
cvsdist 841133
cvsdist 841133
%install
cvsdist 841133
rm -rf $RPM_BUILD_ROOT
bb251f
make install DESTDIR=$RPM_BUILD_ROOT
359e72
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
cvsdist 841133
cvsdist 841133
%clean
cvsdist 841133
rm -rf $RPM_BUILD_ROOT
cvsdist 841133
cvsdist 841133
%post -p /sbin/ldconfig
cvsdist 841133
%postun -p /sbin/ldconfig
cvsdist 841133
cvsdist 841133
cvsdist 841133
%files
cvsdist 841133
%defattr(-,root,root)
cvsdist 841133
%{_libdir}/*.so.*
cvsdist 841133
cvsdist 841133
%files devel
cvsdist 841133
%defattr(-,root,root)
cvsdist 841133
%doc AUTHORS README INSTALL.libusb NEWS ChangeLog doc/manual.ps doc/html
cvsdist 841133
%{_bindir}/libusb-config
9a5911
%{_libdir}/pkgconfig/libusb.pc
cvsdist 841133
%{_includedir}/*
cvsdist 841133
%{_libdir}/*.so
bb251f
bb251f
%files static
bb251f
%defattr(-,root,root)
cvsdist 841133
%{_libdir}/*.a
cvsdist 841133
cvsdist 841133
%changelog
35b1dc
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.12-21
35b1dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
35b1dc
b6b497
* Tue Oct 21 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-20
b6b497
- remove ExcludeArch: s390 s390x, libusb works fine there (#467768)
b6b497
90719c
* Tue Oct 14 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-19
90719c
- don't apply the concurrency timeout handling patch, it breaks
90719c
  pilot-link (#456811)
90719c
558b02
* Mon Oct  6 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-18
558b02
- fix multiarch conflict in libusb-devel (#465209)
558b02
62b6a9
* Sat Aug  2 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-17
62b6a9
- apply patch from Graeme Gill to fix concurrency timeout
62b6a9
  handling (#456811)
62b6a9
cbc45e
* Fri Apr 18 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-16
cbc45e
- rebuild to fix broken ppc build
cbc45e
27f22f
* Tue Feb 26 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-15
27f22f
- don't apply wakeups patch until it's fixed, it causes problems
27f22f
  with Eye-One Pro (#434950)
27f22f
442dac
* Mon Feb 25 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-14
442dac
- manual rebuild because of gcc-4.3 (#434189)
442dac
e6af8d
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.12-13
e6af8d
- Autorebuild for GCC 4.3
e6af8d
3fdb27
* Tue Dec  4 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-12
3fdb27
- remove unnecessary 1ms wakeups while USB transfers are in progress,
3fdb27
  thanks to Scott Lamb (#408131)
3fdb27
5e8ac8
* Tue Nov  6 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-11
5e8ac8
- fix multilib conflict in manual.ps (#342461)
5e8ac8
- drop useless BR: gawk
5e8ac8
e85831
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-10
e85831
- optimize usb_find_devices() and use openat() instead of open()
e85831
 (#273901), thanks to Ulrich Drepper
8c1a91
- BR gawk
e85831
737a86
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-9
737a86
- update License
737a86
- rebuild for BuildID
737a86
5682b4
* Wed Aug  1 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-8
5682b4
- don't use uninitialized buffers on stack (#250274)
5682b4
bb251f
* Tue Feb 08 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-7
bb251f
- merge review spec fixes (#226053)
bb251f
- create -static subpackage to ship static libs separately
bb251f
- don't use auto* stuff, drop automake, libtool deps
bb251f
- BuildRequire openjade, fix Requires
bb251f
559ffc
* Tue Dec 12 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-6
559ffc
- fix BuildRoot, add dist tag, rpmlint warnfixes
559ffc
c36567
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.12-5.1
c36567
- rebuild
c36567
75d390
* Fri Jun 08 2006 Jesse Keating <jkeating@redhat.com> 0.1.12-5
75d390
- Add missing BR automake, libtool.
75d390
- Add missing Requires in -devel on pkgconfig
75d390
359e72
* Thu Jun  1 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-4
359e72
- remove .la files from libusb-devel (#172643)
359e72
cc895d
* Wed May 30 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-3
cc895d
- use pkg-config calls in libusb-config instead of hardcoded
cc895d
  defaults to avoid multiarch conflicts (#192714)
cc895d
58b42a
* Fri May  5 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-2
58b42a
- add docbook-utils-pdf BuildRequires (#191744)
58b42a
17a136
* Mon Mar  6 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-1
17a136
- update to 0.1.12
17a136
- drop .format, .searchorder patches, applied upstream
17a136
d3c518
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.1.11-2.2
d3c518
- bump again for double-long bug on ppc(64)
d3c518
73082a
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.1.11-2.1
73082a
- rebuilt for new gcc4.1 snapshot and glibc changes
73082a
794529
* Fri Jan 27 2006 Jindrich Novy <jnovy@redhat.com> 0.1.11-2
794529
- change device search order, /dev/bus/usb is tried first,
794529
  then /proc/bus/usb, and never try /sys/bus/usb (#178994)
794529
9a5911
* Fri Jan 20 2006 Jindrich Novy <jnovy@redhat.com> 0.1.11-1
9a5911
- 0.1.11
9a5911
- require pkgconfig, package libusb.pc
52ff68
- fix printf format in linux.c so that libusb can be built with -Werror (default)
9a5911
d9805a
* Mon Dec 19 2005 Tim Waugh <twaugh@redhat.com> 0.1.10a-3
d9805a
- Rebuild.
d9805a
8af1ba
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
8af1ba
- rebuilt for new gcj
8af1ba
a344e2
* Mon Nov 21 2005 Tim Waugh <twaugh@redhat.com> 0.1.10a-2
a344e2
- Build does not require xorg-x11-devel.  Fixes rebuild problem (no more
a344e2
  xorg-x11-devel package).
a344e2
f79e5d
* Wed Mar  9 2005 Tim Waugh <twaugh@redhat.com> 0.1.10a-1
f79e5d
- 0.1.10a.
f79e5d
191892
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 0.1.10-2
191892
- Rebuild for new GCC.
191892
4081dd
* Fri Feb 11 2005 Tim Waugh <twaugh@redhat.com> 0.1.10-1
4081dd
- 0.1.10.
4081dd
1bd28d
* Tue Feb  1 2005 Tim Waugh <twaugh@redhat.com> 0.1.9-1
1bd28d
- Build requires xorg-x11-devel.
1bd28d
- 0.1.9.
1bd28d
Florian La Roche 6da0ab
* Sat Jan 08 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche 6da0ab
- rebuilt to get rid of legacy selinux filecontexts
Florian La Roche 6da0ab
cvsdist c34f5a
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist c34f5a
- rebuilt
cvsdist c34f5a
cvsdist 0edaf7
* Tue May 25 2004 Tim Waugh <twaugh@redhat.com> 0.1.8-3
cvsdist 0edaf7
- Run aclocal/autoconf to make shared libraries work again.
cvsdist 0edaf7
cvsdist 49043b
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 49043b
- rebuilt
cvsdist 49043b
cvsdist 49043b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 49043b
- rebuilt
cvsdist 49043b
cvsdist 49043b
* Wed Feb 11 2004 Tim Waugh <twaugh@redhat.com> 0.1.8-1
cvsdist 49043b
- 0.1.8.
cvsdist 49043b
cvsdist a08902
* Tue Jun 17 2003 Tim Waugh <twaugh@redhat.com> 0.1.7-3
cvsdist a08902
- Fixed spec file.
cvsdist a08902
cvsdist a08902
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist a08902
- rebuilt
cvsdist a08902
cvsdist a08902
* Wed Mar 19 2003 Tim Waugh <twaugh@redhat.com>
cvsdist a08902
- Use the CFLAGS from the environment.
cvsdist a08902
cvsdist a08902
* Wed Mar 19 2003 Tim Waugh <twaugh@redhat.com> 0.1.7-1
cvsdist a08902
- 0.1.7.
cvsdist a08902
cvsdist 3f6b9f
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 3f6b9f
- rebuilt
cvsdist 3f6b9f
cvsdist 3f6b9f
* Wed Nov 20 2002 Florian La Roche <florian.laroche@redhat.de>
cvsdist 3f6b9f
- exclude mainframe
cvsdist 3f6b9f
cvsdist 0fadeb
* Tue Jun 25 2002 Tim Waugh <twaugh@redhat.com> 0.1.6-1
cvsdist 0fadeb
- 0.1.6.
cvsdist 0fadeb
cvsdist 0fadeb
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.1.5-6
cvsdist 6d8874
- automated rebuild
cvsdist 6d8874
cvsdist 6d8874
* Fri Jun 21 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-5
cvsdist 6d8874
- Rebuild to fix broken deps.
cvsdist 6d8874
cvsdist 6d8874
* Thu May 23 2002 Tim Powers <timp@redhat.com> 0.1.5-4
cvsdist 6d8874
- automated rebuild
cvsdist 6d8874
cvsdist c9366c
* Thu Apr 11 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-3
cvsdist c9366c
- Rebuild (fixes bug #63196).
cvsdist c9366c
cvsdist 2b9f34
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-2
cvsdist 2b9f34
- Rebuild in new environment.
cvsdist 2b9f34
cvsdist 841133
* Thu Feb  7 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-1
cvsdist 841133
- 0.1.5.
cvsdist 841133
cvsdist 841133
* Fri Jan 25 2002 Tim Waugh <twaugh@redhat.com> 0.1.4-2
cvsdist 841133
- Rebuild in new environment.
cvsdist 841133
- Work around tarball brokenness (doc directory was not automade).
cvsdist 841133
cvsdist 841133
* Mon Oct 29 2001 Tim Waugh <twaugh@redhat.com> 0.1.4-1
cvsdist 841133
- Adapted for Red Hat Linux.
cvsdist 841133
- 0.1.4.
cvsdist 841133
cvsdist 841133
* Thu Mar  1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.1.3b-1mdk
cvsdist 841133
- Initial Mandrake release