This commit is contained in:
Matthias Clasen 2010-03-30 01:33:51 +00:00
parent e37f75eeee
commit e70cb10a31
3 changed files with 31 additions and 35 deletions

View File

@ -1 +1 @@
librsvg-2.26.0.tar.bz2 librsvg-2.26.1.tar.bz2

View File

@ -10,29 +10,27 @@
%define libgsf_version 1.6.0 %define libgsf_version 1.6.0
%define gnome_vfs_version 1.9.16 %define gnome_vfs_version 1.9.16
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.1
Release: 4%{?dist} Release: 1%{?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
# https://bugzilla.gnome.org/show_bug.cgi?id=609935
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}
Requires: cairo >= %{cairo_version} Requires: cairo >= %{cairo_version}
Requires: libgsf >= %{libgsf_version} Requires: libgsf >= %{libgsf_version}
Requires(post): gtk2 >= %{gtk2_version} Requires(post): gtk2 >= %{gtk2_version}
Requires(postun): gtk2 >= %{gtk2_version} Requires(postun): gtk2 >= %{gtk2_version}
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libxml2-devel >= %{libxml2_version} BuildRequires: libxml2-devel >= %{libxml2_version}
BuildRequires: freetype-devel >= %{freetype_version} BuildRequires: freetype-devel >= %{freetype_version}
BuildRequires: cairo-devel >= %{cairo_version} BuildRequires: cairo-devel >= %{cairo_version}
BuildRequires: libgsf-devel, libcroco-devel BuildRequires: libgsf-devel, libcroco-devel
BuildRequires: libcroco >= %{libcroco_version} BuildRequires: libcroco >= %{libcroco_version}
@ -41,19 +39,18 @@ 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.
%package devel %package devel
Summary: Libraries and include files for developing with librsvg Summary: Libraries and include files for developing with librsvg
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: gtk2-devel >= %{gtk2_version} Requires: gtk2-devel >= %{gtk2_version}
Requires: libxml2-devel >= %{libxml2_version} Requires: libxml2-devel >= %{libxml2_version}
Requires: freetype-devel >= %{freetype_version} Requires: freetype-devel >= %{freetype_version}
Requires: libgsf-devel >= %{libgsf_version} Requires: libgsf-devel >= %{libgsf_version}
Requires: libcroco-devel >= %{libcroco_version} Requires: libcroco-devel >= %{libcroco_version}
Requires: pkgconfig Requires: pkgconfig
@ -64,22 +61,18 @@ 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 \
--disable-gtk-doc \ --disable-gtk-doc \
--enable-gtk-theme \ --enable-gtk-theme \
--enable-gnome-vfs \ --with-croco \
--with-croco \
make make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%makeinstall make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/libsvg.a rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/libsvg.a
@ -122,6 +115,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_datadir}/gtk-doc/html/rsvg %doc %{_datadir}/gtk-doc/html/rsvg
%changelog %changelog
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> - 2.26.1-1
- Update to 2.26.1
* Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.26.0-4 * Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.26.0-4
- Add missing libs - Add missing libs

View File

@ -1 +1 @@
65dbd726a514fe8b797d26254b8efc1e librsvg-2.26.0.tar.bz2 d1da797fa0a84da9d1849bb1a1575464 librsvg-2.26.1.tar.bz2