|
|
@ -1,4 +1,4 @@
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
%{!?_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
|
|
|
@ -15,7 +15,7 @@
|
|
|
|
%global libQ -Q16
|
|
|
|
%global libQ -Q16
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%define multilib_archs x86_64 %{ix86} ppc64 ppc64le ppc s390x s390 sparc64 sparcv9
|
|
|
|
%global multilib_archs x86_64 %{ix86} ppc64 ppc64le ppc s390x s390 sparc64 sparcv9
|
|
|
|
# hack for older platforms/rpm-versions that do not support %%__isa_bits (like el5)
|
|
|
|
# hack for older platforms/rpm-versions that do not support %%__isa_bits (like el5)
|
|
|
|
%ifarch %{multilib_archs}
|
|
|
|
%ifarch %{multilib_archs}
|
|
|
|
%if ! 0%{?__isa_bits:1}
|
|
|
|
%if ! 0%{?__isa_bits:1}
|
|
|
@ -55,10 +55,8 @@ Patch50: GraphicsMagick-1.3.14-perl_linkage.patch
|
|
|
|
## upstream patches
|
|
|
|
## upstream patches
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: cups-client
|
|
|
|
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: jasper-devel
|
|
|
|
BuildRequires: jasper-devel
|
|
|
|
BuildRequires: jbigkit-devel
|
|
|
|
|
|
|
|
BuildRequires: %{lcms}-devel
|
|
|
|
BuildRequires: %{lcms}-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
@ -66,10 +64,10 @@ BuildRequires: librsvg2-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libtool-ltdl-devel
|
|
|
|
BuildRequires: libtool-ltdl-devel
|
|
|
|
BuildRequires: libungif-devel
|
|
|
|
BuildRequires: libungif-devel
|
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
|
|
|
|
BuildRequires: libwmf-devel
|
|
|
|
BuildRequires: libwmf-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libX11-devel libXext-devel libXt-devel
|
|
|
|
BuildRequires: libX11-devel libXext-devel libXt-devel
|
|
|
|
|
|
|
|
BuildRequires: lpr
|
|
|
|
BuildRequires: p7zip
|
|
|
|
BuildRequires: p7zip
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: xdg-utils
|
|
|
|
BuildRequires: xdg-utils
|
|
|
@ -77,6 +75,11 @@ BuildRequires: xz-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
## FIXME: %%check stuff
|
|
|
|
## FIXME: %%check stuff
|
|
|
|
#BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
#BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
|
|
|
|
## conditional deps
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
|
|
|
|
|
|
|
BuildRequires: jbigkit-devel
|
|
|
|
|
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# upgrade path for introduction of -doc subpkg in 1.3.19-4
|
|
|
|
# upgrade path for introduction of -doc subpkg in 1.3.19-4
|
|
|
|
Obsoletes: GraphicsMagick < 1.3.19-4
|
|
|
|
Obsoletes: GraphicsMagick < 1.3.19-4
|
|
|
@ -275,6 +278,7 @@ rm -rf %{buildroot}
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
|
%license Copyright.txt
|
|
|
|
%license Copyright.txt
|
|
|
|
%{_libdir}/libGraphicsMagick%{?libQ}.so.3*
|
|
|
|
%{_libdir}/libGraphicsMagick%{?libQ}.so.3*
|
|
|
|
%{_libdir}/libGraphicsMagickWand%{?libQ}.so.2*
|
|
|
|
%{_libdir}/libGraphicsMagickWand%{?libQ}.so.2*
|
|
|
@ -319,6 +323,9 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Feb 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.3.23-4
|
|
|
|
|
|
|
|
- make .spec el5/el6-compatible again
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.23-3
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.23-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|