/[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 23775 by jquelin, Wed Jan 19 08:04:54 2011 UTC revision 134495 by fwang, Sat Aug 20 09:18:22 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.6.6  %define rversion 6.7.1
13    
14  # their "minor" version  # their "minor" version
15  %define minor_rev 10  %define minor_rev 8
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 33  Line 33 
33  Summary:        An X application for displaying and manipulating images  Summary:        An X application for displaying and manipulating images
34  Name:           imagemagick  Name:           imagemagick
35  Version:        %{rversion}.%{minor_rev}  Version:        %{rversion}.%{minor_rev}
36  Release:        %mkrel 2  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/
# Line 46  Source12:      magick-icon_48x48.png Line 46  Source12:      magick-icon_48x48.png
46  Source13:       magick-icon_64x64.png  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  Patch4:         ImageMagick-6.4.8-9-includedir.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
54  Patch20:        ImageMagick-6.4.8-9-fix-montageimages-test.patch  Patch20:        ImageMagick-6.4.8-9-fix-montageimages-test.patch
55    
56  Requires:       %{libname} = %{version}  Requires:       %{libname} = %{version}
57  Obsoletes:      ImageMagick < 6.3.2.9-6  Obsoletes:      ImageMagick < 6.3.2.9-6
58  Provides:       ImageMagick = %{version}-%{release}  Provides:       ImageMagick = %{version}-%{release}
59  BuildRequires:  XFree86-devel  
60  BuildRequires:  avahi-client-devel  BuildRequires:  libx11-devel
61  BuildRequires:  avahi-common-devel  BuildRequires:  libxext-devel
62  BuildRequires:  avahi-glib-devel  BuildRequires:  bzip2-devel
63  BuildRequires:  bzip2-devel  BuildRequires:  cairo-devel
64  BuildRequires:  cairo-devel  BuildRequires:  fontconfig-devel
65  BuildRequires:  chrpath  BuildRequires:  freetype2-devel >= 2.1.7
66  BuildRequires:  dbus-glib-devel  BuildRequires:  chrpath
67    BuildRequires:  graphviz-devel >= 2.9.0
68    BuildRequires:  libjasper-devel
69    BuildRequires:  libjbig-devel
70    BuildRequires:  libjpeg-devel
71    BuildRequires:  libpng-devel
72    BuildRequires:  zlib-devel
73    BuildRequires:  lcms-devel
74    BuildRequires:  lqr-devel
75    BuildRequires:  libltdl-devel
76    BuildRequires:  perl-devel
77    BuildRequires:  librsvg-devel
78    BuildRequires:  tiff-devel
79    BuildRequires:  libwmf-devel
80    BuildRequires:  libxml2-devel
81    BuildRequires:  lzma-devel
82  %if !%bootstrap  %if !%bootstrap
83  BuildRequires:  djvulibre-devel  BuildRequires:  djvulibre-devel
84  %endif  %endif
85  BuildRequires:  expat-devel  BuildRequires:  ghostscript
86  BuildRequires:  fontconfig-devel  BuildConflicts: %{develname}
 BuildRequires:  freetype2-devel >= 2.1.7  
 BuildRequires:  gd-devel  
 BuildRequires:  ghostscript  
 BuildRequires:  glib2-devel  
 BuildRequires:  gnome-vfs2-devel  
 BuildRequires:  graphviz-devel >= 2.9.0  
 BuildRequires:  lcms-devel >= 1.15  
 BuildRequires:  libGConf2-devel  
 BuildRequires:  libcroco0.6-devel  
 BuildRequires:  libexif-devel  
 BuildRequires:  libgdk_pixbuf2.0-devel  
 BuildRequires:  libgsf-devel  
 BuildRequires:  libjasper-devel  
 BuildRequires:  libjbig-devel  
 BuildRequires:  libltdl-devel >= 1.4.3-10  
 BuildRequires:  librsvg-devel  
 BuildRequires:  libwmf  
 BuildRequires:  libwmf-devel  
 BuildRequires:  libxml2-devel  
 BuildRequires:  lqr-devel  
 BuildRequires:  openssl-devel  
 BuildRequires:  pango-devel  
 BuildRequires:  perl-devel  
 BuildRequires:  pixman-devel  
 BuildRequires:  tiff-devel  
 BuildConflicts: %{develname}  
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  
87    
88  %description  %description
89  ImageMagick is a powerful image display, conversion and manipulation tool. It  ImageMagick is a powerful image display, conversion and manipulation tool. It
# Line 102  runs in an X session. With this tool, yo Line 91  runs in an X session. With this tool, yo
91  of image formats.  of image formats.
92    
93  ImageMagick can make use of the following delegate programs, available as  ImageMagick can make use of the following delegate programs, available as
94  packages in Mandriva Linux: curl enscript ffmpeg ghostscript ghostscript-X gimp  packages in %{_vendor}: curl enscript ffmpeg ghostscript ghostscript-X gimp
95  gnuplot graphviz html2ps mplayer ncompress netpbm sane-backends tetex-dvips  gnuplot graphviz html2ps mplayer ncompress netpbm sane-backends tetex-dvips
96  transfig ufraw xdg-utils zip autotrace povray  transfig ufraw xdg-utils zip autotrace povray
97    
# Line 198  export CFLAGS="%{optflags} -fno-strict-a Line 187  export CFLAGS="%{optflags} -fno-strict-a
187  export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC"  export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC"
188    
189  # don't use icecream  # don't use icecream
190  export PATH=/bin:/usr/bin:/usr/X11R6/bin  export PATH=/bin:/usr/bin
191    
192  %configure2_5x \  %configure2_5x \
193      --docdir=%{_defaultdocdir}/imagemagick \      --docdir=%{_defaultdocdir}/imagemagick \
# Line 281  install -m 644 magick-icon_64x64.png %{b Line 270  install -m 644 magick-icon_64x64.png %{b
270    
271    
272  install -m 755 -d %{buildroot}%{_datadir}/applications/  install -m 755 -d %{buildroot}%{_datadir}/applications/
273  cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF  cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
274  [Desktop Entry]  [Desktop Entry]
275  Name=ImageMagick  Name=ImageMagick
276  Comment=Views Graphics files  Comment=Views Graphics files
# Line 289  Exec=%{_bindir}/xterm -geometry 40x15 -t Line 278  Exec=%{_bindir}/xterm -geometry 40x15 -t
278  Icon=%{name}  Icon=%{name}
279  Terminal=false  Terminal=false
280  Type=Application  Type=Application
281  Categories=X-MandrivaLinux-Office-Graphs;Graphics;Viewer;  Categories=Graphics;Viewer;
282  EOF  EOF
283    
284  %clean  %clean
# Line 298  rm -rf %{buildroot} Line 287  rm -rf %{buildroot}
287  %files  %files
288  %defattr(-,root,root)  %defattr(-,root,root)
289  %doc README.txt  %doc README.txt
290    %{_sysconfdir}/ImageMagick
291  %{_bindir}/animate  %{_bindir}/animate
292  %{_bindir}/compare  %{_bindir}/compare
293  %{_bindir}/composite  %{_bindir}/composite
# Line 312  rm -rf %{buildroot} Line 302  rm -rf %{buildroot}
302  %dir %{_libdir}/ImageMagick-%{rversion}  %dir %{_libdir}/ImageMagick-%{rversion}
303  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}
304  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders  %dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders
 %dir %{_libdir}/ImageMagick-%{rversion}/config  
305  %{_datadir}/ImageMagick-%{rversion}  %{_datadir}/ImageMagick-%{rversion}
 %{_libdir}/ImageMagick-%{rversion}/config/*.xml  
 #%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/filters  
 #%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders/*.so  
 #%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders/*.la  
306  %{_mandir}/man1/*  %{_mandir}/man1/*
307  %{_mandir}/man3/*  %{_mandir}/man3/*
308  %exclude %{_mandir}/man3/*::*.3pm*  %exclude %{_mandir}/man3/*::*.3pm*

Legend:
Removed from v.23775  
changed lines
  Added in v.134495

  ViewVC Help
Powered by ViewVC 1.1.26