559ffc2
Summary: A library which allows userspace access to USB devices
cvsdist 8411336
Name: libusb
17a136f
Version: 0.1.12
5e8ac83
Release: 11%{?dist}
cvsdist 8411336
Source0: http://prdownloads.sourceforge.net/libusb/%{name}-%{version}.tar.gz
cc895d7
Patch0: libusb-0.1.12-libusbconfig.patch
5682b47
Patch1: libusb-0.1.12-memset.patch
e858312
Patch2: libusb-0.1.12-openat.patch
737a86e
License: LGPLv2+
cvsdist 8411336
Group: System Environment/Libraries
559ffc2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 8411336
URL: http://sourceforge.net/projects/libusb/
9a59116
BuildRequires: docbook-utils, pkgconfig
58b42a3
BuildRequires: docbook-dtds >= 1.0-5, docbook-utils-pdf
5e8ac83
BuildRequires: openjade autoconf
cvsdist 3f6b9f9
ExcludeArch: s390 s390x
cvsdist 8411336
cvsdist 8411336
%description
cvsdist 8411336
This package provides a way for applications to access USB devices.
cvsdist 8411336
cvsdist 8411336
%package devel
559ffc2
Summary: Development files for libusb
cvsdist 8411336
Group: Development/Libraries
bb251f8
Requires: %{name} = %{version}-%{release}
75d390e
Requires: pkgconfig
cvsdist 8411336
cvsdist 8411336
%description devel
bb251f8
This package contains the header files, libraries  and documentation needed to
cvsdist 8411336
develop applications that use libusb.
cvsdist 8411336
bb251f8
%package static
bb251f8
Summary: Static development files for libusb
bb251f8
Group: Development/Libraries
bb251f8
Requires: %{name}-devel = %{version}-%{release}
bb251f8
bb251f8
%description static
bb251f8
This package contains static libraries to develop applications that use libusb.
bb251f8
cvsdist 8411336
%prep
cvsdist 8411336
%setup -q
cc895d7
%patch0 -p1 -b .libusbconfig
5682b47
%patch1 -p1 -b .memset
e858312
%patch2 -p1 -b .openat
52ff684
cvsdist 8411336
%build
e858312
autoconf
cvsdist 8411336
%configure
bb251f8
make CFLAGS="$RPM_OPT_FLAGS"
cvsdist a089020
pushd doc
cvsdist a089020
docbook2ps manual.sgml
5e8ac83
sed -ie '/DVIPSSource:/d' manual.ps
cvsdist a089020
popd
cvsdist 8411336
cvsdist 8411336
%install
cvsdist 8411336
rm -rf $RPM_BUILD_ROOT
bb251f8
make install DESTDIR=$RPM_BUILD_ROOT
359e72d
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
cvsdist 8411336
cvsdist 8411336
%clean
cvsdist 8411336
rm -rf $RPM_BUILD_ROOT
cvsdist 8411336
cvsdist 8411336
%post -p /sbin/ldconfig
cvsdist 8411336
%postun -p /sbin/ldconfig
cvsdist 8411336
cvsdist 8411336
cvsdist 8411336
%files
cvsdist 8411336
%defattr(-,root,root)
cvsdist 8411336
%{_libdir}/*.so.*
cvsdist 8411336
cvsdist 8411336
%files devel
cvsdist 8411336
%defattr(-,root,root)
cvsdist 8411336
%doc AUTHORS README INSTALL.libusb NEWS ChangeLog doc/manual.ps doc/html
cvsdist 8411336
%{_bindir}/libusb-config
9a59116
%{_libdir}/pkgconfig/libusb.pc
cvsdist 8411336
%{_includedir}/*
cvsdist 8411336
%{_libdir}/*.so
bb251f8
bb251f8
%files static
bb251f8
%defattr(-,root,root)
cvsdist 8411336
%{_libdir}/*.a
cvsdist 8411336
cvsdist 8411336
%changelog
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
bb251f8
* Tue 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
75d390e
* Fri 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
cc895d7
* Wed 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