|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
|
|
|
|
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
|
|
|
|
%global _with_quantum_depth --with-quantum-depth=16
|
|
|
|
%global _with_quantum_depth --with-quantum-depth=16
|
|
|
@ -32,7 +33,7 @@
|
|
|
|
Summary: An ImageMagick fork, offering faster image generation and better quality
|
|
|
|
Summary: An ImageMagick fork, offering faster image generation and better quality
|
|
|
|
Name: GraphicsMagick
|
|
|
|
Name: GraphicsMagick
|
|
|
|
Version: 1.3.19
|
|
|
|
Version: 1.3.19
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Group: Applications/Multimedia
|
|
|
@ -95,6 +96,14 @@ APIs, you need to install GraphicsMagick-devel as well as GraphicsMagick.
|
|
|
|
You do not need to install it if you just want to use GraphicsMagick,
|
|
|
|
You do not need to install it if you just want to use GraphicsMagick,
|
|
|
|
however.
|
|
|
|
however.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
|
|
|
Summary: GraphicsMagick documentation
|
|
|
|
|
|
|
|
Group: Documentation
|
|
|
|
|
|
|
|
%{!?el5:BuildArch: noarch}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
|
|
|
Documentation for GraphicsMagick.
|
|
|
|
|
|
|
|
|
|
|
|
%package perl
|
|
|
|
%package perl
|
|
|
|
Summary: GraphicsMagick perl bindings
|
|
|
|
Summary: GraphicsMagick perl bindings
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
@ -143,19 +152,20 @@ however.
|
|
|
|
%patch1 -p1 -b .multilib
|
|
|
|
%patch1 -p1 -b .multilib
|
|
|
|
%patch50 -p1 -b .perl_linkage
|
|
|
|
%patch50 -p1 -b .perl_linkage
|
|
|
|
|
|
|
|
|
|
|
|
iconv -f iso-8859-2 -t utf8 < ChangeLog > ChangeLog.utf8
|
|
|
|
for f in ChangeLog.{2006,2008,2009,2012} NEWS.txt ; do
|
|
|
|
mv -f ChangeLog.utf8 ChangeLog
|
|
|
|
iconv -f iso-8859-2 -t utf8 < $f > $f.utf8
|
|
|
|
|
|
|
|
touch -r $f $f.utf8 ; mv -f $f.utf8 $f
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
# Avoid lib64 rpaths (FIXME: recheck this on newer releases)
|
|
|
|
# Avoid lib64 rpaths (FIXME: recheck this on newer releases)
|
|
|
|
%if "%{_libdir}" != "/usr/lib"
|
|
|
|
%if "%{_libdir}" != "/usr/lib"
|
|
|
|
sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
sed -i -e "s|BrowseDelegateDefault=.*|BrowseDelegateDefault=\'xdg-open\'|" configure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
--with-%{lcms} \
|
|
|
|
--with-%{lcms} \
|
|
|
|
--with-magick_plus_plus \
|
|
|
|
--with-magick_plus_plus \
|
|
|
|
--with-modules \
|
|
|
|
--with-modules \
|
|
|
@ -252,9 +262,8 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Copyright.txt
|
|
|
|
%dir %{_pkgdocdir}
|
|
|
|
%doc README.txt
|
|
|
|
%{_pkgdocdir}/Copyright.txt
|
|
|
|
%doc %{_datadir}/doc/%{name}/
|
|
|
|
|
|
|
|
%{_libdir}/libGraphicsMagick%{?libQ}.so.3*
|
|
|
|
%{_libdir}/libGraphicsMagick%{?libQ}.so.3*
|
|
|
|
%{_libdir}/libGraphicsMagickWand%{?libQ}.so.2*
|
|
|
|
%{_libdir}/libGraphicsMagickWand%{?libQ}.so.2*
|
|
|
|
%{_bindir}/[a-z]*
|
|
|
|
%{_bindir}/[a-z]*
|
|
|
@ -276,6 +285,10 @@ rm -rf %{buildroot}
|
|
|
|
%{_mandir}/man1/GraphicsMagick-config.*
|
|
|
|
%{_mandir}/man1/GraphicsMagick-config.*
|
|
|
|
%{_mandir}/man1/GraphicsMagickWand-config.*
|
|
|
|
%{_mandir}/man1/GraphicsMagickWand-config.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
|
|
%post c++ -p /sbin/ldconfig
|
|
|
|
%post c++ -p /sbin/ldconfig
|
|
|
|
%postun c++ -p /sbin/ldconfig
|
|
|
|
%postun c++ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
@ -299,6 +312,11 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jan 25 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.3.19-4
|
|
|
|
|
|
|
|
- Split docs into -doc subpackage, drop README.txt (#1056306).
|
|
|
|
|
|
|
|
- Drop no longer needed BrowseDelegateDefault modification.
|
|
|
|
|
|
|
|
- Convert docs to UTF-8.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 09 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3.19-3
|
|
|
|
* Thu Jan 09 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3.19-3
|
|
|
|
- ppc64le is a multilib arch (#1051208)
|
|
|
|
- ppc64le is a multilib arch (#1051208)
|
|
|
|
|
|
|
|
|
|
|
|