- put all doxygen and other docs to separate noarch subpackage to avoid
multiarch conflicts (#507980)
This commit is contained in:
parent
90e910a84c
commit
65c7655819
26
libusb1.spec
26
libusb1.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A library which allows userspace access to USB devices
|
Summary: A library which allows userspace access to USB devices
|
||||||
Name: libusb1
|
Name: libusb1
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -18,11 +18,22 @@ this library is not compatible with the original libusb-0.1 series.
|
|||||||
Summary: Development files for libusb
|
Summary: Development files for libusb
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: %{name}-devel-doc = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files, libraries and documentation needed to
|
This package contains the header files and libraries needed to develop
|
||||||
develop applications that use libusb1.
|
applications that use libusb1.
|
||||||
|
|
||||||
|
%package devel-doc
|
||||||
|
Summary: Development files for libusb
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}-devel = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description devel-doc
|
||||||
|
This package contains documentation needed to develop applications that
|
||||||
|
use libusb1.
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
Summary: Static development files for libusb
|
Summary: Static development files for libusb
|
||||||
@ -61,16 +72,23 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/html examples/*.c
|
|
||||||
%{_libdir}/pkgconfig/libusb-1.0.pc
|
%{_libdir}/pkgconfig/libusb-1.0.pc
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
%files devel-doc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc doc/html examples/*.c
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 22 2010 Jindrich Novy <jnovy@redhat.com> 1.0.6-2
|
||||||
|
- put all doxygen and other docs to separate noarch subpackage to avoid
|
||||||
|
multiarch conflicts (#507980)
|
||||||
|
|
||||||
* Wed Dec 02 2009 Jindrich Novy <jnovy@redhat.com> 1.0.6-1
|
* Wed Dec 02 2009 Jindrich Novy <jnovy@redhat.com> 1.0.6-1
|
||||||
- update to 1.0.6
|
- update to 1.0.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user