/[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 185964 by fwang, Thu Dec 22 15:05:23 2011 UTC revision 205839 by fwang, Tue Feb 7 06:27:10 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.4  %define rversion 6.7.5
13    
14  # their "minor" version  # their "minor" version
15  %define minor_rev 1  %define minor_rev 3
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 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    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 125  Provides:      libMagick-devel = %{version}-% Line 126  Provides:      libMagick-devel = %{version}-%
126  Obsoletes:      ImageMagick-devel  Obsoletes:      ImageMagick-devel
127  Provides:       libMagick5-devel = %{version}-%{release}  Provides:       libMagick5-devel = %{version}-%{release}
128  Obsoletes:      libMagick5-devel  Obsoletes:      libMagick5-devel
129    Conflicts:      %{name} < 6.7.5.0-2
130  # 2006  # 2006
131  Obsoletes:      %{mklibname Magick 8.3.2 -d}  Obsoletes:      %{mklibname Magick 8.3.2 -d}
132  # 2007.0  # 2007.0
# Line 148  Group:         Development/Perl Line 150  Group:         Development/Perl
150  Requires:       %{name} = %{version}  Requires:       %{name} = %{version}
151  Provides:       perl-Magick = %{version}-%{release}  Provides:       perl-Magick = %{version}-%{release}
152  Obsoletes:      perl-Magick  Obsoletes:      perl-Magick
 Requires:       graphviz  
 Requires:       libwmf  
153    
154  %description -n perl-Image-Magick  %description -n perl-Image-Magick
155  This is the ImageMagick perl support package. It includes perl modules and  This is the ImageMagick perl support package. It includes perl modules and
# 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
173    %patch2 -p0 -b .so
174  %patch7 -p0 -b .urw  %patch7 -p0 -b .urw
175  %patch17 -p0 -b .fpx  %patch17 -p0 -b .fpx
176  %patch19 -p1 -b .libpath  %patch19 -p1 -b .libpath
# Line 203  export PATH=/bin:/usr/bin Line 204  export PATH=/bin:/usr/bin
204      --with-xml \      --with-xml \
205      --without-dps \      --without-dps \
206      --without-windows-font-dir \      --without-windows-font-dir \
207      --without-modules \      --with-modules \
208      --with-perl \      --with-perl \
209        --without-included-ltdl --with-ltdl-include=%{_includedir} \
210        --with-ltdl-lib=%{_libdir} \
211      --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'" \
212      --with-jp2 \      --with-jp2 \
213      --with-gvc \      --with-gvc \
# Line 234  make check Line 237  make check
237  %endif  %endif
238    
239  %install  %install
 rm -rf %{buildroot}  
   
240  # (Abel) set LD_RUN_PATH to null, to avoid adding rpath to perlmagick module  # (Abel) set LD_RUN_PATH to null, to avoid adding rpath to perlmagick module
241  %makeinstall_std LD_RUN_PATH="" pkgdocdir=/installed_docs  %makeinstall_std LD_RUN_PATH="" pkgdocdir=/installed_docs
242    
# Line 243  rm -rf %{buildroot} Line 244  rm -rf %{buildroot}
244  rm -rf installed_docs; mv %{buildroot}/installed_docs .  rm -rf installed_docs; mv %{buildroot}/installed_docs .
245    
246  # Remove unpackaged files  # Remove unpackaged files
247  find %{buildroot} -name '*.la' | xargs rm  find %{buildroot} -name '*.la' -delete
 rm -f %{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 279  Type=Application Line 279  Type=Application
279  Categories=Graphics;Viewer;  Categories=Graphics;Viewer;
280  EOF  EOF
281    
 %clean  
 rm -rf %{buildroot}  
   
282  %files  %files
 %defattr(-,root,root)  
283  %doc README.txt  %doc README.txt
284  %{_sysconfdir}/ImageMagick  %{_sysconfdir}/ImageMagick
285  %{_bindir}/animate  %{_bindir}/animate
# Line 297  rm -rf %{buildroot} Line 293  rm -rf %{buildroot}
293  %{_bindir}/mogrify  %{_bindir}/mogrify
294  %{_bindir}/montage  %{_bindir}/montage
295  %{_bindir}/stream  %{_bindir}/stream
296  %dir %{_libdir}/ImageMagick-%{rversion}  %{_libdir}/ImageMagick-%{rversion}
 %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}  
 %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders  
 %dir %{_libdir}/ImageMagick-%{rversion}/config  
 %{_libdir}/ImageMagick-%{rversion}/config/*.xml  
297  %{_datadir}/ImageMagick-%{rversion}  %{_datadir}/ImageMagick-%{rversion}
298  %{_mandir}/man1/*  %{_mandir}/man1/*
299  %{_mandir}/man3/*  %exclude %{_mandir}/man1/*-config.*
 %exclude %{_mandir}/man3/*::*.3pm*  
300    
301  %files desktop  %files desktop
 %defattr(-,root,root)  
302  %{_datadir}/applications/*  %{_datadir}/applications/*
303  %{_iconsdir}/%{name}.png  %{_iconsdir}/%{name}.png
304  %{_liconsdir}/%{name}.png  %{_liconsdir}/%{name}.png
# Line 316  rm -rf %{buildroot} Line 306  rm -rf %{buildroot}
306  %{_iconsdir}/hicolor/64x64/apps/%{name}.png  %{_iconsdir}/hicolor/64x64/apps/%{name}.png
307    
308  %files -n %{libname}  %files -n %{libname}
 %defattr(-,root,root,0755)  
309  %{_libdir}/libMagick++.so.%{major}*  %{_libdir}/libMagick++.so.%{major}*
310  %{_libdir}/libMagickCore.so.%{major}*  %{_libdir}/libMagickCore.so.%{major}*
311  %{_libdir}/libMagickWand.so.%{major}*  %{_libdir}/libMagickWand.so.%{major}*
312    
313  %files -n %{develname}  %files -n %{develname}
 %defattr(-,root,root)  
314  %{_includedir}/ImageMagick  %{_includedir}/ImageMagick
315  %multiarch %{multiarch_bindir}/Magick-config  %multiarch %{multiarch_bindir}/Magick-config
316  %multiarch %{multiarch_bindir}/Magick++-config  %multiarch %{multiarch_bindir}/Magick++-config
# Line 339  rm -rf %{buildroot} Line 327  rm -rf %{buildroot}
327  %{_bindir}/Wand-config  %{_bindir}/Wand-config
328  %{_libdir}/*.so  %{_libdir}/*.so
329  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc
330    %{_mandir}/man1/*-config.*
331    
332  %files -n perl-Image-Magick  %files -n perl-Image-Magick
 %defattr(-,root,root)  
333  %{perl_vendorarch}/Image  %{perl_vendorarch}/Image
334  %{perl_vendorarch}/auto/Image  %{perl_vendorarch}/auto/Image
335  %{_mandir}/man3*/*::*.3pm*  %{_mandir}/man3*/*::*.3pm*
336    
337  %files doc  %files doc
 %defattr(-,root,root)  
338  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE  %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE
339  %doc QuickStart.txt installed_docs/*  %doc QuickStart.txt installed_docs/*

Legend:
Removed from v.185964  
changed lines
  Added in v.205839

  ViewVC Help
Powered by ViewVC 1.1.30