SPECS: libmpcdec.spec - added bcond_without static_libs - BR: sed ...
charles
charles at pld-linux.org
Sat Nov 26 01:41:57 CET 2005
Author: charles Date: Sat Nov 26 00:41:57 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
- BR: sed >= 4.0
---- Files affected:
SPECS:
libmpcdec.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/libmpcdec.spec
diff -u SPECS/libmpcdec.spec:1.6 SPECS/libmpcdec.spec:1.7
--- SPECS/libmpcdec.spec:1.6 Sun Nov 6 20:58:44 2005
+++ SPECS/libmpcdec.spec Sat Nov 26 01:41:52 2005
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Musepack decoding library
Summary(pl): Biblioteka do dekodowania formatu musepack
Name: libmpcdec
@@ -12,6 +16,7 @@
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
+BuildRequires: sed >= 4.0
Obsoletes: libmusepack
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,7 +33,7 @@
%description -l pl
Ta biblioteka obsługuje dekodowanie formatu MPC, który jest formatem
kompresji dźwięku z naciskiem na wysoką jakość. Nie jest bezstratny,
-ale jest zaprojektowany dla przezroczystości, tak, że nie można
+ale jest zaprojektowany dla przezroczystości tak, że nie można
usłyszeć różnicy między oryginalnym plikiem wave a dużo mniejszym
plikiem MPC. Jest oparty na algorytmach MPEG-1 Layer-2 / MP2, ale od
1997 roku został znacznie rozwinięty i ulepszony, a teraz jest w
@@ -82,7 +87,8 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -110,9 +116,11 @@
%{_libdir}/libmpcdec.la
%{_includedir}/mpcdec
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libmpcdec.a
+%endif
%files examples
%doc docs/html
@@ -125,6 +133,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2005/11/26 00:41:52 charles
+- added bcond_without static_libs
+- BR: sed >= 4.0
+
Revision 1.6 2005/11/06 19:58:44 blekot
- up to 1.2.2
- new source url
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libmpcdec.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list