]> git.pld-linux.org Git - packages/librsvg.git/blob - librsvg.spec
- dropped mozilla plugin remains
[packages/librsvg.git] / librsvg.spec
1 #
2 # Conditional build
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
8 #
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 Â¦Â̦ÏÔÅËÁ
14 Name:           librsvg
15 Version:        2.15.90
16 Release:        2
17 Epoch:          1
18 License:        LGPL v2+
19 Vendor:         GNOME
20 Group:          Libraries
21 Source0:        http://ftp.gnome.org/pub/gnome/sources/librsvg/2.15/%{name}-%{version}.tar.bz2
22 # Source0-md5:  aa3788c32b5af38bb6417b7524443562
23 URL:            http://librsvg.sourceforge.net/
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  cairo-devel >= 1.2.0
27 BuildRequires:  gtk+2-devel >= 2:2.10.1
28 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.6}
29 %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.15.90}
30 %{?with_libcroco:BuildRequires: libcroco-devel >= 0.6.1}
31 %{?with_gnomeprint:BuildRequires:       libgnomeprintui-devel >= 2.12.1}
32 %{?with_libgsf:BuildRequires:   libgsf-devel >= 1.14.1}
33 BuildRequires:  libtool
34 BuildRequires:  libxml2-devel >= 1:2.6.26
35 BuildRequires:  popt-devel >= 1.5
36 BuildRequires:  pkgconfig
37 BuildRequires:  rpm-pythonprov
38 %{!?with_gnomeprint:BuildConflicts:     libgnomeprintui-devel}
39 Requires(post,postun):  gtk+2
40 Requires:       cairo >= 1.2.0
41 Requires:       gtk+2 >= 2:2.10.1
42 %{?with_libcroco:Requires:      libcroco >= 0.6.1}
43 %{?with_libgsf:Requires:        libgsf >= 1.14.1}
44 Requires:       libxml2 >= 1:2.6.26
45 Requires:       popt >= 1.5
46 Obsoletes:      browser-plugin-librsvg
47 Obsoletes:      librsvg0
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 An library to render SVG (scalable vector graphics), databased upon libart.
52
53 %description -l pl
54 Biblioteka do renderowania SVG (skalowalnej grafiki wektorowej) oparta
55 na kodzie libart.
56
57 %description -l pt_BR
58 Biblioteca de Extensão da Eazel.
59
60 %description -l ru
61 âÉÂÌÉÏÔÅËÁ SVG, ÂÁÚÉÒÕÀÝÁÑÓÑ ÎÁ libart.
62
63 %description -l uk
64 â¦Â̦ÏÔÅËÁ SVG, ÂÁÚÏ×ÁÎÁ ÎÁ libart.
65
66 %package devel
67 Summary:        Include files for developing with librsvg
68 Summary(pl):    Pliki nag³ówkowe do tworzenia oprogramowania z u¿yciem librsvg
69 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento com a librsvg
70 Summary(ru):    âÉÂÌÉÏÔÅÞÎÙÅ ÌÉÎËÉ É ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó librsvg
71 Summary(uk):    â¦Â̦ÏÔÅÞΦ Ì¦ÎËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×˦נÄÌÑ ÒÏÚÒÏÂËÉ Ú librsvg
72 Group:          Development/Libraries
73 Requires:       %{name} = %{epoch}:%{version}-%{release}
74 %{?with_gnomevfs:Requires:      gnome-vfs2-devel >= 2.15.90}
75 Requires:       gtk+2-devel >= 2:2.10.1
76 Requires:       libart_lgpl-devel >= 2.3.15
77 %{?with_libcroco:Requires:      libcroco-devel >= 0.6.1}
78 %{?with_libgsf:Requires:        libgsf-devel >= 1.14.1}
79 Requires:       libxml2-devel >= 2.6.26
80 Obsoletes:      librsvg0-devel
81
82 %description devel
83 This package provides the necessary development libraries and include
84 files to allow you to develop with librsvg.
85
86 %description devel -l pl
87 Pakiet zawiera pliki nag³ówkowe potrzebne do tworzenia oprogramowania
88 z wykorzystaniem librsvg.
89
90 %description devel -l pt_BR
91 Este pacote contém os arquivos necessários para desenvolver com base
92 na biblioteca librsvg.
93
94 %description devel -l ru
95 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÙÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
96 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ librsvg.
97
98 %description devel -l uk
99 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÅÏÂȦÄΦ ÆÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ
100 librsvg.
101
102 %package static
103 Summary:        Static libraries for developing with librsvg
104 Summary(es):    Archivos estáticos necesarios para el desarrollo de aplicaciones con librsvg
105 Summary(pl):    Statyczne biblioteki librsvg
106 Summary(pt_BR): Arquivos estáticos necessários para o desenvolvimento de aplicações com librsvg
107 Group:          Development/Libraries
108 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
109
110 %description static
111 This package contains static version of librsvg libraries.
112
113 %description static -l pl
114 Statyczna wersja bibliotek librsvg.
115
116 %description static -l pt_BR
117 Bibliotecas estáticas para o desenvolvimento de aplicações com
118 librsvg.
119
120 %prep
121 %setup -q
122
123 %build
124 %{__libtoolize}
125 %{__aclocal}
126 %{__autoconf}
127 %{__automake}
128 %configure \
129         %{!?with_libcroco:--without-croco} \
130         %{!?with_libgsf:--without-svgz} \
131         %{!?with_gnomevfs:--disable-gnome-vfs} \
132         %{?with_apidocs:--enable-gtk-doc} \
133         --with-html-dir=%{_gtkdocdir}/%{name}
134 %{__make}
135
136 %install
137 rm -rf $RPM_BUILD_ROOT
138
139 %{__make} install \
140         DESTDIR=$RPM_BUILD_ROOT \
141         pkgconfigdir=%{_pkgconfigdir}
142
143 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.*/{engines,loaders}/*.{la,a}
144
145 %clean
146 rm -rf $RPM_BUILD_ROOT
147
148 %post
149 /sbin/ldconfig
150 umask 022
151 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
152
153 %postun
154 /sbin/ldconfig
155 umask 022
156 gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
157
158 %files
159 %defattr(644,root,root,755)
160 %doc ChangeLog AUTHORS NEWS
161 %attr(755,root,root) %{_bindir}/*
162 %attr(755,root,root) %{_libdir}/lib*.so.*.*
163 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/engines/*.so
164 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/loaders/*.so
165 %{_mandir}/man1/rsvg.1*
166 %{_pixmapsdir}/*
167
168 %files devel
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_libdir}/lib*.so
171 %{_libdir}/lib*.la
172 %{_pkgconfigdir}/*.pc
173 %{_includedir}/librsvg-2
174 %{_gtkdocdir}/%{name}
175
176 %files static
177 %defattr(644,root,root,755)
178 %{_libdir}/lib*.a
This page took 0.078076 seconds and 4 git commands to generate.