|
|
@ -1,16 +1,14 @@
|
|
|
|
%{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
%{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
|
|
|
%global _with_quantum_depth --with-quantum-depth=16
|
|
|
|
%global _with_quantum_depth --with-quantum-depth=16
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 16 || 0%{?rhel} > 6
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 5
|
|
|
|
%global lcms lcms2
|
|
|
|
%global lcms2 --with-lcms2
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global lcms lcms
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 18 || 0%{?rhel} > 6
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
|
|
|
%global _enable_quantum_library_names --enable-quantum-library-names
|
|
|
|
%global _enable_quantum_library_names --enable-quantum-library-names
|
|
|
|
%global libQ -Q16
|
|
|
|
%global libQ -Q16
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -38,7 +36,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.23
|
|
|
|
Version: 1.3.23
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Group: Applications/Multimedia
|
|
|
@ -57,7 +55,9 @@ Patch50: GraphicsMagick-1.3.14-perl_linkage.patch
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: jasper-devel
|
|
|
|
BuildRequires: jasper-devel
|
|
|
|
BuildRequires: %{lcms}-devel
|
|
|
|
%if 0%{?lcms2:1}
|
|
|
|
|
|
|
|
BuildRequires: lcms2-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: librsvg2-devel
|
|
|
|
BuildRequires: librsvg2-devel
|
|
|
@ -181,7 +181,7 @@ sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
--with-%{lcms} \
|
|
|
|
%{?lcms2} \
|
|
|
|
--with-magick_plus_plus \
|
|
|
|
--with-magick_plus_plus \
|
|
|
|
--with-modules \
|
|
|
|
--with-modules \
|
|
|
|
--with-perl \
|
|
|
|
--with-perl \
|
|
|
@ -323,6 +323,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Mar 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.3.23-5
|
|
|
|
|
|
|
|
- LCMS support broken in GraphicsMagick 1.3.23 (#1314898)
|
|
|
|
|
|
|
|
- simplify .spec conditionals (EOL fedora releases mostly)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.3.23-4
|
|
|
|
* Mon Feb 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.3.23-4
|
|
|
|
- make .spec el5/el6-compatible again
|
|
|
|
- make .spec el5/el6-compatible again
|
|
|
|
|
|
|
|
|
|
|
|