]> git.pld-linux.org Git - packages/librsvg.git/blobdiff - librsvg.spec
- updated link patch (for libgsf and libcroco)
[packages/librsvg.git] / librsvg.spec
index 17ded35d3d90ee7f85b45edd092c52c1987f3f52..88342a1fab9f794be64f2e1544b034f7006e226f 100644 (file)
@@ -1,7 +1,8 @@
-
+#
 # Conditional build
 # _without_gimp                - without gimp svg plugin
-
+# _without_libgsf      - without libgsf (used for run-time decompression)
+#
 %ifarch ppc
 %define        _without_gimp   1
 %endif
@@ -12,13 +13,13 @@ Summary(pt_BR):     Biblioteca SVG
 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
@@ -27,11 +28,14 @@ BuildRequires:      freetype-devel >= 2.0.1
 %{!?_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
 
@@ -60,6 +64,10 @@ Summary(ru): 
 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
@@ -123,7 +131,8 @@ Wtyczka SVG dla Gimpa.
 %{__autoconf}
 %{__automake}
 %configure \
-    %{?_without_gimp:--without-gimp}
+       %{?_without_gimp:--without-gimp} \
+       %{?_without_libgsf:--without-svgz}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.063395 seconds and 4 git commands to generate.