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