/[packages]/cauldron/imagemagick/current/SPECS/imagemagick.spec
ViewVC logotype

Diff of /cauldron/imagemagick/current/SPECS/imagemagick.spec

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

revision 133291 by fwang, Sun Aug 14 17:13:46 2011 UTC revision 168077 by fwang, Wed Nov 16 02:36:08 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.1  %define rversion 6.7.3
13    
14  # their "minor" version  # their "minor" version
15  %define minor_rev 6  %define minor_rev 6
# 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 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 160  support files for access to ImageMagick Line 159  support files for access to ImageMagick
159  Summary:        %{name} Documentation  Summary:        %{name} Documentation
160  Group:          Books/Other  Group:          Books/Other
161  Obsoletes:      ImageMagick-doc < 6.3.2.9-6  Obsoletes:      ImageMagick-doc < 6.3.2.9-6
162    BuildArch:      noarch
163    
164  %description    doc  %description    doc
165  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 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 192  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 244  rm -rf %{buildroot} Line 243  rm -rf %{buildroot}
243  rm -rf installed_docs; mv %{buildroot}/installed_docs .  rm -rf installed_docs; mv %{buildroot}/installed_docs .
244    
245  # Remove unpackaged files  # Remove unpackaged files
246  rm -f %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders/*.a \  find %{buildroot} -name '*.la' | xargs rm
247        %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/filters/*.a \  rm -f %{buildroot}%{_libdir}/libltdl*
       %{buildroot}%{_libdir}/libltdl*  
248    
249  %multiarch_binaries %{buildroot}%{_bindir}/Magick-config  %multiarch_binaries %{buildroot}%{_bindir}/Magick-config
250  %multiarch_binaries %{buildroot}%{_bindir}/Magick++-config  %multiarch_binaries %{buildroot}%{_bindir}/Magick++-config
# Line 302  rm -rf %{buildroot} Line 300  rm -rf %{buildroot}
300  %dir %{_libdir}/ImageMagick-%{rversion}  %dir %{_libdir}/ImageMagick-%{rversion}
301  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}
302  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders
303    %dir %{_libdir}/ImageMagick-%{rversion}/config
304    %{_libdir}/ImageMagick-%{rversion}/config/*.xml
305  %{_datadir}/ImageMagick-%{rversion}  %{_datadir}/ImageMagick-%{rversion}
306  %{_mandir}/man1/*  %{_mandir}/man1/*
307  %{_mandir}/man3/*  %{_mandir}/man3/*
# Line 337  rm -rf %{buildroot} Line 337  rm -rf %{buildroot}
337  %{_bindir}/MagickCore-config  %{_bindir}/MagickCore-config
338  %{_bindir}/MagickWand-config  %{_bindir}/MagickWand-config
339  %{_bindir}/Wand-config  %{_bindir}/Wand-config
 %attr(0644,root,root) %{_libdir}/*.a  
 %attr(0644,root,root) %{_libdir}/*.la  
340  %{_libdir}/*.so  %{_libdir}/*.so
341  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc
342    
# Line 352  rm -rf %{buildroot} Line 350  rm -rf %{buildroot}
350  %defattr(-,root,root)  %defattr(-,root,root)
351  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE
352  %doc QuickStart.txt installed_docs/*  %doc QuickStart.txt installed_docs/*
   
   

Legend:
Removed from v.133291  
changed lines
  Added in v.168077

  ViewVC Help
Powered by ViewVC 1.1.26