/[packages]/updates/3/imagemagick/current/SPECS/imagemagick.spec
ViewVC logotype

Diff of /updates/3/imagemagick/current/SPECS/imagemagick.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 137819 by tv, Fri Sep 2 00:31:47 2011 UTC revision 186082 by fwang, Thu Dec 22 17:57:06 2011 UTC
# Line 9  Line 9 
9  # V E R S I O N   P A R T S  # V E R S I O N   P A R T S
10    
11  # their "official" version  # their "official" version
12  %define rversion 6.7.2  %define rversion 6.7.4
13    
14  # their "minor" version  # their "minor" version
15  %define minor_rev 1  %define minor_rev 1
# Line 25  Line 25 
25  # the full file version  # the full file version
26  %define dversion %{rversion}-%{minor_rev}  %define dversion %{rversion}-%{minor_rev}
27    
28  %define major 4  %define major 5
29    
30  %define libname %mklibname magick %{major}  %define libname %mklibname magick %{major}
31  %define develname %mklibname magick -d  %define develname %mklibname magick -d
# Line 37  Release:       %mkrel 2 Line 37  Release:       %mkrel 2
37  License:        BSD-like  License:        BSD-like
38  Group:          Graphics  Group:          Graphics
39  URL:            http://www.imagemagick.org/  URL:            http://www.imagemagick.org/
40  Source0:        ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ImageMagick-%{dversion}.tar.xz  Source0:        ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-%{dversion}.tar.xz
41  Source1:        ImageMagick.pdf.bz2  Source1:        ImageMagick.pdf.bz2
42  # re-scaled from ftp://ftp.imagemagick.org/pub/ImageMagick/images/magick-icon.png  # re-scaled from ftp://ftp.imagemagick.org/pub/ImageMagick/images/magick-icon.png
43  Source10:       magick-icon_16x16.png  Source10:       magick-icon_16x16.png
# Line 47  Source13:      magick-icon_64x64.png Line 47  Source13:      magick-icon_64x64.png
47  Patch0:         imagemagick-docdir.diff  Patch0:         imagemagick-docdir.diff
48  #gw fix format strings, but it doesn't work for the perl-Magick  #gw fix format strings, but it doesn't work for the perl-Magick
49  Patch1:         ImageMagick-6.4.8-9-format-strings.patch  Patch1:         ImageMagick-6.4.8-9-format-strings.patch
 Patch4:         ImageMagick-6.4.8-9-includedir.patch  
50  Patch7:         imagemagick-urw.diff  Patch7:         imagemagick-urw.diff
51  Patch17:        imagemagick-fpx.diff  Patch17:        imagemagick-fpx.diff
52  Patch19:        ImageMagick-libpath.diff  Patch19:        ImageMagick-libpath.diff
# Line 171  This package contains HTML/PDF documenta Line 170  This package contains HTML/PDF documenta
170    
171  %patch0 -p1 -b .docdir  %patch0 -p1 -b .docdir
172  #patch1 -p1  #patch1 -p1
 %patch4 -p1 -b .include  
173  %patch7 -p0 -b .urw  %patch7 -p0 -b .urw
174  %patch17 -p0 -b .fpx  %patch17 -p0 -b .fpx
175  %patch19 -p1 -b .libpath  %patch19 -p1 -b .libpath
# Line 193  export PATH=/bin:/usr/bin Line 191  export PATH=/bin:/usr/bin
191  %configure2_5x \  %configure2_5x \
192      --docdir=%{_defaultdocdir}/imagemagick \      --docdir=%{_defaultdocdir}/imagemagick \
193      --with-pic \      --with-pic \
194      --enable-shared \      --enable-shared --disable-static \
195      --enable-fast-install \      --enable-fast-install \
196      --disable-ltdl-install \      --disable-ltdl-install \
197      --with-threads \      --with-threads \
# Line 205  export PATH=/bin:/usr/bin Line 203  export PATH=/bin:/usr/bin
203      --with-xml \      --with-xml \
204      --without-dps \      --without-dps \
205      --without-windows-font-dir \      --without-windows-font-dir \
206      --without-modules \      --with-modules \
207      --with-perl \      --with-perl \
208        --without-included-ltdl --with-ltdl-include=%{_includedir} \
209        --with-ltdl-lib=%{_libdir} \
210      --with-perl-options="INSTALLDIRS=vendor CC='%{__cc} -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \      --with-perl-options="INSTALLDIRS=vendor CC='%{__cc} -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \
211      --with-jp2 \      --with-jp2 \
212      --with-gvc \      --with-gvc \
# Line 245  rm -rf %{buildroot} Line 245  rm -rf %{buildroot}
245  rm -rf installed_docs; mv %{buildroot}/installed_docs .  rm -rf installed_docs; mv %{buildroot}/installed_docs .
246    
247  # Remove unpackaged files  # Remove unpackaged files
248  rm -f %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders/*.a \  rm -f %{buildroot}%{_libdir}/*.la
       %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/filters/*.a \  
       %{buildroot}%{_libdir}/libltdl*  
249    
250  %multiarch_binaries %{buildroot}%{_bindir}/Magick-config  %multiarch_binaries %{buildroot}%{_bindir}/Magick-config
251  %multiarch_binaries %{buildroot}%{_bindir}/Magick++-config  %multiarch_binaries %{buildroot}%{_bindir}/Magick++-config
# Line 300  rm -rf %{buildroot} Line 298  rm -rf %{buildroot}
298  %{_bindir}/mogrify  %{_bindir}/mogrify
299  %{_bindir}/montage  %{_bindir}/montage
300  %{_bindir}/stream  %{_bindir}/stream
301  %dir %{_libdir}/ImageMagick-%{rversion}  %{_libdir}/ImageMagick-%{rversion}
 %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}  
 %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders  
302  %{_datadir}/ImageMagick-%{rversion}  %{_datadir}/ImageMagick-%{rversion}
303  %{_mandir}/man1/*  %{_mandir}/man1/*
304  %{_mandir}/man3/*  %{_mandir}/man3/*
# Line 338  rm -rf %{buildroot} Line 334  rm -rf %{buildroot}
334  %{_bindir}/MagickCore-config  %{_bindir}/MagickCore-config
335  %{_bindir}/MagickWand-config  %{_bindir}/MagickWand-config
336  %{_bindir}/Wand-config  %{_bindir}/Wand-config
 %attr(0644,root,root) %{_libdir}/*.a  
 %attr(0644,root,root) %{_libdir}/*.la  
337  %{_libdir}/*.so  %{_libdir}/*.so
338  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc
339    
# Line 353  rm -rf %{buildroot} Line 347  rm -rf %{buildroot}
347  %defattr(-,root,root)  %defattr(-,root,root)
348  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE
349  %doc QuickStart.txt installed_docs/*  %doc QuickStart.txt installed_docs/*
   
   

Legend:
Removed from v.137819  
changed lines
  Added in v.186082

  ViewVC Help
Powered by ViewVC 1.1.30