|
|
@ -7,13 +7,16 @@
|
|
|
|
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.13
|
|
|
|
Version: 1.3.13
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Source0: http://downloads.sourceforge.net/sourceforge/graphicsmagick/GraphicsMagick-%{version}.tar.xz
|
|
|
|
Source0: http://downloads.sourceforge.net/sourceforge/graphicsmagick/GraphicsMagick-%{version}.tar.xz
|
|
|
|
Url: http://www.graphicsmagick.org/
|
|
|
|
Url: http://www.graphicsmagick.org/
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
|
|
|
|
Patch50: GraphicsMagick-1.3.13-perl_linkage.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: jasper-devel
|
|
|
|
BuildRequires: jasper-devel
|
|
|
@ -34,6 +37,10 @@ BuildRequires: zlib-devel
|
|
|
|
## FIXME: %%check stuff
|
|
|
|
## FIXME: %%check stuff
|
|
|
|
#BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
#BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# depend on stuff referenced below
|
|
|
|
|
|
|
|
# --with-gs-font-dir=%{_datadir}/fonts/default/Type1
|
|
|
|
|
|
|
|
Requires: urw-fonts
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
GraphicsMagick is a comprehensive image processing package which is initially
|
|
|
|
GraphicsMagick is a comprehensive image processing package which is initially
|
|
|
|
based on ImageMagick 5.5.2, but which has undergone significant re-work by
|
|
|
|
based on ImageMagick 5.5.2, but which has undergone significant re-work by
|
|
|
@ -102,6 +109,8 @@ however.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%patch50 -p1 -b .perl_linkage
|
|
|
|
|
|
|
|
|
|
|
|
iconv -f iso-8859-2 -t utf8 < ChangeLog > ChangeLog.utf8
|
|
|
|
iconv -f iso-8859-2 -t utf8 < ChangeLog > ChangeLog.utf8
|
|
|
|
mv -f ChangeLog.utf8 ChangeLog
|
|
|
|
mv -f ChangeLog.utf8 ChangeLog
|
|
|
|
|
|
|
|
|
|
|
@ -127,7 +136,6 @@ sed -i -e "s|BrowseDelegateDefault=.*|BrowseDelegateDefault=\'xdg-open\'|" confi
|
|
|
|
--with-xml \
|
|
|
|
--with-xml \
|
|
|
|
--without-dps \
|
|
|
|
--without-dps \
|
|
|
|
--without-gslib \
|
|
|
|
--without-gslib \
|
|
|
|
--with-windows-font-dir=%{_datadir}/fonts/msttcorefonts \
|
|
|
|
|
|
|
|
--with-gs-font-dir=%{_datadir}/fonts/default/Type1
|
|
|
|
--with-gs-font-dir=%{_datadir}/fonts/default/Type1
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
@ -196,8 +204,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make check ||:
|
|
|
|
make check #|| cat PerlMagick/PerlMagickCheck.log ; make check-perl
|
|
|
|
make check-perl ||:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
@ -256,6 +263,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 23 2012 Rex Dieter <rdieter@fedoraproject.org> 1.3.13-2
|
|
|
|
|
|
|
|
- Bad font configuration (#783906)
|
|
|
|
|
|
|
|
- re-introduce perl_linkage patch, fixes %%check
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2012 Rex Dieter <rdieter@fedoraproject.org> 1.3.13-1
|
|
|
|
* Thu Jan 12 2012 Rex Dieter <rdieter@fedoraproject.org> 1.3.13-1
|
|
|
|
- 1.3.13
|
|
|
|
- 1.3.13
|
|
|
|
|
|
|
|
|
|
|
|