12 |
%define rversion 6.7.2 |
%define rversion 6.7.2 |
13 |
|
|
14 |
# their "minor" version |
# their "minor" version |
15 |
%define minor_rev 3 |
%define minor_rev 9 |
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 |
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 |
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/ |
193 |
%configure2_5x \ |
%configure2_5x \ |
194 |
--docdir=%{_defaultdocdir}/imagemagick \ |
--docdir=%{_defaultdocdir}/imagemagick \ |
195 |
--with-pic \ |
--with-pic \ |
196 |
--enable-shared \ |
--enable-shared --disable-static \ |
197 |
--enable-fast-install \ |
--enable-fast-install \ |
198 |
--disable-ltdl-install \ |
--disable-ltdl-install \ |
199 |
--with-threads \ |
--with-threads \ |
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 |
rm -f %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders/*.a \ |
find %{buildroot} -name '*.la' | xargs rm |
249 |
%{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/filters/*.a \ |
rm -f %{buildroot}%{_libdir}/libltdl* |
|
%{buildroot}%{_libdir}/libltdl* |
|
250 |
|
|
251 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
252 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
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 |
|
|
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/* |
|
|
|
|
|
|