Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
hardware:libusb0
libusb
libusb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libusb.spec of Package libusb
# # spec file for package libusb (Version 0.1.12) # # Copyright (c) 2009 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 BuildRequires: gcc-c++ pkg-config BuildRequires: docbook-dsssl-stylesheets doxygen graphviz jade libtool Url: http://libusb.sourceforge.net/ License: LGPL v2.1 or later Group: System/Libraries Summary: USB Libraries Version: 0.1.12 Release: 139 Source: %{name}-%{version}.tar.bz2 Patch: libusb-autoreconf.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libusb-0_1-4 = %{version}-%{release} %description Libusb is a library that allows userspace access to USB devices. Authors: -------- Johannes Erdfelt <johannes@erdfelt.com> Thomas Sailer <sailer@ife.ee.ethz.ch> Brad Hards <bradh@frogmouth.net> - C++ bindings. %package -n libusb-0_1-4 License: LGPL v2.1 or later Group: System/Libraries Summary: USB Libraries # bug437293 %ifarch ppc64 Obsoletes: libusb-64bit %endif # # For upgrade from <= openSUSE 11.0 and <= SLE10: Provides: libusb:%{_libdir}/libusb-0.1.so.4 # This symbol is required by several third party packages: Provides: libusb = %{version} %description -n libusb-0_1-4 Libusb is a library that allows userspace access to USB devices. Authors: -------- Johannes Erdfelt <johannes@erdfelt.com> Thomas Sailer <sailer@ife.ee.ethz.ch> Brad Hards <bradh@frogmouth.net> - C++ bindings. %package -n libusbpp-0_1-4 License: LGPL v2.1 or later Group: System/Libraries Summary: USB Libraries # For upgrade from <= openSUSE 11.0 and <= SLE10: Provides: libusb:%{_libdir}/libusbpp-0.1.so.4 %description -n libusbpp-0_1-4 Libusb is a library that allows userspace access to USB devices. Authors: -------- Johannes Erdfelt <johannes@erdfelt.com> Thomas Sailer <sailer@ife.ee.ethz.ch> Brad Hards <bradh@frogmouth.net> - C++ bindings. %package devel License: LGPL v2.1 or later Group: Development/Libraries/C and C++ Summary: USB Libraries Requires: libusb-0_1-4 = %{version} Requires: libusbpp-0_1-4 = %{version} Requires: libstdc++-devel Conflicts: libusb-compat-devel %description devel Libusb is a library that allows userspace access to USB devices. Authors: -------- Johannes Erdfelt <johannes@erdfelt.com> Thomas Sailer <sailer@ife.ee.ethz.ch> Brad Hards <bradh@frogmouth.net> - C++ bindings. %prep %setup -q %patch %build autoreconf -f -i %if %(gcc --version | sed -n 's/^gcc[^0-9]*\([0-9]*\)\..*$/\1/p') >= 7 export CFLAGS="$CFLAGS -Wformat-truncation=0" %endif %configure --disable-static --with-pic make %{?jobs:-j%jobs} %install %makeinstall rm $RPM_BUILD_ROOT%{_libdir}/*.la %post -n libusb-0_1-4 -p /sbin/ldconfig %postun -n libusb-0_1-4 -p /sbin/ldconfig %post -n libusbpp-0_1-4 -p /sbin/ldconfig %postun -n libusbpp-0_1-4 -p /sbin/ldconfig %files -n libusb-0_1-4 %defattr(-,root,root) # Nothing useful in NEWS %doc AUTHORS COPYING LICENSE README %{_libdir}/libusb-*.so.* %files -n libusbpp-0_1-4 %defattr(-,root,root) %{_libdir}/libusbpp-*.so.* %files devel %defattr(-,root,root) %doc doc/html/* %{_bindir}/libusb-config %{_includedir}/*.h %{_libdir}/libusb*.so %{_libdir}/pkgconfig/libusb.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor