[packages/libusb] - merged changes from libusbx.spec; Obsoletes: libusbx-*
qboosh
qboosh at pld-linux.org
Sat Feb 1 21:05:45 CET 2014
commit 4453ad9c1e80a00cdeeebcbaa2a5b02590f39d38
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 1 21:07:22 2014 +0100
- merged changes from libusbx.spec; Obsoletes: libusbx-*
libusb.spec | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/libusb.spec b/libusb.spec
index 08bbdcd..4f78a9c 100644
--- a/libusb.spec
+++ b/libusb.spec
@@ -1,7 +1,9 @@
#
# Conditional build:
-%bcond_without doc # don't build documentation
-%bcond_with tests # perform "make check"
+%bcond_without doc # don't build documentation
+%bcond_with tests # perform "make check"
+%bcond_without static_libs # static library
+%bcond_without udev # udev for device enumeration and hotplug support
Summary: Application access to USB devices
Summary(es.UTF-8): libusb - Biblioteca USB
@@ -17,14 +19,17 @@ Source0: http://downloads.sourceforge.net/libusb/%{name}-%{version}.tar.bz2
URL: http://libusb.info/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.6
+BuildRequires: glibc-devel >= 6:2.9
+BuildRequires: libtool >= 2:2
+%{?with_udev:BuildRequires: udev-devel}
%if %{with doc}
BuildRequires: docbook-dtd41-sgml
BuildRequires: docbook-style-dsssl
BuildRequires: doxygen
BuildRequires: openjade
%endif
-BuildRequires: libtool >= 2:1.5
Obsoletes: libusb0.1
+Obsoletes: libusbx < 1.0.18
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -46,7 +51,9 @@ Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libusb
Summary(pt_BR.UTF-8): Arquivos de desenvolvimento da libusb
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+%{?with_udev:Requires: udev-devel}
Obsoletes: libusb0.1-devel
+Obsoletes: libusbx-devel < 1.0.18
%description devel
This package contains header files and other resources you can use to
@@ -69,6 +76,7 @@ Summary(pl.UTF-8): Statyczne biblioteki do obsługi USB
Summary(pt_BR.UTF-8): Arquivos de desenvolvimento da libusb - biblioteca estática
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
+Obsoletes: libusbx-static < 1.0.18
%description static
This is package with static libusb libraries.
@@ -92,7 +100,9 @@ Bibliotecas de desenvolvimento para libusb - estático.
%{__autoheader}
%{__automake}
%configure \
- --disable-silent-rules
+ --disable-silent-rules \
+ %{!?with_static_libs:--disable-static} \
+ %{!?with_udev:--disable-udev}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libusb.git/commitdiff/4453ad9c1e80a00cdeeebcbaa2a5b02590f39d38
More information about the pld-cvs-commit
mailing list