|
|
9a5556 |
Summary: Library for accessing USB devices
|
|
|
9a5556 |
Name: libusbx
|
|
|
9a5556 |
Version: 1.0.15
|
|
|
9a5556 |
Release: 2%{?dist}
|
|
|
9a5556 |
Source0: http://downloads.sourceforge.net/libusbx/libusbx-%{version}.tar.bz2
|
|
|
9a5556 |
Patch1: 0001-linux_usbfs-Work-around-a-driver-binding-race-in-res.patch
|
|
|
9a5556 |
License: LGPLv2+
|
|
|
9a5556 |
Group: System Environment/Libraries
|
|
|
9a5556 |
URL: http://sourceforge.net/apps/mediawiki/libusbx/
|
|
|
9a5556 |
BuildRequires: doxygen
|
|
|
9a5556 |
Provides: libusb1 = %{version}-%{release}
|
|
|
9a5556 |
Obsoletes: libusb1 <= 1.0.9
|
|
|
9a5556 |
|
|
|
9a5556 |
%description
|
|
|
9a5556 |
This package provides a way for applications to access USB devices.
|
|
|
9a5556 |
|
|
|
9a5556 |
Libusbx is a fork of the original libusb, which is a fully API and ABI
|
|
|
9a5556 |
compatible drop in for the libusb-1.0.9 release. The libusbx fork was
|
|
|
9a5556 |
started by most of the libusb-1.0 developers, after the original libusb
|
|
|
9a5556 |
project did not produce a new release for over 18 months.
|
|
|
9a5556 |
|
|
|
9a5556 |
Note that this library is not compatible with the original libusb-0.1 series,
|
|
|
9a5556 |
if you need libusb-0.1 compatibility install the libusb package.
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%package devel
|
|
|
9a5556 |
Summary: Development files for %{name}
|
|
|
9a5556 |
Group: Development/Libraries
|
|
|
9a5556 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
9a5556 |
Provides: libusb1-devel = %{version}-%{release}
|
|
|
9a5556 |
Obsoletes: libusb1-devel <= 1.0.9
|
|
|
9a5556 |
|
|
|
9a5556 |
%description devel
|
|
|
9a5556 |
The %{name}-devel package contains libraries and header files for
|
|
|
9a5556 |
developing applications that use %{name}.
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%package devel-doc
|
|
|
9a5556 |
Summary: Development files for %{name}
|
|
|
9a5556 |
Group: Development/Libraries
|
|
|
9a5556 |
Provides: libusb1-devel-doc = %{version}-%{release}
|
|
|
9a5556 |
Obsoletes: libusb1-devel-doc <= 1.0.9
|
|
|
9a5556 |
BuildArch: noarch
|
|
|
9a5556 |
|
|
|
9a5556 |
%description devel-doc
|
|
|
9a5556 |
This package contains API documentation for %{name}.
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%prep
|
|
|
9a5556 |
%setup -q
|
|
|
9a5556 |
%patch1 -p1
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%build
|
|
|
9a5556 |
%configure --disable-static --enable-examples-build
|
|
|
9a5556 |
make %{?_smp_mflags}
|
|
|
9a5556 |
pushd doc
|
|
|
9a5556 |
make docs
|
|
|
9a5556 |
popd
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%install
|
|
|
9a5556 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
9a5556 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%post -p /sbin/ldconfig
|
|
|
9a5556 |
%postun -p /sbin/ldconfig
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%files
|
|
|
9a5556 |
%doc AUTHORS COPYING README ChangeLog
|
|
|
9a5556 |
%{_libdir}/*.so.*
|
|
|
9a5556 |
|
|
|
9a5556 |
%files devel
|
|
|
9a5556 |
%{_includedir}/libusb-1.0
|
|
|
9a5556 |
%{_libdir}/*.so
|
|
|
9a5556 |
%{_libdir}/pkgconfig/libusb-1.0.pc
|
|
|
9a5556 |
|
|
|
9a5556 |
%files devel-doc
|
|
|
9a5556 |
%doc doc/html examples/*.c
|
|
|
9a5556 |
|
|
|
9a5556 |
|
|
|
9a5556 |
%changelog
|
|
|
9a5556 |
* Fri Apr 19 2013 Hans de Goede <hdegoede@redhat.com> - 1.0.15-2
|
|
|
9a5556 |
- Replace tarbal with upstream re-spun tarbal which fixes line-ending and
|
|
|
9a5556 |
permission issues
|
|
|
9a5556 |
|
|
|
9a5556 |
* Wed Apr 17 2013 Hans de Goede <hdegoede@redhat.com> - 1.0.15-1
|
|
|
9a5556 |
- Upgrade to 1.0.15 (rhbz#952575)
|
|
|
9a5556 |
|
|
|
9a5556 |
* Tue Apr 2 2013 Hans de Goede <hdegoede@redhat.com> - 1.0.14-3
|
|
|
9a5556 |
- Drop devel-doc Requires from the devel package (rhbz#947297)
|
|
|
9a5556 |
|
|
|
9a5556 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-2
|
|
|
9a5556 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9a5556 |
|
|
|
9a5556 |
* Wed Sep 26 2012 Hans de Goede <hdegoede@redhat.com> - 1.0.14-1
|
|
|
9a5556 |
- Upgrade to 1.0.14
|
|
|
9a5556 |
|
|
|
9a5556 |
* Mon Sep 24 2012 Hans de Goede <hdegoede@redhat.com> - 1.0.13-1
|
|
|
9a5556 |
- Upgrade to 1.0.13
|
|
|
9a5556 |
|
|
|
9a5556 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-3
|
|
|
9a5556 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9a5556 |
|
|
|
9a5556 |
* Wed May 23 2012 Hans de Goede <hdegoede@redhat.com> - 1.0.11-2
|
|
|
9a5556 |
- Fix URL to actually point to libusbx
|
|
|
9a5556 |
- Improve description to explain the relation between libusbx and libusb
|
|
|
9a5556 |
- Build the examples (to test linking, they are not packaged)
|
|
|
9a5556 |
|
|
|
9a5556 |
* Tue May 22 2012 Hans de Goede <hdegoede@redhat.com> - 1.0.11-1
|
|
|
9a5556 |
- New libusbx package, replacing libusb1
|
|
|
9a5556 |
- Switching to libusbx upstream as that actually does releases (hurray)
|
|
|
9a5556 |
- Drop all patches (all upstream)
|
|
|
9a5556 |
- Drop -static subpackage (there are no packages using it)
|