SPECS: libcddb.spec - added bcond_without static - BR: libcdio >= ...
witekfl
witekfl at pld-linux.org
Wed Jun 15 18:51:37 CEST 2005
Author: witekfl Date: Wed Jun 15 16:51:37 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static
- BR: libcdio >= 0.74 because build failed with 0.67
---- Files affected:
SPECS:
libcddb.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/libcddb.spec
diff -u SPECS/libcddb.spec:1.9 SPECS/libcddb.spec:1.10
--- SPECS/libcddb.spec:1.9 Sat May 21 09:42:28 2005
+++ SPECS/libcddb.spec Wed Jun 15 18:51:32 2005
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%bcond_without static # don't build static library
Summary: Library to access data on a CDDB server
Summary(pl): Biblioteka dostępu do danych na serwerze CDDB
Name: libcddb
@@ -9,10 +10,12 @@
Source0: http://dl.sourceforge.net/libcddb/%{name}-%{version}.tar.gz
# Source0-md5: a8f8549cc1afb3bc702a96c7d71d2241
URL: http://libcddb.sourceforge.net/
+BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: libcdio-devel >= 0.67
+BuildRequires: libcdio-devel >= 0.74
+BuildRequires: libtool
BuildRequires: pkgconfig
-Requires: libcdio >= 0.67
+Requires: libcdio >= 0.74
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -53,8 +56,12 @@
%setup -q
%build
-cp -f /usr/share/automake/config.sub .
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ %{!?with_static:--disable-static}
%{__make}
%install
@@ -82,9 +89,11 @@
%{_includedir}/cddb
%{_pkgconfigdir}/*.pc
+%if %{with static}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -92,6 +101,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2005/06/15 16:51:32 witekfl
+- added bcond_without static
+- BR: libcdio >= 0.74 because build failed with 0.67
+
Revision 1.9 2005/05/21 07:42:28 qboosh
- updated to 1.0.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libcddb.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list