packages: librsvg/librsvg.spec - without gtk3 bcond

jajcus jajcus at pld-linux.org
Wed Apr 6 10:26:31 CEST 2011


Author: jajcus                       Date: Wed Apr  6 08:26:30 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- without gtk3 bcond

---- Files affected:
packages/librsvg:
   librsvg.spec (1.150 -> 1.151) 

---- Diffs:

================================================================
Index: packages/librsvg/librsvg.spec
diff -u packages/librsvg/librsvg.spec:1.150 packages/librsvg/librsvg.spec:1.151
--- packages/librsvg/librsvg.spec:1.150	Sun Apr  3 22:37:12 2011
+++ packages/librsvg/librsvg.spec	Wed Apr  6 10:26:25 2011
@@ -7,6 +7,7 @@
 #
 # Conditional build
 %bcond_without	apidocs		# disable gtk-doc
+%bcond_without	gtk3		# disable gtk+3
 %bcond_without	libgsf		# build without libgsf (used for run-time decompression)
 %bcond_without	libcroco	# build without CSS support through libcroco
 %bcond_without	static_libs	# don't build static library
@@ -31,7 +32,7 @@
 BuildRequires:	gdk-pixbuf2-devel >= 2.0
 BuildRequires:	glib2-devel >= 1:2.24.0
 BuildRequires:	gtk+2-devel >= 2:2.16.0
-BuildRequires:	gtk+3-devel >= 3.0.0
+%{?with_gtk3:BuildRequires:	gtk+3-devel >= 3.0.0}
 %{?with_apidocs:BuildRequires:	gtk-doc >= 1.13}
 %{?with_apidocs:BuildRequires:	gtk-doc-automake}
 %{?with_libcroco:BuildRequires:	libcroco-devel >= 0.6.1}
@@ -46,7 +47,7 @@
 Requires:	gdk-pixbuf2 >= 2.0
 Requires:	glib2 >= 1:2.24.0
 Requires:	gtk+2 >= 2:2.16.0
-Requires:	gtk+3 >= 3.0.0
+%{?with_gtk3:Requires:	gtk+3 >= 3.0.0}
 %{?with_libcroco:Requires:	libcroco >= 0.6.1}
 %{?with_libgsf:Requires:	libgsf >= 1.14.4}
 Requires:	libxml2 >= 1:2.6.31
@@ -200,7 +201,7 @@
 %doc ChangeLog AUTHORS NEWS
 %attr(755,root,root) %{_bindir}/rsvg
 %attr(755,root,root) %{_bindir}/rsvg-convert
-%attr(755,root,root) %{_bindir}/rsvg-view-3
+%{?with_gtk3:%attr(755,root,root) %{_bindir}/rsvg-view-3}
 %attr(755,root,root) %{_bindir}/rsvg-view
 %attr(755,root,root) %{_libdir}/gdk-pixbuf-2.0/2.*.*/loaders/libpixbufloader-svg.so
 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/engines/libsvg.so
@@ -234,6 +235,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.151  2011/04/06 08:26:25  jajcus
+- without gtk3 bcond
+
 Revision 1.150  2011/04/03 20:37:12  megabajt
 - updated to 2.34.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/librsvg/librsvg.spec?r1=1.150&r2=1.151&f=u



More information about the pld-cvs-commit mailing list