add missing libs

This commit is contained in:
Matthias Clasen 2010-02-14 19:14:31 +00:00
parent b478f45a88
commit 14b032a199
2 changed files with 21 additions and 2 deletions

10
librsvg-libs.patch Normal file
View File

@ -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

View File

@ -13,12 +13,14 @@
Name: librsvg2 Name: librsvg2
Summary: An SVG library based on cairo Summary: An SVG library based on cairo
Version: 2.26.0 Version: 2.26.0
Release: 3%{?dist} Release: 4%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://download.gnome.org/sources/librsvg/2.26/librsvg-%{version}.tar.bz2 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: gtk2 >= %{gtk2_version}
Requires: libxml2 >= %{libxml2_version} Requires: libxml2 >= %{libxml2_version}
Requires: freetype >= %{freetype_version} Requires: freetype >= %{freetype_version}
@ -39,6 +41,7 @@ BuildRequires: libgnomeui-devel
BuildRequires: libgsf-devel >= %{libgsf_version} BuildRequires: libgsf-devel >= %{libgsf_version}
# grr, librsvg does not install api docs if --disable-gtk-doc # grr, librsvg does not install api docs if --disable-gtk-doc
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: autoconf automake libtool
%description %description
An SVG library based on cairo. An SVG library based on cairo.
@ -61,6 +64,9 @@ files to allow you to develop with librsvg.
%prep %prep
%setup -q -n librsvg-%{version} %setup -q -n librsvg-%{version}
%patch0 -p1 -b .libs
autoreconf -i -f
%build %build
%configure --with-svgz \ %configure --with-svgz \
@ -116,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_datadir}/gtk-doc/html/rsvg %doc %{_datadir}/gtk-doc/html/rsvg
%changelog %changelog
* Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.26.0-4
- Add missing libs
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.26.0-3 * Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.26.0-3
- Convert specfile to UTF-8. - Convert specfile to UTF-8.