SPECS: ogmrip.spec - without static_libs bcond

charles charles at pld-linux.org
Wed Jun 4 03:20:18 CEST 2008


Author: charles                      Date: Wed Jun  4 01:20:17 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond

---- Files affected:
SPECS:
   ogmrip.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/ogmrip.spec
diff -u SPECS/ogmrip.spec:1.15 SPECS/ogmrip.spec:1.16
--- SPECS/ogmrip.spec:1.15	Wed Jun  4 01:24:54 2008
+++ SPECS/ogmrip.spec	Wed Jun  4 03:20:12 2008
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	matroska	# don't build with matroska support
+%bcond_without	static_libs	# don't build static library
 #
 Summary:	Ripping and encoding DVD into AVI/OGM files
 Summary(pl.UTF-8):	Zgrywanie i kodowanie DVD do plików AVI/OGM
@@ -130,6 +131,7 @@
 	OGMMERGE_PROG=/usr/bin/ogmmerge \
 	OGMSPLIT_PROG=/usr/bin/ogmsplit \
 	--disable-schemas-install \
+	%{!?with_static_libs:--disable-static}
 	--with-html-dir=%{_gtkdocdir} \
 	--with-mplayer-version=1.0rc1
 %{__make}
@@ -225,6 +227,7 @@
 %{_gtkdocdir}/ogmrip
 %{_gtkdocdir}/ogmrip-gtk
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libogmdvd.a
@@ -233,6 +236,7 @@
 %{_libdir}/libogmrip.a
 %{_libdir}/libogmrip-gtk.a
 %{_libdir}/libogmrip-mplayer.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -240,6 +244,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2008-06-04 01:20:12  charles
+- without static_libs bcond
+
 Revision 1.15  2008-06-03 23:24:54  charles
 - added URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ogmrip.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list