SPECS: ImageMagick.spec - package djvu coder

qboosh qboosh at pld-linux.org
Sat Feb 24 22:09:46 CET 2007


Author: qboosh                       Date: Sat Feb 24 21:09:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package djvu coder

---- Files affected:
SPECS:
   ImageMagick.spec (1.248 -> 1.249) 

---- Diffs:

================================================================
Index: SPECS/ImageMagick.spec
diff -u SPECS/ImageMagick.spec:1.248 SPECS/ImageMagick.spec:1.249
--- SPECS/ImageMagick.spec:1.248	Sat Feb 24 15:06:51 2007
+++ SPECS/ImageMagick.spec	Sat Feb 24 22:09:41 2007
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	djvu		# without DJVU module
 %bcond_without	fpx		# without FlashPIX module (which uses fpx library)
 %bcond_without	graphviz	# without Graphviz support
 %bcond_with	gs		# with PostScript support through ghostscript library (warning: breaks jpeg!)
@@ -38,6 +39,7 @@
 BuildRequires:	autoconf >= 2.59-9
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	bzip2-devel >= 1.0.1
+%{?with_djvu:BuildRequires:	djvulibre-devel}
 BuildRequires:	expat-devel >= 1.95.7
 BuildRequires:	freetype-devel >= 2.0.2-2
 BuildRequires:	gd-devel >= 2.0.15
@@ -378,6 +380,18 @@
 Це окремий пакет зі статичними бібліотеками, які більше не входять до
 складу ImageMagick-c++-devel.
 
+%package coder-djvu
+Summary:	Coder module for DJVU files
+Summary(pl.UTF-8):	Moduł kodera dla plików DJVU
+Group:		X11/Applications/Graphics
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description coder-djvu
+Coder module for DJVU files.
+
+%description coder-djvu -l pl
+Moduł kodera dla plików DJVU.
+
 %package coder-dot
 Summary:	Coder module for GraphViz DOT files
 Summary(pl.UTF-8):	Moduł kodera dla plików GraphViz DOT
@@ -575,6 +589,7 @@
 	--enable-shared \
 	--disable-ltdl-install \
 	--without-dps \
+	--with%{!?with_graphviz:out}-djvu \
 	--with%{!?with_graphviz:out}-dot \
 	--with%{!?with_fpx:out}-fpx \
 	--with%{!?with_gs:out}-gslib \
@@ -827,6 +842,14 @@
 %attr(755,root,root) %{_libdir}/libMagick.so.*.*.*
 %attr(755,root,root) %{_libdir}/libWand.so.*.*.*
 
+%if %{with djvu}
+%files coder-dot
+%defattr(644,root,root,755)
+# R: djvulibre
+%attr(755,root,root) %{modulesdir}/coders/djvu.so
+%{modulesdir}/coders/djvu.la
+%endif
+
 %files coder-dot
 %defattr(644,root,root,755)
 # R: graphviz, gd
@@ -978,6 +1001,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.249  2007/02/24 21:09:41  qboosh
+- package djvu coder
+
 Revision 1.248  2007/02/24 14:06:51  arekm
 - up to 6.3.2.8
 
================================================================

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



More information about the pld-cvs-commit mailing list