2 # - mozilla_firefox bcond/subpackage
5 %bcond_without libgsf # build without libgsf (used for run-time decompression)
6 %bcond_without libcroco # build without CSS support through libcroco
7 %bcond_without gnomeprint # build without gnome-print support in viewer
8 %bcond_without gnomevfs # build without gnome-vfs support
9 %bcond_without mozilla # do not build mozilla plugin
11 Summary: Raph's SVG library
12 Summary(pl): Biblioteka Raph's SVG
13 Summary(pt_BR): Biblioteca SVG
14 Summary(ru): SVG ÂÉÂÌÉÏÔÅËÁ
15 Summary(uk): SVG ¦Â̦ÏÔÅËÁ
23 Source0: http://ftp.gnome.org/pub/gnome/sources/librsvg/2.12/%{name}-%{version}.tar.bz2
24 # Source0-md5: 2113f01fbf228f3f8fc17c49966143fe
25 URL: http://librsvg.sourceforge.net/
26 BuildRequires: autoconf
27 BuildRequires: automake
28 BuildRequires: gtk+2-devel >= 2:2.8.6
29 BuildRequires: gtk-doc >= 0.9
30 %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.10.0-2}
31 BuildRequires: libart_lgpl-devel >= 2.3.15
32 %{?with_libcroco:BuildRequires: libcroco-devel >= 0.6.0}
33 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.12.1}
34 %{?with_libgsf:BuildRequires: libgsf-devel >= 1.13.2}
35 BuildRequires: libtool
36 BuildRequires: libxml2-devel >= 2.6.22
37 %{?with_mozilla:BuildRequires: mozilla-devel}
38 BuildRequires: popt-devel >= 1.5
39 BuildRequires: pkgconfig
40 BuildRequires: xcursor-devel
41 BuildRequires: xft-devel
42 BuildRequires: xrender-devel
43 %{!?with_gnomeprint:BuildConflicts: libgnomeprintui-devel}
44 Requires(post,postun): gtk+2
45 Requires: gtk+2 >= 2:2.8.6
46 Requires: libart_lgpl >= 2.3.15
47 %{?with_libcroco:Requires: libcroco >= 0.6.0}
48 %{?with_libgsf:Requires: libgsf >= 1.13.2}
49 Requires: libxml2 >= 2.6.22
52 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 %define mozilladir %{_libdir}/mozilla
57 An SVG library based upon libart.
60 Biblioteka do obs³ugi grafiki wektorowej.
63 Biblioteca de Extensão da Eazel.
66 âÉÂÌÉÏÔÅËÁ SVG, ÂÁÚÉÒÕÀÝÁÑÓÑ ÎÁ libart.
69 â¦Â̦ÏÔÅËÁ SVG, ÂÁÚÏ×ÁÎÁ ÎÁ libart.
72 Summary: Include files for developing with librsvg
73 Summary(pl): Pliki nag³ówkowe do tworzenia oprogramowania z u¿yciem librsvg
74 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento com a librsvg
75 Summary(ru): âÉÂÌÉÏÔÅÞÎÙÅ ÌÉÎËÉ É ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó librsvg
76 Summary(uk): â¦Â̦ÏÔÅÞΦ ̦ÎËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×Ë¦× ÄÌÑ ÒÏÚÒÏÂËÉ Ú librsvg
77 Group: Development/Libraries
78 Requires: %{name} = %{epoch}:%{version}-%{release}
79 %{?with_gnomevfs:Requires: gnome-vfs2-devel >= 2.10.0-2}
80 Requires: gtk+2-devel >= 2:2.8.6
81 Requires: libart_lgpl-devel >= 2.3.15
82 %{?with_libcroco:Requires: libcroco-devel >= 0.6.0}
83 %{?with_libgsf:Requires: libgsf-devel >= 1.13.2}
84 Requires: libxml2-devel >= 2.6.22
85 Obsoletes: librsvg0-devel
88 This package provides the necessary development libraries and include
89 files to allow you to develop with librsvg.
91 %description devel -l pl
92 Pakiet zawiera pliki nag³ówkowe potrzebne do tworzenia oprogramowania
93 z wykorzystaniem librsvg.
95 %description devel -l pt_BR
96 Este pacote contém os arquivos necessários para desenvolver com base
97 na biblioteca librsvg.
99 %description devel -l ru
100 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÙÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
101 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ librsvg.
103 %description devel -l uk
104 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÅÏÂȦÄΦ ÆÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ
108 Summary: Static libraries for developing with librsvg
109 Summary(es): Archivos estáticos necesarios para el desarrollo de aplicaciones con librsvg
110 Summary(pl): Statyczne biblioteki librsvg
111 Summary(pt_BR): Arquivos estáticos necessários para o desenvolvimento de aplicações com librsvg
112 Group: Development/Libraries
113 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
116 This package contains static version of librsvg libraries.
118 %description static -l pl
119 Statyczna wersja bibliotek librsvg.
121 %description static -l pt_BR
122 Bibliotecas estáticas para o desenvolvimento de aplicações com
125 %package -n mozilla-plugin-rsvg
126 Summary: Mozilla SVG plugin using librsvg
127 Summary(pl): Wtyczka Mozilli do SVG wykorzystuj±ca librsvg
128 Group: X11/Applications/Multimedia
129 Requires: %{name} = %{epoch}:%{version}-%{release}
132 %description -n mozilla-plugin-rsvg
133 This plugin allows Mozilla-family browsers to view Scalable Vector
134 Graphics content using librsvg.
136 %description -n mozilla-plugin-rsvg -l pl
137 Ta wtyczka pozwala na ogl±danie grafiki w formacie SVG (Scalable
138 Vector Graphics) w przegl±darkach z rodziny Mozilli.
143 # obsolete macro (defined as empty in gnome-common)
144 %{__perl} -pi -e 's/GNOME_REQUIRE_PKGCONFIG//' configure.in
147 %{!?with_mozilla:export MOZILLA_CONFIG=no}
153 %{!?with_libcroco:--without-croco} \
154 %{!?with_libgsf:--without-svgz} \
155 %{!?with_gnomevfs:--disable-gnome-vfs} \
157 --with-html-dir=%{_gtkdocdir}/%{name}
161 rm -rf $RPM_BUILD_ROOT
164 DESTDIR=$RPM_BUILD_ROOT \
165 pkgconfigdir=%{_pkgconfigdir}
167 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.*/{engines,loaders}/*.{la,a}
168 rm -f $RPM_BUILD_ROOT%{mozilladir}/plugins/*.{la,a}
171 rm -rf $RPM_BUILD_ROOT
176 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
181 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
184 %defattr(644,root,root,755)
185 %doc ChangeLog AUTHORS NEWS
186 %attr(755,root,root) %{_bindir}/*
187 %attr(755,root,root) %{_libdir}/lib*.so.*.*
188 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/engines/*.so
189 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/loaders/*.so
190 %{_mandir}/man1/rsvg.1*
194 %defattr(644,root,root,755)
195 %attr(755,root,root) %{_libdir}/lib*.so
197 %{_pkgconfigdir}/*.pc
198 %{_includedir}/librsvg-2
199 %{_gtkdocdir}/%{name}
202 %defattr(644,root,root,755)
206 %files -n mozilla-plugin-rsvg
207 %defattr(644,root,root,755)
208 %attr(755,root,root) %{mozilladir}/plugins/*.so