Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
libusb-compat
libusb-compat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libusb-compat.spec of Package libusb-compat
# # spec file for package libusb-compat (Version 0.99.9.2) # # Copyright (c) 2008 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-compat Url: http://libusb.sourceforge.net/Libusb1.0 License: BSD 3-Clause; LGPL v2.1 or later Group: System/Libraries Summary: libusb-1.0 Compatibility Layer for libusb-0.1 Version: 0.99.9.2 Release: 7 %define _version 0.1.0-beta2 Source: %{name}-%{_version}.tar.bz2 Patch: libusb-compat-libusb0-incompat.patch BuildRequires: libusb-1_0-devel pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libusb-0_1-5 = %{version}-%{release} %description A compatibility layer allowing applications written for libusb-0.1 to work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell and walk like libusb-0.1. Authors: -------- Daniel Drake <dsd@gentoo.org> %package -n libusb-0_1-5 License: BSD 3-Clause; LGPL v2.1 or later Group: System/Libraries Summary: libusb-1.0 Compatibility Library for libusb-0.1 # Special symbol for packages, that use libusb-0.1 API, but use libusb-1.0 features: Provides: libusb-1_0-features-in-0_1-api # Once in future, this may be used (after removing of ): #Provides: libusb = 0.1.13 #Obsoletes: libusb < 0.1.13 %description -n libusb-0_1-5 A compatibility layer allowing applications written for libusb-0.1 to work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell and walk like libusb-0.1. Authors: -------- Daniel Drake <dsd@gentoo.org> %package devel License: BSD 3-Clause; LGPL v2.1 or later Group: Development/Libraries/C and C++ Summary: libusb-1.0 Compatibility Layer for libusb-0.1 Requires: libusb-0_1-5 = %{version} libusb-1_0-features-in-0_1-api libusb-1_0-devel glibc-devel # Once in future, this may be used: #Provides: libusb-devel = 0.1.13 #Obsoletes: libusb-devel < 0.1.13 Conflicts: libusb-devel < 0.1.13 %description devel A compatibility layer allowing applications written for libusb-0.1 to work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell and walk like libusb-0.1. Authors: -------- Daniel Drake <dsd@gentoo.org> %prep %setup -q -n %{name}-%{_version} %patch %build autoreconf -f -i %configure\ --disable-static make %{?jobs:-j%jobs} %install %makeinstall rm $RPM_BUILD_ROOT%{_libdir}/*.la %post -n libusb-0_1-5 -p /sbin/ldconfig %postun -n libusb-0_1-5 -p /sbin/ldconfig %files -n libusb-0_1-5 %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog LICENSE NEWS README %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_bindir}/*-config %{_includedir}/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Wed Nov 12 2008 sbrabec@suse.cz - Changed library soname to libusb-0.1 incompatible libusb-0.1.so.5 allowing to install both in paralel. (bnc#443861, works around also bnc#432129 and bnc#439574) - Confllict with libusb-devel instead of obsoleting it. * Wed Oct 22 2008 sbrabec@suse.cz - Properly obsolete old implementation of the library (bnc#437768). * Wed Oct 08 2008 meissner@suse.de - handle case where usb_init() failed (ctx NULL), so we do not crash. bnc#432129 - added more NULL ptr checks, where older libusb were more graceful and did not crash. bnc#432129 * Mon Oct 06 2008 sbrabec@suse.cz - Added baselibs.conf (bnc#432304). * Thu Sep 25 2008 ro@suse.de - fix debug package requires * Wed Sep 10 2008 sbrabec@suse.cz - New package providing compatibility layer for libusb.
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