forked from pool/libusb-1_0
a17cc03c2f
OBS-URL: https://build.opensuse.org/package/show/hardware/libusb-1_0?expand=0&rev=0013054f40e535fdebdf86212ee0d438
117 lines
2.7 KiB
RPMSpec
117 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package libusb-1_0 (Version 1.0.6)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: libusb-1_0
|
|
%define _name libusb
|
|
Url: http://libusb.wiki.sourceforge.net/Libusb1.0
|
|
License: LGPLv2.1+
|
|
Summary: USB Library
|
|
Group: System/Libraries
|
|
Version: 1.0.6
|
|
Release: 3
|
|
Source: %{_name}-%{version}.tar.bz2
|
|
Source2: baselibs.conf
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
|
|
|
|
%description
|
|
Libusb is a library that allows userspace access to USB devices.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Daniel Drake <dsd@gentoo.org>
|
|
Johannes Erdfelt <johannes@erdfelt.com>
|
|
Artem Egorkine
|
|
David Engraf
|
|
Rob Walker
|
|
Vasily Khoruzhick
|
|
|
|
%package -n libusb-1_0-0
|
|
License: LGPLv2.1+
|
|
Summary: USB Library
|
|
Group: System/Libraries
|
|
|
|
%description -n libusb-1_0-0
|
|
Libusb is a library that allows userspace access to USB devices.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Daniel Drake <dsd@gentoo.org>
|
|
Johannes Erdfelt <johannes@erdfelt.com>
|
|
Artem Egorkine
|
|
David Engraf
|
|
Rob Walker
|
|
Vasily Khoruzhick
|
|
|
|
%package devel
|
|
License: LGPLv2.1+
|
|
Summary: USB Library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libusb-1_0-0 = %{version} glibc-devel
|
|
|
|
%description devel
|
|
Libusb is a library that allows userspace access to USB devices.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Daniel Drake <dsd@gentoo.org>
|
|
Johannes Erdfelt <johannes@erdfelt.com>
|
|
Artem Egorkine
|
|
David Engraf
|
|
Rob Walker
|
|
Vasily Khoruzhick
|
|
|
|
%prep
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
%build
|
|
mkdir m4 ; autoreconf -f -i
|
|
%configure\
|
|
--disable-static
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
|
|
%post -n libusb-1_0-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libusb-1_0-0 -p /sbin/ldconfig
|
|
|
|
%files -n libusb-1_0-0
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc PORTING
|
|
%{_includedir}/libusb-1.0
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|