|
|
|
@ -30,10 +30,14 @@
|
|
|
|
|
# trim changelog included in binary rpms
|
|
|
|
|
%global _changelog_trimtime %(date +%s -d "1 year ago")
|
|
|
|
|
|
|
|
|
|
%filter_provides_in %{_libdir}/GraphicsMagick-%{version}
|
|
|
|
|
%filter_setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: An ImageMagick fork, offering faster image generation and better quality
|
|
|
|
|
Name: GraphicsMagick
|
|
|
|
|
Version: 1.3.21
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.3.22
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
@ -50,6 +54,7 @@ Patch50: GraphicsMagick-1.3.14-perl_linkage.patch
|
|
|
|
|
## upstream patches
|
|
|
|
|
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
|
BuildRequires: cups-client
|
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
|
BuildRequires: jasper-devel
|
|
|
|
|
BuildRequires: jbigkit-devel
|
|
|
|
@ -64,6 +69,7 @@ BuildRequires: libwebp-devel
|
|
|
|
|
BuildRequires: libwmf-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: libX11-devel libXext-devel libXt-devel
|
|
|
|
|
BuildRequires: p7zip
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: xdg-utils
|
|
|
|
|
BuildRequires: xz-devel
|
|
|
|
@ -245,6 +251,9 @@ cat >%{buildroot}%{_includedir}/GraphicsMagick/magick/magick_types.h <<EOF
|
|
|
|
|
EOF
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
## unpackaged files
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/Copyright.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make %{?_smp_mflags} check ||:
|
|
|
|
@ -265,13 +274,12 @@ rm -rf %{buildroot}
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{_pkgdocdir}
|
|
|
|
|
%{_pkgdocdir}/Copyright.txt
|
|
|
|
|
%license Copyright.txt
|
|
|
|
|
%{_libdir}/libGraphicsMagick%{?libQ}.so.3*
|
|
|
|
|
%{_libdir}/libGraphicsMagickWand%{?libQ}.so.2*
|
|
|
|
|
%{_bindir}/[a-z]*
|
|
|
|
|
%{_libdir}/GraphicsMagick*
|
|
|
|
|
%{_datadir}/GraphicsMagick*
|
|
|
|
|
%{_libdir}/GraphicsMagick-%{version}/
|
|
|
|
|
%{_datadir}/GraphicsMagick-%{version}/
|
|
|
|
|
%{_mandir}/man[145]/[a-z]*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@ -294,7 +302,7 @@ rm -rf %{buildroot}
|
|
|
|
|
%postun c++ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files c++
|
|
|
|
|
%{_libdir}/libGraphicsMagick++%{?libQ}.so.11*
|
|
|
|
|
%{_libdir}/libGraphicsMagick++%{?libQ}.so.12*
|
|
|
|
|
|
|
|
|
|
%files c++-devel
|
|
|
|
|
%{_bindir}/GraphicsMagick++-config
|
|
|
|
@ -310,6 +318,9 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 04 2015 Rex Dieter <rdieter@fedoraproject.org> 1.3.22-1
|
|
|
|
|
- 1.3.22, filter provides
|
|
|
|
|
|
|
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.21-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|