[devel] [PATCH] move /usr/bin/convert to ImageMagick-minimal subpackage

Denis Smirnov =?iso-8859-1?q?mithraen_=CE=C1_freesource=2Einfo?=
Вт Ноя 18 20:49:22 MSK 2008


---
 ImageMagick.spec |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/ImageMagick.spec b/ImageMagick.spec
index b5ec5bf..2e2bf6e 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -29,6 +29,7 @@ Patch2: ImageMagick-6.4.5-Magick-config.patch
 Patch3: ImageMagick-6.4.5-5-perlMagick.patch
 
 Requires: ghostscript-classic fonts-type1-urw lib%name = %version-%release
+Requires: %name-minimal = %version-%release
 
 # Automatically added by buildreq on Mon Jan 01 2007
 BuildRequires: bzlib-devel gcc-c++ ghostscript-classic graphviz fontconfig-devel libXext-devel libXt-devel
@@ -44,6 +45,15 @@ a variety of image formats.
 
 This package installs the necessary files to run %name.
 
+
+%package minimal
+Summary: Utility for batch convert and edit images
+Group: Graphics
+Requires: lib%name = %version-%release
+
+%description minimal
+Utility for batch convert and edit images
+
 %package -n lib%name
 Summary: %name shared libraries
 Group: System/Libraries
@@ -142,6 +152,7 @@ chrpath -d %buildroot%perl_vendor_archlib/auto/Image/Magick/Magick.so
 %exclude %_docdir/%name-%dversion/www/api
 %exclude %_docdir/%name-%dversion/www/Magick++
 %_bindir/[a-z]*
+%exclude %_bindir/convert
 %_datadir/applications/%name.desktop
 %_miconsdir/%name.png
 %_niconsdir/%name.png
@@ -149,6 +160,9 @@ chrpath -d %buildroot%perl_vendor_archlib/auto/Image/Magick/Magick.so
 %_man1dir/%name.1*
 %_man1dir/[a-z]*.1*
 
+%files minimal
+%_bindir/convert
+
 %files -n lib%name
 %dir %_libdir/%mgkdir-%dversion
 %dir %_libdir/%mgkdir-%dversion/modules-%qlev
-- 
1.6.0.2.GIT


Подробная информация о списке рассылки Devel