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 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 |
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 |
149 |
Requires: %{name} = %{version} |
Requires: %{name} = %{version} |
150 |
Provides: perl-Magick = %{version}-%{release} |
Provides: perl-Magick = %{version}-%{release} |
151 |
Obsoletes: perl-Magick |
Obsoletes: perl-Magick |
|
Requires: graphviz |
|
|
Requires: libwmf |
|
152 |
|
|
153 |
%description -n perl-Image-Magick |
%description -n perl-Image-Magick |
154 |
This is the ImageMagick perl support package. It includes perl modules and |
This is the ImageMagick perl support package. It includes perl modules and |
169 |
|
|
170 |
%patch0 -p1 -b .docdir |
%patch0 -p1 -b .docdir |
171 |
#patch1 -p1 |
#patch1 -p1 |
172 |
|
%patch2 -p0 -b .so |
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 |
203 |
--with-xml \ |
--with-xml \ |
204 |
--without-dps \ |
--without-dps \ |
205 |
--without-windows-font-dir \ |
--without-windows-font-dir \ |
206 |
--without-modules \ |
--with-modules \ |
207 |
--with-perl \ |
--with-perl \ |
208 |
|
--without-included-ltdl --with-ltdl-include=%{_includedir} \ |
209 |
|
--with-ltdl-lib=%{_libdir} \ |
210 |
--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'" \ |
211 |
--with-jp2 \ |
--with-jp2 \ |
212 |
--with-gvc \ |
--with-gvc \ |
245 |
rm -rf installed_docs; mv %{buildroot}/installed_docs . |
rm -rf installed_docs; mv %{buildroot}/installed_docs . |
246 |
|
|
247 |
# Remove unpackaged files |
# Remove unpackaged files |
248 |
find %{buildroot} -name '*.la' | xargs rm |
find %{buildroot} -name '*.la' -delete |
|
rm -f %{buildroot}%{_libdir}/libltdl* |
|
249 |
|
|
250 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
251 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
298 |
%{_bindir}/mogrify |
%{_bindir}/mogrify |
299 |
%{_bindir}/montage |
%{_bindir}/montage |
300 |
%{_bindir}/stream |
%{_bindir}/stream |
301 |
%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 |
|
302 |
%{_datadir}/ImageMagick-%{rversion} |
%{_datadir}/ImageMagick-%{rversion} |
303 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
304 |
%{_mandir}/man3/* |
%{_mandir}/man3/* |