3 %bcond_without apidocs # disable gtk-doc
4 %bcond_without libgsf # build without libgsf (used for run-time decompression)
5 %bcond_without libcroco # build without CSS support through libcroco
6 %bcond_without gnomeprint # build without gnome-print support in viewer
7 %bcond_without gnomevfs # build without gnome-vfs support
9 Summary: A Raph's Library for Rendering SVG Data
10 Summary(pl): Biblioteka Raph's SVG do renderowania danych SVG
11 Summary(pt_BR): Biblioteca SVG
12 Summary(ru): SVG ÂÉÂÌÉÏÔÅËÁ
13 Summary(uk): SVG ¦Â̦ÏÔÅËÁ
21 Source0: http://ftp.gnome.org/pub/gnome/sources/librsvg/2.16/%{name}-%{version}.tar.bz2
22 # Source0-md5: 37e046571097ff7ce77ae6e07f096324
23 URL: http://librsvg.sourceforge.net/
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: cairo-devel >= 1.2.4
27 BuildRequires: glib2-devel >= 1:2.12.0
28 BuildRequires: gtk+2-devel >= 2:2.10.2
29 BuildRequires: gtk-doc-automake
30 %{?with_apidocs:BuildRequires: gtk-doc >= 1.7}
31 %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.15.92}
32 %{?with_libcroco:BuildRequires: libcroco-devel >= 0.6.1}
33 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.12.1}
34 %{?with_libgsf:BuildRequires: libgsf-devel >= 1.14.1}
35 BuildRequires: libtool
36 BuildRequires: libxml2-devel >= 1:2.6.26
37 BuildRequires: pkgconfig
38 BuildRequires: rpm-pythonprov
39 Requires(post,postun): gtk+2
40 Requires: cairo >= 1.2.4
41 Requires: glib2 >= 1:2.12.0
42 Requires: gtk+2 >= 2:2.10.2
43 %{?with_libcroco:Requires: libcroco >= 0.6.1}
44 %{?with_libgsf:Requires: libgsf >= 1.14.1}
45 Requires: libxml2 >= 1:2.6.26
46 Obsoletes: browser-plugin-librsvg
47 Obsoletes: mozilla-plugin-rsvg
49 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 An library to render SVG (scalable vector graphics), databased upon libart.
55 Biblioteka do renderowania SVG (skalowalnej grafiki wektorowej) oparta
59 Biblioteca de Extensão da Eazel.
62 âÉÂÌÉÏÔÅËÁ SVG, ÂÁÚÉÒÕÀÝÁÑÓÑ ÎÁ libart.
65 â¦Â̦ÏÔÅËÁ SVG, ÂÁÚÏ×ÁÎÁ ÎÁ libart.
68 Summary: Include files for developing with librsvg
69 Summary(pl): Pliki nag³ówkowe do tworzenia oprogramowania z u¿yciem librsvg
70 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento com a librsvg
71 Summary(ru): âÉÂÌÉÏÔÅÞÎÙÅ ÌÉÎËÉ É ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó librsvg
72 Summary(uk): â¦Â̦ÏÔÅÞΦ ̦ÎËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×Ë¦× ÄÌÑ ÒÏÚÒÏÂËÉ Ú librsvg
73 Group: Development/Libraries
74 Requires: %{name} = %{epoch}:%{version}-%{release}
75 Requires: glib2 >= 1:2.12.0
76 %{?with_gnomevfs:Requires: gnome-vfs2-devel >= 2.15.92}
77 Requires: gtk+2-devel >= 2:2.10.2
78 Requires: libart_lgpl-devel >= 2.3.17
79 %{?with_libcroco:Requires: libcroco-devel >= 0.6.1}
80 %{?with_libgsf:Requires: libgsf-devel >= 1.14.1}
81 Requires: libxml2-devel >= 2.6.26
82 Obsoletes: librsvg0-devel
85 This package provides the necessary development libraries and include
86 files to allow you to develop with librsvg.
88 %description devel -l pl
89 Pakiet zawiera pliki nag³ówkowe potrzebne do tworzenia oprogramowania
90 z wykorzystaniem librsvg.
92 %description devel -l pt_BR
93 Este pacote contém os arquivos necessários para desenvolver com base
94 na biblioteca librsvg.
96 %description devel -l ru
97 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÙÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
98 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ librsvg.
100 %description devel -l uk
101 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÅÏÂȦÄΦ ÆÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ
105 Summary: Static libraries for developing with librsvg
106 Summary(es): Archivos estáticos necesarios para el desarrollo de aplicaciones con librsvg
107 Summary(pl): Statyczne biblioteki librsvg
108 Summary(pt_BR): Arquivos estáticos necessários para o desenvolvimento de aplicações com librsvg
109 Group: Development/Libraries
110 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
113 This package contains static version of librsvg libraries.
115 %description static -l pl
116 Statyczna wersja bibliotek librsvg.
118 %description static -l pt_BR
119 Bibliotecas estáticas para o desenvolvimento de aplicações com
131 %{!?with_gnomevfs:--disable-gnome-vfs} \
132 %{!?with_gnomeprint:--disable-gnome-print} \
133 --disable-mozilla-plugin \
134 %{?with_apidocs:--enable-gtk-doc} \
135 %{!?with_libcroco:--without-croco} \
136 %{!?with_libgsf:--without-svgz} \
137 --with-html-dir=%{_gtkdocdir}/%{name}
141 rm -rf $RPM_BUILD_ROOT
144 DESTDIR=$RPM_BUILD_ROOT \
145 pkgconfigdir=%{_pkgconfigdir}
147 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.*/{engines,loaders}/*.{la,a}
150 rm -rf $RPM_BUILD_ROOT
155 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
160 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
163 %defattr(644,root,root,755)
164 %doc ChangeLog AUTHORS NEWS
165 %attr(755,root,root) %{_bindir}/rsvg*
166 %attr(755,root,root) %{_libdir}/librsvg-2.so.*.*.*
167 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/engines/*.so
168 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/loaders/*.so
169 %{_mandir}/man1/rsvg.1*
170 %{_pixmapsdir}/svg-viewer.svg
173 %defattr(644,root,root,755)
174 %attr(755,root,root) %{_libdir}/librsvg-2.so
175 %{_libdir}/librsvg-2.la
176 %{_pkgconfigdir}/librsvg-2.0.pc
177 %{_includedir}/librsvg-2
178 %{_gtkdocdir}/%{name}
181 %defattr(644,root,root,755)
182 %{_libdir}/librsvg-2.a