SPECS: ImageMagick.spec - added wmf bcond

qboosh qboosh at pld-linux.org
Mon Feb 20 10:32:34 CET 2006


Author: qboosh                       Date: Mon Feb 20 09:32:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added wmf bcond

---- Files affected:
SPECS:
   ImageMagick.spec (1.228 -> 1.229) 

---- Diffs:

================================================================
Index: SPECS/ImageMagick.spec
diff -u SPECS/ImageMagick.spec:1.228 SPECS/ImageMagick.spec:1.229
--- SPECS/ImageMagick.spec:1.228	Sun Feb 19 19:48:19 2006
+++ SPECS/ImageMagick.spec	Mon Feb 20 10:32:28 2006
@@ -6,6 +6,7 @@
 %bcond_without	graphviz	# without Graphviz support
 %bcond_with	gs		# with PostScript support through ghostscript library (warning: breaks jpeg!)
 %bcond_without	jasper		# without JPEG2000 module (which uses jasper library)
+%bcond_without	wmf		# without WMF module (which uses libwmf library)
 %bcond_without	cxx		# without Magick++
 #
 %include	/usr/lib/rpm/macros.perl
@@ -53,7 +54,7 @@
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtiff-devel
 BuildRequires:	libtool >= 2:1.5
-BuildRequires:	libwmf-devel >= 2:0.2.2
+%{?with_wmf:BuildRequires:	libwmf-devel >= 2:0.2.2}
 BuildRequires:	libxml2-devel >= 2.0
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -591,6 +592,7 @@
 	--with%{!?with_gs:out}-gslib \
 	--with%{!?with_jasper:out}-jp2 \
 	--with%{!?with_cxx:out}-magick_plus_plus \
+	--with%{!?with_wmf:out}-wmf \
 	--with-gs-font-dir=%{_fontsdir}/Type1 \
 	--with-modules \
 	--with-perl=%{__perl} \
@@ -916,11 +918,13 @@
 %attr(755,root,root) %{modulesdir}/coders/url.so
 %{modulesdir}/coders/url.la
 
+%if %{with wmf}
 %files coder-wmf
 %defattr(644,root,root,755)
 # R: libwmf, expat, libjpeg, libpng
 %attr(755,root,root) %{modulesdir}/coders/wmf.so
 %{modulesdir}/coders/wmf.la
+%endif
 
 %files devel
 %defattr(644,root,root,755)
@@ -980,6 +984,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.229  2006/02/20 09:32:28  qboosh
+- added wmf bcond
+
 Revision 1.228  2006/02/19 18:48:19  qboosh
 - fixed -devel deps; dps coder requires libdps not present in X11R7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ImageMagick.spec?r1=1.228&r2=1.229&f=u



More information about the pld-cvs-commit mailing list