|
|
|
@ -1,12 +1,7 @@
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
|
|
|
|
%global _with_quantum_depth --with-quantum-depth=16
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
|
|
|
|
%global _enable_quantum_library_names --enable-quantum-library-names
|
|
|
|
|
%global libQ -Q16
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
%global perl 1
|
|
|
|
@ -31,8 +26,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: An ImageMagick fork, offering faster image generation and better quality
|
|
|
|
|
Name: GraphicsMagick
|
|
|
|
|
Version: 1.3.35
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.3.36
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
Source0: http://downloads.sourceforge.net/sourceforge/graphicsmagick/GraphicsMagick-%{version}.tar.xz
|
|
|
|
@ -82,9 +77,9 @@ BuildRequires: libwebp-devel
|
|
|
|
|
# upgrade path for introduction of -doc subpkg in 1.3.19-4
|
|
|
|
|
Obsoletes: GraphicsMagick < 1.3.19-4
|
|
|
|
|
|
|
|
|
|
# depend on stuff referenced below
|
|
|
|
|
# --with-gs-font-dir=%%{_datadir}/fonts/default/Type1
|
|
|
|
|
Requires: urw-fonts
|
|
|
|
|
BuildRequires: urw-base35-fonts-devel
|
|
|
|
|
## FIXME/TODO: verify if all of these are needed or just some subset (suspect the latter) -- rdieter
|
|
|
|
|
Requires: urw-base35-fonts
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
GraphicsMagick is a comprehensive image processing package which is initially
|
|
|
|
@ -181,7 +176,10 @@ sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -DFT_ENCODING_PRC=FT_ENCODING_GB2312"
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
|
# FIXME/TODO: --with-gs-font-dir needs adjustment for newer releases
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-shared --disable-static \
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
|
--with-lcms2 \
|
|
|
|
|
--with-magick_plus_plus \
|
|
|
|
@ -200,7 +198,7 @@ CFLAGS="$RPM_OPT_FLAGS -DFT_ENCODING_PRC=FT_ENCODING_GB2312"
|
|
|
|
|
--with-xml \
|
|
|
|
|
--without-dps \
|
|
|
|
|
--without-gslib \
|
|
|
|
|
--with-gs-font-dir=%{_datadir}/fonts/default/Type1
|
|
|
|
|
--with-gs-font-dir=%{urw_base35_fontpath}
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
%if 0%{?perl}
|
|
|
|
@ -333,6 +331,9 @@ exit 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Dec 30 2020 Rex Dieter <rdieter@fedoraproject.org> - 1.3.36-1
|
|
|
|
|
- 1.3.36
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.35-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|