Blame SPECS/libusbx.spec

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