SPECS: libsndfile.spec - added tests bcond (default on) - BR: libs...
charles
charles at pld-linux.org
Sat Jan 27 02:06:23 CET 2007
Author: charles Date: Sat Jan 27 01:06:23 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added tests bcond (default on)
- BR: libstdc++-devel (for tests)
---- Files affected:
SPECS:
libsndfile.spec (1.54 -> 1.55)
---- Diffs:
================================================================
Index: SPECS/libsndfile.spec
diff -u SPECS/libsndfile.spec:1.54 SPECS/libsndfile.spec:1.55
--- SPECS/libsndfile.spec:1.54 Sun Dec 24 20:50:37 2006
+++ SPECS/libsndfile.spec Sat Jan 27 02:06:17 2007
@@ -3,6 +3,7 @@
# Conditional build:
%bcond_without sqlite # disable use of sqlite
%bcond_without static_libs # don't build static library
+%bcond_without tests # don't build tests
#
Summary: C library for reading and writing files containing sampled sound
Summary(pl): Biblioteka obsługi plików dźwiękowych
@@ -20,8 +21,10 @@
BuildRequires: autoconf >= 2.54
BuildRequires: automake
BuildRequires: flac-devel >= 1.1.3
+%{?with_tests:BuildRequires: libstdc++-devel}
BuildRequires: libtool
BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
%{?with_sqlite:BuildRequires: sqlite3-devel}
Obsoletes: libsndfile1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -82,6 +85,10 @@
%setup -q
%patch0 -p1
+%if %{without tests}
+%{__sed} -i 's, tests$,,' Makefile.am
+%endif
+
%build
%{__libtoolize}
%{__aclocal}
@@ -138,6 +145,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.55 2007/01/27 01:06:17 charles
+- added tests bcond (default on)
+- BR: libstdc++-devel (for tests)
+
Revision 1.54 2006/12/24 19:50:37 qboosh
- added flac patch to build with flac 1.1.3
- more verbose files, release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libsndfile.spec?r1=1.54&r2=1.55&f=u
More information about the pld-cvs-commit
mailing list