12 |
%define rversion 6.8.0 |
%define rversion 6.8.0 |
13 |
|
|
14 |
# their "minor" version |
# their "minor" version |
15 |
%define minor_rev 9 |
%define minor_rev 10 |
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 |
244 |
# Remove unpackaged files |
# Remove unpackaged files |
245 |
find %{buildroot} -name '*.la' -delete |
find %{buildroot} -name '*.la' -delete |
246 |
|
|
247 |
|
# create compatible symlinks |
248 |
|
ln -s libMagick++-%{qlev}.so %{buildroot}%{_libdir}/libMagick++.so |
249 |
|
ln -s libMagickCore-%{qlev}.so %{buildroot}%{_libdir}/libMagickCore.so |
250 |
|
ln -s libMagickWand-%{qlev}.so %{buildroot}%{_libdir}/libMagickWand.so |
251 |
|
|
252 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
253 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
254 |
%multiarch_binaries %{buildroot}%{_bindir}/MagickCore-config |
%multiarch_binaries %{buildroot}%{_bindir}/MagickCore-config |
309 |
%{_iconsdir}/hicolor/64x64/apps/%{name}.png |
%{_iconsdir}/hicolor/64x64/apps/%{name}.png |
310 |
|
|
311 |
%files -n %{libname} |
%files -n %{libname} |
312 |
%{_libdir}/libMagick++.so.%{major}* |
%{_libdir}/libMagick++-%{qlev}.so.%{major}* |
313 |
%{_libdir}/libMagickCore.so.%{major}* |
%{_libdir}/libMagickCore-%{qlev}.so.%{major}* |
314 |
%{_libdir}/libMagickWand.so.%{major}* |
%{_libdir}/libMagickWand-%{qlev}.so.%{major}* |
315 |
|
|
316 |
%files -n %{develname} |
%files -n %{develname} |
317 |
%{_includedir}/ImageMagick |
%{_includedir}/ImageMagick |