/[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 205839 by fwang, Tue Feb 7 06:27:10 2012 UTC revision 305057 by fwang, Fri Oct 12 19:43:48 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.5  %define rversion 6.8.0
13    
14  # their "minor" version  # their "minor" version
15  %define minor_rev 3  %define minor_rev 0
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 5  %define major 6
29    
30  %define libname %mklibname magick %{major}  %define libname %mklibname magick %{major}
31  %define develname %mklibname magick -d  %define develname %mklibname magick -d
# Line 35  Name:          imagemagick Line 35  Name:          imagemagick
35  Version:        %{rversion}.%{minor_rev}  Version:        %{rversion}.%{minor_rev}
36  Release:        %mkrel 1  Release:        %mkrel 1
37  License:        BSD-like  License:        BSD-like
38  Group:          Graphics  Group:          Graphics/Editors
39  URL:            http://www.imagemagick.org/  URL:            http://www.imagemagick.org/
40  Source0:        ftp://ftp.imagemagick.org/pub/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
# Line 51  Patch2:                ImageMagick-6.7.4-force-so.patc Line 51  Patch2:                ImageMagick-6.7.4-force-so.patc
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.7.7-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
# Line 71  BuildRequires:  libjpeg-devel Line 71  BuildRequires:  libjpeg-devel
71  BuildRequires:  libpng-devel  BuildRequires:  libpng-devel
72  BuildRequires:  zlib-devel  BuildRequires:  zlib-devel
73  BuildRequires:  lcms-devel  BuildRequires:  lcms-devel
74    BuildRequires:  lcms2-devel
75    BuildRequires:  fftw-devel
76  BuildRequires:  lqr-devel  BuildRequires:  lqr-devel
77  BuildRequires:  libltdl-devel  BuildRequires:  libltdl-devel
78  BuildRequires:  perl-devel  BuildRequires:  perl-devel
# Line 79  BuildRequires:  tiff-devel Line 81  BuildRequires:  tiff-devel
81  BuildRequires:  libwmf-devel  BuildRequires:  libwmf-devel
82  BuildRequires:  libxml2-devel  BuildRequires:  libxml2-devel
83  BuildRequires:  lzma-devel  BuildRequires:  lzma-devel
84    BuildRequires:  libwebp-devel
85  %if !%bootstrap  %if !%bootstrap
86  BuildRequires:  djvulibre-devel  BuildRequires:  djvulibre-devel
87  %endif  %endif
88  BuildRequires:  ghostscript  BuildRequires:  ghostscript
89    BuildRequires:  subversion
90  BuildConflicts: %{develname}  BuildConflicts: %{develname}
91    
92  %description  %description
# Line 92  of image formats. Line 96  of image formats.
96    
97  ImageMagick can make use of the following delegate programs, available as  ImageMagick can make use of the following delegate programs, available as
98  packages in %{_vendor}: curl enscript ffmpeg ghostscript ghostscript-X gimp  packages in %{_vendor}: curl enscript ffmpeg ghostscript ghostscript-X gimp
99  gnuplot graphviz html2ps mplayer ncompress netpbm sane-backends tetex-dvips  gnuplot graphviz html2ps mplayer ncompress netpbm sane-backends texlive-texmf
100  transfig ufraw xdg-utils zip autotrace povray  transfig ufraw xdg-utils zip autotrace povray
101    
102  %package        desktop  %package        desktop
103  Summary:        ImageMagick menus  Summary:        ImageMagick menus
104  Group:          Graphics  Group:          Graphics/Editors
105  Requires:       xterm  Requires:       xterm
106  Obsoletes:      ImageMagick-desktop < 6.3.2.9-6  Obsoletes:      ImageMagick-desktop < 6.3.2.9-6
107    
# Line 157  support files for access to ImageMagick Line 161  support files for access to ImageMagick
161    
162  %package        doc  %package        doc
163  Summary:        %{name} Documentation  Summary:        %{name} Documentation
164  Group:          Books/Other  Group:          Documentation
165  Obsoletes:      ImageMagick-doc < 6.3.2.9-6  Obsoletes:      ImageMagick-doc < 6.3.2.9-6
166  BuildArch:      noarch  BuildArch:      noarch
167    
# Line 169  This package contains HTML/PDF documenta Line 173  This package contains HTML/PDF documenta
173  %setup -q -n ImageMagick-%{rversion}-%minor_rev  %setup -q -n ImageMagick-%{rversion}-%minor_rev
174    
175  %patch0 -p1 -b .docdir  %patch0 -p1 -b .docdir
 #patch1 -p1  
176  %patch2 -p0 -b .so  %patch2 -p0 -b .so
177  %patch7 -p0 -b .urw  %patch7 -p0 -b .urw
178  %patch17 -p0 -b .fpx  %patch17 -p0 -b .fpx
# Line 178  This package contains HTML/PDF documenta Line 181  This package contains HTML/PDF documenta
181    
182  bzcat %{SOURCE1} > ImageMagick.pdf  bzcat %{SOURCE1} > ImageMagick.pdf
183  install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} .  install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} .
184  libtoolize --copy --force; aclocal -I m4; autoconf; automake  autoreconf -fi
185    
186  %build  %build
187  #gw the format-string patch is incomplete:  #gw the format-string patch is incomplete:

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

  ViewVC Help
Powered by ViewVC 1.1.26