/[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 132923 by fwang, Sat Aug 13 03:59:48 2011 UTC revision 201771 by fwang, Thu Jan 26 06:06:53 2012 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.1  %define rversion 6.7.4
13    
14  # their "minor" version  # their "minor" version
15  %define minor_rev 5  %define minor_rev 10
16    
17  # some other funny version  # some other funny version
18  # (aw) from the docs: Versions with Q8 in the name are 8 bits-per-pixel  # (aw) from the docs: Versions with Q8 in the name are 8 bits-per-pixel
# 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 1 Line 37  Release:       %mkrel 1
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
50  Patch4:         ImageMagick-6.4.8-9-includedir.patch  Patch2:         ImageMagick-6.7.4-force-so.patch
51  Patch7:         imagemagick-urw.diff  Patch7:         imagemagick-urw.diff
52  Patch17:        imagemagick-fpx.diff  Patch17:        imagemagick-fpx.diff
53  Patch19:        ImageMagick-libpath.diff  Patch19:        ImageMagick-libpath.diff
# Line 160  support files for access to ImageMagick Line 160  support files for access to ImageMagick
160  Summary:        %{name} Documentation  Summary:        %{name} Documentation
161  Group:          Books/Other  Group:          Books/Other
162  Obsoletes:      ImageMagick-doc < 6.3.2.9-6  Obsoletes:      ImageMagick-doc < 6.3.2.9-6
163    BuildArch:      noarch
164    
165  %description    doc  %description    doc
166  This package contains HTML/PDF documentation of %{name}.  This package contains HTML/PDF documentation of %{name}.
# Line 170  This package contains HTML/PDF documenta Line 171  This package contains HTML/PDF documenta
171    
172  %patch0 -p1 -b .docdir  %patch0 -p1 -b .docdir
173  #patch1 -p1  #patch1 -p1
174  %patch4 -p1 -b .include  %patch2 -p0 -b .so
175  %patch7 -p0 -b .urw  %patch7 -p0 -b .urw
176  %patch17 -p0 -b .fpx  %patch17 -p0 -b .fpx
177  %patch19 -p1 -b .libpath  %patch19 -p1 -b .libpath
# Line 192  export PATH=/bin:/usr/bin Line 193  export PATH=/bin:/usr/bin
193  %configure2_5x \  %configure2_5x \
194      --docdir=%{_defaultdocdir}/imagemagick \      --docdir=%{_defaultdocdir}/imagemagick \
195      --with-pic \      --with-pic \
196      --enable-shared \      --enable-shared --disable-static \
197      --enable-fast-install \      --enable-fast-install \
198      --disable-ltdl-install \      --disable-ltdl-install \
199      --with-threads \      --with-threads \
# Line 204  export PATH=/bin:/usr/bin Line 205  export PATH=/bin:/usr/bin
205      --with-xml \      --with-xml \
206      --without-dps \      --without-dps \
207      --without-windows-font-dir \      --without-windows-font-dir \
208      --without-modules \      --with-modules \
209      --with-perl \      --with-perl \
210        --without-included-ltdl --with-ltdl-include=%{_includedir} \
211        --with-ltdl-lib=%{_libdir} \
212      --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'" \
213      --with-jp2 \      --with-jp2 \
214      --with-gvc \      --with-gvc \
# Line 244  rm -rf %{buildroot} Line 247  rm -rf %{buildroot}
247  rm -rf installed_docs; mv %{buildroot}/installed_docs .  rm -rf installed_docs; mv %{buildroot}/installed_docs .
248    
249  # Remove unpackaged files  # Remove unpackaged files
250  rm -f %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders/*.a \  find %{buildroot} -name '*.la' -delete
       %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/filters/*.a \  
       %{buildroot}%{_libdir}/libltdl*  
251    
252  %multiarch_binaries %{buildroot}%{_bindir}/Magick-config  %multiarch_binaries %{buildroot}%{_bindir}/Magick-config
253  %multiarch_binaries %{buildroot}%{_bindir}/Magick++-config  %multiarch_binaries %{buildroot}%{_bindir}/Magick++-config
# Line 299  rm -rf %{buildroot} Line 300  rm -rf %{buildroot}
300  %{_bindir}/mogrify  %{_bindir}/mogrify
301  %{_bindir}/montage  %{_bindir}/montage
302  %{_bindir}/stream  %{_bindir}/stream
303  %dir %{_libdir}/ImageMagick-%{rversion}  %{_libdir}/ImageMagick-%{rversion}
 %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}  
 %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders  
304  %{_datadir}/ImageMagick-%{rversion}  %{_datadir}/ImageMagick-%{rversion}
305  %{_mandir}/man1/*  %{_mandir}/man1/*
306  %{_mandir}/man3/*  %{_mandir}/man3/*
# Line 337  rm -rf %{buildroot} Line 336  rm -rf %{buildroot}
336  %{_bindir}/MagickCore-config  %{_bindir}/MagickCore-config
337  %{_bindir}/MagickWand-config  %{_bindir}/MagickWand-config
338  %{_bindir}/Wand-config  %{_bindir}/Wand-config
 %attr(0644,root,root) %{_libdir}/*.a  
 %attr(0644,root,root) %{_libdir}/*.la  
339  %{_libdir}/*.so  %{_libdir}/*.so
340  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc
341    
# Line 352  rm -rf %{buildroot} Line 349  rm -rf %{buildroot}
349  %defattr(-,root,root)  %defattr(-,root,root)
350  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE
351  %doc QuickStart.txt installed_docs/*  %doc QuickStart.txt installed_docs/*
   
   

Legend:
Removed from v.132923  
changed lines
  Added in v.201771

  ViewVC Help
Powered by ViewVC 1.1.30