diff --git a/librsvg-libs.patch b/librsvg-libs.patch new file mode 100644 index 0000000..334dc66 --- /dev/null +++ b/librsvg-libs.patch @@ -0,0 +1,10 @@ +diff -up librsvg-2.26.0/Makefile.am.libs librsvg-2.26.0/Makefile.am +diff -up librsvg-2.26.0/tests/pdiff/Makefile.am.libs librsvg-2.26.0/tests/pdiff/Makefile.am +--- librsvg-2.26.0/tests/pdiff/Makefile.am.libs 2010-02-14 14:09:53.701154808 -0500 ++++ librsvg-2.26.0/tests/pdiff/Makefile.am 2010-02-14 14:10:08.450903872 -0500 +@@ -13,4 +13,4 @@ perceptualdiff_SOURCES = \ + perceptualdiff.c + + INCLUDES = $(LIBRSVG_CFLAGS) +-LDADD = libpdiff.la $(LIBRSVG_LIBS) ++LDADD = libpdiff.la $(LIBRSVG_LIBS) -lm diff --git a/librsvg2.spec b/librsvg2.spec index 3c08db0..1bff954 100644 --- a/librsvg2.spec +++ b/librsvg2.spec @@ -13,12 +13,14 @@ Name: librsvg2 Summary: An SVG library based on cairo Version: 2.26.0 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: http://download.gnome.org/sources/librsvg/2.26/librsvg-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# +Patch0: librsvg-libs.patch + Requires: gtk2 >= %{gtk2_version} Requires: libxml2 >= %{libxml2_version} Requires: freetype >= %{freetype_version} @@ -39,6 +41,7 @@ BuildRequires: libgnomeui-devel BuildRequires: libgsf-devel >= %{libgsf_version} # grr, librsvg does not install api docs if --disable-gtk-doc BuildRequires: gtk-doc +BuildRequires: autoconf automake libtool %description An SVG library based on cairo. @@ -61,6 +64,9 @@ files to allow you to develop with librsvg. %prep %setup -q -n librsvg-%{version} +%patch0 -p1 -b .libs + +autoreconf -i -f %build %configure --with-svgz \ @@ -116,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT %doc %{_datadir}/gtk-doc/html/rsvg %changelog +* Sun Feb 14 2010 Matthias Clasen - 2.26.0-4 +- Add missing libs + * Mon Aug 10 2009 Ville Skyttä - 2.26.0-3 - Convert specfile to UTF-8.