8b47af
Name: libusb
8b47af
Epoch: 1
8b47af
Version: 0.1.5
8b47af
Release: 12%{?dist}
8b47af
Summary: A library which allows userspace access to USB devices
8b47af
Group: System Environment/Libraries
8b47af
License: LGPLv2+
8b47af
URL: http://sourceforge.net/projects/libusb/
8b47af
Source0: http://downloads.sourceforge.net/libusb/libusb-compat-%{version}.tar.bz2
8b47af
Patch0: libusb-config-multilib.patch
8b47af
Patch1: 0001-Link-with-znodelete-to-disallow-unloading.patch
8b47af
Patch2: 0002-Revert-use-atexit-to-call-libusb_exit.patch
8b47af
BuildRequires: libusb1-devel
8b47af
8b47af
%description
8b47af
This package provides a way for applications to access USB devices.
8b47af
Legacy libusb-0.1 is no longer supported by upstream, therefore content of this
8b47af
package was replaced by libusb-compat. It provides compatibility layer allowing
8b47af
applications written for libusb-0.1 to work with libusb-1.0.
8b47af
8b47af
8b47af
%package devel
8b47af
Summary: Development files for libusb
8b47af
Group: Development/Libraries
8b47af
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
8b47af
8b47af
%description devel
8b47af
This package contains the header files, libraries and documentation needed to
8b47af
develop applications that use libusb-0.1. However new applications should use
8b47af
libusb-1.0 library instead of this one.
8b47af
8b47af
8b47af
%prep
8b47af
%setup -q -n libusb-compat-%{version}
8b47af
%patch0 -p1 -b .config-multilib
8b47af
%patch1 -p1
8b47af
%patch2 -p1
8b47af
8b47af
8b47af
%build
8b47af
%configure --disable-static
8b47af
make %{?_smp_mflags}
8b47af
8b47af
8b47af
%install
8b47af
%make_install
8b47af
rm $RPM_BUILD_ROOT%{_libdir}/libusb.la
8b47af
8b47af
8b47af
%ldconfig_scriptlets
8b47af
8b47af
8b47af
%files
8b47af
%doc AUTHORS COPYING ChangeLog NEWS README
8b47af
%{_libdir}/libusb-0.1.so.*
8b47af
8b47af
%files devel
8b47af
%{_includedir}/usb.h
8b47af
%{_libdir}/libusb.so
8b47af
%{_libdir}/pkgconfig/libusb.pc
8b47af
%{_bindir}/libusb-config
8b47af
8b47af
8b47af
%changelog
8b47af
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.1.5-12
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8b47af
8b47af
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:0.1.5-11
8b47af
- Switch to %%ldconfig_scriptlets
8b47af
8b47af
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.1.5-10
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8b47af
8b47af
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.1.5-9
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8b47af
8b47af
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.1.5-8
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8b47af
8b47af
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.1.5-7
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8b47af
8b47af
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.1.5-6
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8b47af
8b47af
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.1.5-5
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8b47af
8b47af
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.1.5-4
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8b47af
8b47af
* Thu Feb 13 2014 Hans de Goede <hdegoede@redhat.com> - 0.1.5-3
8b47af
- Revert atexit patch (rhbz#1003193)
8b47af
8b47af
* Wed Aug 14 2013 Hans de Goede <hdegoede@redhat.com> - 0.1.5-2
8b47af
- Link with -znodelete to fix crash on unload of dl-opened code (rhbz#996760)
8b47af
8b47af
* Sun Aug 04 2013 Hans de Goede <hdegoede@redhat.com> - 0.1.5-1
8b47af
- Update to 0.1.5 (#965414)
8b47af
- Drop unused -static subpackage
8b47af
8b47af
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.1.4-2
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8b47af
8b47af
* Mon Jan 28 2013 Jindrich Novy <jnovy@redhat.com> 0.1.4-1
8b47af
- update to 0.1.4 (#904748)
8b47af
- drop upstreamed patches
8b47af
- fix changelog dates
8b47af
8b47af
* Mon Nov 19 2012 Nils Philippsen <nils@redhat.com> - 1:0.1.3-12
8b47af
- update sourceforge download URL
8b47af
8b47af
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.1.3-11
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8b47af
8b47af
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.1.3-10
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8b47af
8b47af
* Wed Jun 22 2011 Jan Vcelak <jvcelak@redhat.com> 0.1.3-9
8b47af
- resolve multilib conflict in 'libusb-config' script
8b47af
8b47af
* Tue Jun 21 2011 Jan Vcelak <jvcelak@redhat.com> 0.1.3-8
8b47af
- add libusb-config into -devel subpackage (#713483)
8b47af
8b47af
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.1.3-7
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8b47af
8b47af
* Wed Jan 26 2011 Jan Vcelak <jvcelak@redhat.com> 1:0.1.3-6
8b47af
- pkg-config file has to be in /usr/lib/pkgconfig
8b47af
8b47af
* Tue Jan 25 2011 Jan Vcelak <jvcelak@redhat.com> 1:0.1.3-5
8b47af
- move libraries from /usr/lib to /lib (#519716)
8b47af
8b47af
* Wed Sep 29 2010 jkeating - 1:0.1.3-4
8b47af
- Rebuilt for gcc bug 634757
8b47af
8b47af
* Tue Sep 14 2010 Jan Vcelak <jvcelak@redhat.com> 0.1.3-3
8b47af
- add USB access error logging (#628356)
8b47af
- update README
8b47af
8b47af
* Sat Aug 28 2010 Rex Dieter <rdieter@fedoraproject.org> 1:0.1.3-2
8b47af
- fix epoch-related bustage
8b47af
8b47af
* Fri Aug 27 2010 Jan Vcelak <jvcelak@redhat.com> 0.1.3-1
8b47af
- legacy libusb-0.1 replaced with libusb-compat
8b47af
8b47af
* Wed Jun 23 2010 Jan Vcelak <jvcelak@redhat.com> 0.1.12-23
8b47af
- fixes invalid read causing segfault (#565904)
8b47af
8b47af
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.12-22
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8b47af
8b47af
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.12-21
8b47af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8b47af
8b47af
* Tue Oct 21 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-20
8b47af
- remove ExcludeArch: s390 s390x, libusb works fine there (#467768)
8b47af
8b47af
* Tue Oct 14 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-19
8b47af
- don't apply the concurrency timeout handling patch, it breaks
8b47af
  pilot-link (#456811)
8b47af
8b47af
* Mon Oct  6 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-18
8b47af
- fix multiarch conflict in libusb-devel (#465209)
8b47af
8b47af
* Sat Aug  2 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-17
8b47af
- apply patch from Graeme Gill to fix concurrency timeout
8b47af
  handling (#456811)
8b47af
8b47af
* Fri Apr 18 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-16
8b47af
- rebuild to fix broken ppc build
8b47af
8b47af
* Tue Feb 26 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-15
8b47af
- don't apply wakeups patch until it's fixed, it causes problems
8b47af
  with Eye-One Pro (#434950)
8b47af
8b47af
* Mon Feb 25 2008 Jindrich Novy <jnovy@redhat.com> 0.1.12-14
8b47af
- manual rebuild because of gcc-4.3 (#434189)
8b47af
8b47af
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.12-13
8b47af
- Autorebuild for GCC 4.3
8b47af
8b47af
* Tue Dec  4 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-12
8b47af
- remove unnecessary 1ms wakeups while USB transfers are in progress,
8b47af
  thanks to Scott Lamb (#408131)
8b47af
8b47af
* Tue Nov  6 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-11
8b47af
- fix multilib conflict in manual.ps (#342461)
8b47af
- drop useless BR: gawk
8b47af
8b47af
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-10
8b47af
- optimize usb_find_devices() and use openat() instead of open()
8b47af
 (#273901), thanks to Ulrich Drepper
8b47af
- BR gawk
8b47af
8b47af
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-9
8b47af
- update License
8b47af
- rebuild for BuildID
8b47af
8b47af
* Wed Aug  1 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-8
8b47af
- don't use uninitialized buffers on stack (#250274)
8b47af
8b47af
* Thu Feb 08 2007 Jindrich Novy <jnovy@redhat.com> 0.1.12-7
8b47af
- merge review spec fixes (#226053)
8b47af
- create -static subpackage to ship static libs separately
8b47af
- don't use auto* stuff, drop automake, libtool deps
8b47af
- BuildRequire openjade, fix Requires
8b47af
8b47af
* Tue Dec 12 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-6
8b47af
- fix BuildRoot, add dist tag, rpmlint warnfixes
8b47af
8b47af
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.12-5.1
8b47af
- rebuild
8b47af
8b47af
* Thu Jun 08 2006 Jesse Keating <jkeating@redhat.com> 0.1.12-5
8b47af
- Add missing BR automake, libtool.
8b47af
- Add missing Requires in -devel on pkgconfig
8b47af
8b47af
* Thu Jun  1 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-4
8b47af
- remove .la files from libusb-devel (#172643)
8b47af
8b47af
* Tue May 30 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-3
8b47af
- use pkg-config calls in libusb-config instead of hardcoded
8b47af
  defaults to avoid multiarch conflicts (#192714)
8b47af
8b47af
* Fri May  5 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-2
8b47af
- add docbook-utils-pdf BuildRequires (#191744)
8b47af
8b47af
* Mon Mar  6 2006 Jindrich Novy <jnovy@redhat.com> 0.1.12-1
8b47af
- update to 0.1.12
8b47af
- drop .format, .searchorder patches, applied upstream
8b47af
8b47af
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.1.11-2.2
8b47af
- bump again for double-long bug on ppc(64)
8b47af
8b47af
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.1.11-2.1
8b47af
- rebuilt for new gcc4.1 snapshot and glibc changes
8b47af
8b47af
* Fri Jan 27 2006 Jindrich Novy <jnovy@redhat.com> 0.1.11-2
8b47af
- change device search order, /dev/bus/usb is tried first,
8b47af
  then /proc/bus/usb, and never try /sys/bus/usb (#178994)
8b47af
8b47af
* Fri Jan 20 2006 Jindrich Novy <jnovy@redhat.com> 0.1.11-1
8b47af
- 0.1.11
8b47af
- require pkgconfig, package libusb.pc
8b47af
- fix printf format in linux.c so that libusb can be built with -Werror (default)
8b47af
8b47af
* Mon Dec 19 2005 Tim Waugh <twaugh@redhat.com> 0.1.10a-3
8b47af
- Rebuild.
8b47af
8b47af
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
8b47af
- rebuilt for new gcj
8b47af
8b47af
* Mon Nov 21 2005 Tim Waugh <twaugh@redhat.com> 0.1.10a-2
8b47af
- Build does not require xorg-x11-devel.  Fixes rebuild problem (no more
8b47af
  xorg-x11-devel package).
8b47af
8b47af
* Wed Mar  9 2005 Tim Waugh <twaugh@redhat.com> 0.1.10a-1
8b47af
- 0.1.10a.
8b47af
8b47af
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 0.1.10-2
8b47af
- Rebuild for new GCC.
8b47af
8b47af
* Fri Feb 11 2005 Tim Waugh <twaugh@redhat.com> 0.1.10-1
8b47af
- 0.1.10.
8b47af
8b47af
* Tue Feb  1 2005 Tim Waugh <twaugh@redhat.com> 0.1.9-1
8b47af
- Build requires xorg-x11-devel.
8b47af
- 0.1.9.
8b47af
8b47af
* Sat Jan 08 2005 Florian La Roche <laroche@redhat.com>
8b47af
- rebuilt to get rid of legacy selinux filecontexts
8b47af
8b47af
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
8b47af
- rebuilt
8b47af
8b47af
* Tue May 25 2004 Tim Waugh <twaugh@redhat.com> 0.1.8-3
8b47af
- Run aclocal/autoconf to make shared libraries work again.
8b47af
8b47af
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
8b47af
- rebuilt
8b47af
8b47af
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
8b47af
- rebuilt
8b47af
8b47af
* Wed Feb 11 2004 Tim Waugh <twaugh@redhat.com> 0.1.8-1
8b47af
- 0.1.8.
8b47af
8b47af
* Tue Jun 17 2003 Tim Waugh <twaugh@redhat.com> 0.1.7-3
8b47af
- Fixed spec file.
8b47af
8b47af
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
8b47af
- rebuilt
8b47af
8b47af
* Wed Mar 19 2003 Tim Waugh <twaugh@redhat.com>
8b47af
- Use the CFLAGS from the environment.
8b47af
8b47af
* Wed Mar 19 2003 Tim Waugh <twaugh@redhat.com> 0.1.7-1
8b47af
- 0.1.7.
8b47af
8b47af
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
8b47af
- rebuilt
8b47af
8b47af
* Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
8b47af
- exclude mainframe
8b47af
8b47af
* Tue Jun 25 2002 Tim Waugh <twaugh@redhat.com> 0.1.6-1
8b47af
- 0.1.6.
8b47af
8b47af
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.1.5-6
8b47af
- automated rebuild
8b47af
8b47af
* Fri Jun 21 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-5
8b47af
- Rebuild to fix broken deps.
8b47af
8b47af
* Thu May 23 2002 Tim Powers <timp@redhat.com> 0.1.5-4
8b47af
- automated rebuild
8b47af
8b47af
* Thu Apr 11 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-3
8b47af
- Rebuild (fixes bug #63196).
8b47af
8b47af
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-2
8b47af
- Rebuild in new environment.
8b47af
8b47af
* Thu Feb  7 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-1
8b47af
- 0.1.5.
8b47af
8b47af
* Fri Jan 25 2002 Tim Waugh <twaugh@redhat.com> 0.1.4-2
8b47af
- Rebuild in new environment.
8b47af
- Work around tarball brokenness (doc directory was not automade).
8b47af
8b47af
* Mon Oct 29 2001 Tim Waugh <twaugh@redhat.com> 0.1.4-1
8b47af
- Adapted for Red Hat Linux.
8b47af
- 0.1.4.
8b47af
8b47af
* Thu Mar  1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.1.3b-1mdk
8b47af
- Initial Mandrake release