12 |
%define rversion 6.7.2 |
%define rversion 6.7.2 |
13 |
|
|
14 |
# their "minor" version |
# their "minor" version |
15 |
%define minor_rev 1 |
%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 |
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 |
160 |
Summary: %{name} Documentation |
Summary: %{name} Documentation |
161 |
Group: Books/Other |
Group: Books/Other |
162 |
Obsoletes: ImageMagick-doc < 6.3.2.9-6 |
Obsoletes: ImageMagick-doc < 6.3.2.9-6 |
163 |
|
BuildArch: noarch |
164 |
|
|
165 |
%description doc |
%description doc |
166 |
This package contains HTML/PDF documentation of %{name}. |
This package contains HTML/PDF documentation of %{name}. |
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/* |
|
|
|
|
|
|