2 # - mozilla_firefox bcond/subpackage
5 %bcond_without apidocs # disable gtk-doc
6 %bcond_without libgsf # build without libgsf (used for run-time decompression)
7 %bcond_without libcroco # build without CSS support through libcroco
8 %bcond_without gnomeprint # build without gnome-print support in viewer
9 %bcond_without gnomevfs # build without gnome-vfs support
10 %bcond_without mozilla # do not build mozilla plugin
12 Summary: Raph's SVG library
13 Summary(pl): Biblioteka Raph's SVG
14 Summary(pt_BR): Biblioteca SVG
15 Summary(ru): SVG ÂÉÂÌÉÏÔÅËÁ
16 Summary(uk): SVG ¦Â̦ÏÔÅËÁ
24 Source0: http://ftp.gnome.org/pub/gnome/sources/librsvg/2.14/%{name}-%{version}.tar.bz2
25 # Source0-md5: f926aa102ccc3ce99ddf257fcce8ebf4
26 URL: http://librsvg.sourceforge.net/
27 BuildRequires: autoconf
28 BuildRequires: automake
29 BuildRequires: cairo-devel >= 1.0.2
30 BuildRequires: gtk+2-devel >= 2:2.8.6
31 %{?with_apidocs:BuildRequires: gtk-doc >= 0.9}
32 %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.10.0-2}
33 %{?with_libcroco:BuildRequires: libcroco-devel >= 0.6.1}
34 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.12.1}
35 %{?with_libgsf:BuildRequires: libgsf-devel >= 1.13.2}
36 BuildRequires: libtool
37 BuildRequires: libxml2-devel >= 1:2.6.22
38 %{?with_mozilla:BuildRequires: mozilla-devel}
39 BuildRequires: popt-devel >= 1.5
40 BuildRequires: pkgconfig
41 BuildRequires: rpm-pythonprov
42 BuildRequires: xorg-lib-libXcursor-devel
43 BuildRequires: xorg-lib-libXft-devel
44 # CHECK ME! next two are propably not directly required here
45 BuildRequires: xorg-lib-libXinerama-devel
46 BuildRequires: xorg-lib-libXrandr-devel
47 BuildRequires: xorg-lib-libXrender-devel
48 %{!?with_gnomeprint:BuildConflicts: libgnomeprintui-devel}
49 Requires(post,postun): gtk+2
50 Requires: cairo >= 1.0.2
51 Requires: gtk+2 >= 2:2.8.6
52 %{?with_libcroco:Requires: libcroco >= 0.6.1}
53 %{?with_libgsf:Requires: libgsf >= 1.13.2}
54 Requires: libxml2 >= 1:2.6.22
57 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59 %define mozilladir %{_libdir}/mozilla
62 An SVG library based upon libart.
65 Biblioteka do obs³ugi grafiki wektorowej.
68 Biblioteca de Extensão da Eazel.
71 âÉÂÌÉÏÔÅËÁ SVG, ÂÁÚÉÒÕÀÝÁÑÓÑ ÎÁ libart.
74 â¦Â̦ÏÔÅËÁ SVG, ÂÁÚÏ×ÁÎÁ ÎÁ libart.
77 Summary: Include files for developing with librsvg
78 Summary(pl): Pliki nag³ówkowe do tworzenia oprogramowania z u¿yciem librsvg
79 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento com a librsvg
80 Summary(ru): âÉÂÌÉÏÔÅÞÎÙÅ ÌÉÎËÉ É ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó librsvg
81 Summary(uk): â¦Â̦ÏÔÅÞΦ ̦ÎËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×Ë¦× ÄÌÑ ÒÏÚÒÏÂËÉ Ú librsvg
82 Group: Development/Libraries
83 Requires: %{name} = %{epoch}:%{version}-%{release}
84 %{?with_gnomevfs:Requires: gnome-vfs2-devel >= 2.10.0-2}
85 Requires: gtk+2-devel >= 2:2.8.6
86 Requires: libart_lgpl-devel >= 2.3.15
87 %{?with_libcroco:Requires: libcroco-devel >= 0.6.0}
88 %{?with_libgsf:Requires: libgsf-devel >= 1.13.2}
89 Requires: libxml2-devel >= 2.6.22
90 Requires: xorg-lib-libXcursor-devel
91 Requires: xorg-lib-libXft-devel
92 # CHECK ME! next two are propably not directly required here
93 Requires: xorg-lib-libXinerama-devel
94 Requires: xorg-lib-libXrandr-devel
95 Requires: xorg-lib-libXrender-devel
96 Obsoletes: librsvg0-devel
99 This package provides the necessary development libraries and include
100 files to allow you to develop with librsvg.
102 %description devel -l pl
103 Pakiet zawiera pliki nag³ówkowe potrzebne do tworzenia oprogramowania
104 z wykorzystaniem librsvg.
106 %description devel -l pt_BR
107 Este pacote contém os arquivos necessários para desenvolver com base
108 na biblioteca librsvg.
110 %description devel -l ru
111 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÙÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
112 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ librsvg.
114 %description devel -l uk
115 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÅÏÂȦÄΦ ÆÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ
119 Summary: Static libraries for developing with librsvg
120 Summary(es): Archivos estáticos necesarios para el desarrollo de aplicaciones con librsvg
121 Summary(pl): Statyczne biblioteki librsvg
122 Summary(pt_BR): Arquivos estáticos necessários para o desenvolvimento de aplicações com librsvg
123 Group: Development/Libraries
124 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
127 This package contains static version of librsvg libraries.
129 %description static -l pl
130 Statyczna wersja bibliotek librsvg.
132 %description static -l pt_BR
133 Bibliotecas estáticas para o desenvolvimento de aplicações com
136 %package -n mozilla-plugin-rsvg
137 Summary: Mozilla SVG plugin using librsvg
138 Summary(pl): Wtyczka Mozilli do SVG wykorzystuj±ca librsvg
139 Group: X11/Applications/Multimedia
140 Requires: %{name} = %{epoch}:%{version}-%{release}
143 %description -n mozilla-plugin-rsvg
144 This plugin allows Mozilla-family browsers to view Scalable Vector
145 Graphics content using librsvg.
147 %description -n mozilla-plugin-rsvg -l pl
148 Ta wtyczka pozwala na ogl±danie grafiki w formacie SVG (Scalable
149 Vector Graphics) w przegl±darkach z rodziny Mozilli.
155 %{!?with_mozilla:export MOZILLA_CONFIG=no}
161 %{!?with_libcroco:--without-croco} \
162 %{!?with_libgsf:--without-svgz} \
163 %{!?with_gnomevfs:--disable-gnome-vfs} \
164 %{?with_apidocs:--enable-gtk-doc} \
165 --with-html-dir=%{_gtkdocdir}/%{name}
169 rm -rf $RPM_BUILD_ROOT
172 DESTDIR=$RPM_BUILD_ROOT \
173 pkgconfigdir=%{_pkgconfigdir}
175 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.*/{engines,loaders}/*.{la,a}
176 rm -f $RPM_BUILD_ROOT%{mozilladir}/plugins/*.{la,a}
179 rm -rf $RPM_BUILD_ROOT
184 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
189 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
192 %defattr(644,root,root,755)
193 %doc ChangeLog AUTHORS NEWS
194 %attr(755,root,root) %{_bindir}/*
195 %attr(755,root,root) %{_libdir}/lib*.so.*.*
196 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/engines/*.so
197 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/loaders/*.so
198 %{_mandir}/man1/rsvg.1*
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{_libdir}/lib*.so
205 %{_pkgconfigdir}/*.pc
206 %{_includedir}/librsvg-2
207 %{_gtkdocdir}/%{name}
210 %defattr(644,root,root,755)
214 %files -n mozilla-plugin-rsvg
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{mozilladir}/plugins/*.so