- GraphicsMagick-1.1.15

- fix BuildRoot
- multiarch conflicts in GraphicsMagick (#341381)
- broken -L in GraphicsMagick.pc (#456466)
- %files: track sonames
epel9
Rex Dieter 16 years ago
parent 4328439f97
commit 50e9f3b564

@ -1 +1 @@
GraphicsMagick-1.1.14.tar.bz2 GraphicsMagick-1.1.15.tar.bz2

@ -0,0 +1,33 @@
diff -up GraphicsMagick-1.1.15/magick/GraphicsMagick-config.in.multilib GraphicsMagick-1.1.15/magick/GraphicsMagick-config.in
--- GraphicsMagick-1.1.15/magick/GraphicsMagick-config.in.multilib 2003-07-12 13:33:04.000000000 -0500
+++ GraphicsMagick-1.1.15/magick/GraphicsMagick-config.in 2009-06-30 10:16:25.398703465 -0500
@@ -30,16 +30,16 @@ while test $# -gt 0; do
echo @PACKAGE_VERSION@
;;
--cflags)
- echo '@CFLAGS@'
+ echo ''
;;
--cppflags)
echo '@MAGICK_API_CPPFLAGS@'
;;
--ldflags)
- echo '@MAGICK_API_LDFLAGS@'
+ echo ''
;;
--libs)
- echo '@MAGICK_API_LIBS@'
+ echo '-lGraphicsMagick'
;;
*)
echo "${usage}" 1>&2
diff -up GraphicsMagick-1.1.15/magick/GraphicsMagick.pc.in.multilib GraphicsMagick-1.1.15/magick/GraphicsMagick.pc.in
--- GraphicsMagick-1.1.15/magick/GraphicsMagick.pc.in.multilib 2007-04-08 20:12:40.000000000 -0500
+++ GraphicsMagick-1.1.15/magick/GraphicsMagick.pc.in 2009-06-30 10:16:15.015703583 -0500
@@ -8,5 +8,5 @@ Name: GraphicsMagick
Version: @PACKAGE_VERSION@
Description: GraphicsMagick image processing library
Requires:
-Libs: @MAGICK_API_LDFLAGS@ @MAGICK_API_LIBS@
+Libs: -lGraphicsMagick
Cflags: -I${includedir} @MAGICK_API_CPPFLAGS@

@ -1,15 +1,18 @@
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.1.14 Version: 1.1.15
Release: 4%{?dist} Release: 1%{?dist}
License: MIT License: MIT
Group: Applications/Multimedia Group: Applications/Multimedia
Source0: http://download.sourceforge.net/graphicsmagick/GraphicsMagick-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/sourceforge/graphicsmagick/GraphicsMagick-%{version}.tar.bz2
Patch0: GraphicsMagick-gslib.patch Patch0: GraphicsMagick-gslib.patch
Patch1: GraphicsMagick-perl.patch Patch1: GraphicsMagick-perl.patch
Patch2: GraphicsMagick-1.1.10-gcc43.patch Patch2: GraphicsMagick-1.1.10-gcc43.patch
# hack out multilib issues, esp since we know we're in default search paths
Patch3: GraphicsMagick-1.1.15-multilib.patch
Url: http://www.graphicsmagick.org/ Url: http://www.graphicsmagick.org/
Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel
BuildRequires: libtiff-devel, libungif-devel, zlib-devel, perl BuildRequires: libtiff-devel, libungif-devel, zlib-devel, perl
BuildRequires: freetype-devel >= 2.0.1 BuildRequires: freetype-devel >= 2.0.1
@ -90,12 +93,19 @@ however.
#%patch0 -p 1 -b .gslib #%patch0 -p 1 -b .gslib
%patch1 -p 1 -b .perl %patch1 -p 1 -b .perl
%patch2 -p1 -b .gcc43 %patch2 -p1 -b .gcc43
%patch3 -p1 -b .multilib
# Regenerating configure script # Regenerating configure script
#autoconf #autoconf
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
# Avoid lib64 rpaths (FIXME: recheck this on newer releases)
%if "%{_libdir}" != "/usr/lib"
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%endif
%build %build
%configure --enable-shared \ %configure --enable-shared \
--with-modules \ --with-modules \
@ -116,7 +126,8 @@ mv -f ChangeLog.utf8 ChangeLog
# Avoid bogus RPATHs on x86_64 # Avoid bogus RPATHs on x86_64
sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
make make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
@ -196,8 +207,8 @@ rm -rf %{buildroot}
%doc Copyright.txt %doc Copyright.txt
%doc README.txt AUTHORS %doc README.txt AUTHORS
%doc %{_datadir}/doc/%{name}/ %doc %{_datadir}/doc/%{name}/
%attr(755,root,root) %{_libdir}/libGraphicsMagick.so.* %attr(755,root,root) %{_libdir}/libGraphicsMagick.so.1*
%attr(755,root,root) %{_libdir}/libGraphicsMagickWand.so.* %attr(755,root,root) %{_libdir}/libGraphicsMagickWand.so.0*
%{_bindir}/[a-z]* %{_bindir}/[a-z]*
%{_libdir}/GraphicsMagick* %{_libdir}/GraphicsMagick*
%{_datadir}/GraphicsMagick* %{_datadir}/GraphicsMagick*
@ -235,6 +246,13 @@ rm -rf %{buildroot}
%changelog %changelog
* Tue Jun 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.15-1
- GraphicsMagick-1.1.15
- fix BuildRoot
- multiarch conflicts in GraphicsMagick (#341381)
- broken -L in GraphicsMagick.pc (#456466)
- %%files: track sonames
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-4 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

@ -1 +1 @@
a4085265d4493a090557534b938ce942 GraphicsMagick-1.1.14.tar.bz2 e8b1393b14356fc2baf0f79db100cce8 GraphicsMagick-1.1.15.tar.bz2

Loading…
Cancel
Save