-
+#
# Conditional build
# _without_gimp - without gimp svg plugin
-
+# _without_libgsf - without libgsf (used for run-time decompression)
+#
%ifarch ppc
%define _without_gimp 1
%endif
Summary(uk): SVG ¦Â̦ÏÔÅËÁ
Summary(uk): SVG ¦Â̦ÏÔÅËÁ
Name: librsvg
-Version: 2.3.0
-Release: 3
+Version: 2.3.1
+Release: 1
License: LGPL
Vendor: GNOME
Group: Libraries
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.3/%{name}-%{version}.tar.bz2
-# Source0-md5: 31139e949850f79fa44e089ef10543c2
+# Source0-md5: ef9317a3df6d99a44ddf75e4fbcaab4a
Patch0: %{name}-link.patch
URL: http://nautilus.eazel.com/
BuildRequires: autoconf
%{!?_without_gimp:BuildRequires: gimp-devel >= 1.3.12}
BuildRequires: gtk+2-devel >= 2.2.0
BuildRequires: libart_lgpl-devel >= 2.3.11
+# TODO: libcroco-devel >= 0.1.0 (optional)
+%{!?_without_libgsf:BuildRequires: libgsf-devel >= 1.6.0}
BuildRequires: libpng-devel
BuildRequires: libtool
BuildRequires: libxml2-devel >= 2.5.1
-BuildRequires: popt-devel
+BuildRequires: popt-devel >= 1.5
Requires: gtk+2 >= 2.2.0
+Requires: popt >= 1.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: librsvg0
Summary(uk): â¦Â̦ÏÔÅÞΦ ̦ÎËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×Ë¦× ÄÌÑ ÒÏÚÒÏÂËÉ Ú librsvg
Group: Development/Libraries
Requires: %{name} = %{version}
+Requires: gtk+2-devel >= 2.2.0
+Requires: libart_lgpl-devel >= 2.3.11
+%{!?_without_libgsf:Requires: libgsf-devel >= 1.6.0}
+Requires: libxml2-devel >= 2.5.1
Obsoletes: librsvg0-devel
%description devel
%{__autoconf}
%{__automake}
%configure \
- %{?_without_gimp:--without-gimp}
+ %{?_without_gimp:--without-gimp} \
+ %{?_without_libgsf:--without-svgz}
%install
rm -rf $RPM_BUILD_ROOT