%bcond_without libcroco # build without CSS support through libcroco
%bcond_without gnomeprint # build without gnome-print support in viewer
%bcond_without gnomevfs # build without gnome-vfs support
+%bcond_without gnome # disable gnomeprint and gnomevfs
#
+%if %{without gnome}
+%undefine with_gnomeprint
+%undefine with_gnomevfs
+%endif
Summary: A Raph's Library for Rendering SVG Data
-Summary(pl.UTF-8): Biblioteka Raph's SVG do renderowania danych SVG
-Summary(pt_BR.UTF-8): Biblioteca SVG
-Summary(ru.UTF-8): SVG библиотека
-Summary(uk.UTF-8): SVG бібліотека
+Summary(pl.UTF-8): Biblioteka Raph's SVG do renderowania danych SVG
+Summary(pt_BR.UTF-8): Biblioteca SVG
+Summary(ru.UTF-8): SVG библиотека
+Summary(uk.UTF-8): SVG бібліотека
Name: librsvg
-Version: 2.16.1
-Release: 1
+Version: 2.18.2
+Release: 2
Epoch: 1
License: LGPL v2+
-Vendor: GNOME
Group: Libraries
-Source0: http://ftp.gnome.org/pub/gnome/sources/librsvg/2.16/%{name}-%{version}.tar.bz2
-# Source0-md5: 37e046571097ff7ce77ae6e07f096324
+Source0: http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2
+# Source0-md5: 4691ad687281e943260021272c28043e
URL: http://librsvg.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cairo-devel >= 1.2.4
-BuildRequires: glib2-devel >= 1:2.12.0
-BuildRequires: gtk+2-devel >= 2:2.10.2
+BuildRequires: glib2-devel >= 1:2.12.13
+BuildRequires: gtk+2-devel >= 2:2.10.14
BuildRequires: gtk-doc-automake
-%{?with_apidocs:BuildRequires: gtk-doc >= 1.7}
-%{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.15.92}
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.8}
+%{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.18.0}
%{?with_libcroco:BuildRequires: libcroco-devel >= 0.6.1}
-%{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.12.1}
-%{?with_libgsf:BuildRequires: libgsf-devel >= 1.14.1}
+%{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.18.0}
+%{?with_libgsf:BuildRequires: libgsf-devel >= 1.14.4}
BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.26
+BuildRequires: libxml2-devel >= 1:2.6.28
BuildRequires: pkgconfig
BuildRequires: rpm-pythonprov
Requires(post,postun): gtk+2
Requires: cairo >= 1.2.4
-Requires: glib2 >= 1:2.12.0
-Requires: gtk+2 >= 2:2.10.2
+Requires: glib2 >= 1:2.12.13
+Requires: gtk+2 >= 2:2.10.14
%{?with_libcroco:Requires: libcroco >= 0.6.1}
-%{?with_libgsf:Requires: libgsf >= 1.14.1}
-Requires: libxml2 >= 1:2.6.26
+%{?with_libgsf:Requires: libgsf >= 1.14.4}
+Requires: libxml2 >= 1:2.6.28
Obsoletes: browser-plugin-librsvg
Obsoletes: mozilla-plugin-rsvg
Obsoletes: librsvg0
%package devel
Summary: Include files for developing with librsvg
-Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia oprogramowania z użyciem librsvg
-Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento com a librsvg
-Summary(ru.UTF-8): Библиотечные линки и файлы заголовков для разработки с librsvg
-Summary(uk.UTF-8): Бібліотечні лінки та файли заголовків для розробки з librsvg
+Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia oprogramowania z użyciem librsvg
+Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento com a librsvg
+Summary(ru.UTF-8): Библиотечные линки и файлы заголовков для разработки с librsvg
+Summary(uk.UTF-8): Бібліотечні лінки та файли заголовків для розробки з librsvg
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: glib2 >= 1:2.12.0
-%{?with_gnomevfs:Requires: gnome-vfs2-devel >= 2.15.92}
-Requires: gtk+2-devel >= 2:2.10.2
+Requires: glib2 >= 1:2.12.13
+%{?with_gnomevfs:Requires: gnome-vfs2-devel >= 2.18.0}
+Requires: gtk+2-devel >= 2:2.10.14
Requires: libart_lgpl-devel >= 2.3.17
%{?with_libcroco:Requires: libcroco-devel >= 0.6.1}
-%{?with_libgsf:Requires: libgsf-devel >= 1.14.1}
-Requires: libxml2-devel >= 2.6.26
+%{?with_libgsf:Requires: libgsf-devel >= 1.14.4}
+Requires: libxml2-devel >= 2.6.28
Obsoletes: librsvg0-devel
%description devel
%package static
Summary: Static libraries for developing with librsvg
-Summary(es.UTF-8): Archivos estáticos necesarios para el desarrollo de aplicaciones con librsvg
-Summary(pl.UTF-8): Statyczne biblioteki librsvg
-Summary(pt_BR.UTF-8): Arquivos estáticos necessários para o desenvolvimento de aplicações com librsvg
+Summary(es.UTF-8): Archivos estáticos necesarios para el desarrollo de aplicaciones con librsvg
+Summary(pl.UTF-8): Statyczne biblioteki librsvg
+Summary(pt_BR.UTF-8): Arquivos estáticos necessários para o desenvolvimento de aplicações com librsvg
Group: Development/Libraries
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
Bibliotecas estáticas para o desenvolvimento de aplicações com
librsvg.
+%package apidocs
+Summary: librsvg API documentation
+Summary(pl.UTF-8): Dokumentacja API biblioteki librsvg
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+librsvg API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki librsvg.
+
%prep
%setup -q
%{_libdir}/librsvg-2.la
%{_pkgconfigdir}/librsvg-2.0.pc
%{_includedir}/librsvg-2
-%{_gtkdocdir}/%{name}
%files static
%defattr(644,root,root,755)
%{_libdir}/librsvg-2.a
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/%{name}
+%endif