SPECS: speex.spec - updated to 1.2beta1 - without static_libs bcond
charles
charles at pld-linux.org
Wed Sep 6 12:08:25 CEST 2006
Author: charles Date: Wed Sep 6 10:08:25 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 1.2beta1
- without static_libs bcond
---- Files affected:
SPECS:
speex.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SPECS/speex.spec
diff -u SPECS/speex.spec:1.29 SPECS/speex.spec:1.30
--- SPECS/speex.spec:1.29 Sun Feb 19 15:21:00 2006
+++ SPECS/speex.spec Wed Sep 6 12:08:20 2006
@@ -1,14 +1,19 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
+%define _rc beta1
Summary: An open-source, patent-free speech codec
Summary(pl): Otwarty kodek mowy, wolny od patentów
Name: speex
-Version: 1.1.12
-Release: 1
+Version: 1.2
+Release: %{_rc}.1
Epoch: 1
License: BSD
Group: Libraries
-Source0: http://downloads.xiph.org/releases/speex/%{name}-%{version}.tar.gz
-# Source0-md5: 1bd6cdf3a0ebabf818cd72a3401e2610
+Source0: http://downloads.xiph.org/releases/speex/%{name}-%{version}%{_rc}.tar.gz
+# Source0-md5: aac2e4ba42122b885c787ea280acb3d9
URL: http://www.speex.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -73,7 +78,7 @@
przy użyciu kodeka Speex).
%prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_rc}
%build
%{__libtoolize}
@@ -81,8 +86,8 @@
%{__autoconf}
%{__automake}
%configure \
- --enable-shared \
- --with-ogg-libraries=%{_libdir}
+ --with-ogg-libraries=%{_libdir} \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -112,9 +117,11 @@
%{_aclocaldir}/speex.m4
%{_pkgconfigdir}/speex.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%files progs
%defattr(644,root,root,755)
@@ -127,6 +134,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2006/09/06 10:08:20 charles
+- updated to 1.2beta1
+- without static_libs bcond
+
Revision 1.29 2006/02/19 14:21:00 qboosh
- updated to 1.1.12
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/speex.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list