2
%define __spec_install_post /usr/lib/rpm/brp-compress
4
Summary: An SVG library based on cairo.
8
Group: System Environment/Libraries
9
Source: librsvg-%{version}.tar.gz
10
URL: http://librsvg.sourceforge.net/
11
BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
BuildRequires: pkgconfig >= 0.8
13
Requires: glib2 >= @GLIB_REQUIRED@
14
Requires: cairo >= @CAIRO_REQUIRED@
15
Requires: libxml2 >= @LIBXML_REQUIRED@
16
Requires: pango >= @PANGOFT2_REQUIRED@
17
Requires: libgsf >= 1.6.0
18
BuildRequires: glib2-devel >= @GLIB_REQUIRED@
19
BuildRequires: cairo-devel >= @CAIRO_REQUIRED@
20
BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@
21
BuildRequires: pango-devel >= @PANGOFT2_REQUIRED@
22
BuildRequires: libgsf >= 1.6.0
25
An SVG library based on cairo.
29
Summary: Libraries and include files for developing with librsvg.
30
Group: Development/Libraries
31
Requires: %{name} = %{version}
32
Requires: pkgconfig >= 0.8
33
Requires: glib2 >= @GLIB_REQUIRED@
34
Requires: glib2-devel >= @GLIB_REQUIRED@
35
Requires: cairo >= @CAIRO_REQUIRED@
36
Requires: cairo-devel >= @CAIRO_REQUIRED@
37
Requires: libxml2 >= @LIBXML_REQUIRED@
38
Requires: libxml2-devel >= @LIBXML_REQUIRED@
39
Requires: pango >= @PANGOFT2_REQUIRED@
40
Requires: pango-devel >= @PANGOFT2_REQUIRED@
44
This package provides the necessary development libraries and include
45
files to allow you to develop with librsvg.
47
%package -n librsvg2-gtk
48
Summary: Gtk+ 2.0 theme engine for SVG based themes
49
Group: System Environment/Libraries
50
Requires: gtk2 >= @GDK_PIXBUF_REQUIRED@
51
BuildRequires: gtk2-devel >= @GDK_PIXBUF_REQUIRED@
54
%description -n librsvg2-gtk
55
This package installs a GTK+ 2.0 theme engine that uses SVG images. It is based
56
on the gdkpixbuf engine.
59
%setup -q -n librsvg-%{version}
62
%configure --enable-svgz
66
rm -rf $RPM_BUILD_ROOT
69
# Clean out files that should not be part of the rpm.
70
# This is the recommended way of dealing with it for RH8
71
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/engines/*.la
72
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/loaders/*.la
73
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
74
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
75
mkdir -p $RPM_BUILD_DIR/librsvg-%{version}
76
touch $RPM_BUILD_DIR/librsvg-%{version}/debugfiles.list
78
rm -rf $RPM_BUILD_ROOT
82
mkdir -p %{_sysconfdir}/gtk-2.0
83
gdk-pixbuf-query-loaders-32 > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
85
%postun -n librsvg2-gtk
87
gdk-pixbuf-query-loaders-32 > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
90
%defattr(-, root, root)
91
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO
97
%defattr(-, root, root)
99
%{_includedir}/librsvg-2/librsvg/*.h
100
%{_libdir}/pkgconfig/librsvg-2.0.pc
101
%{_datadir}/gtk-doc/html/rsvg/*
103
%files -n librsvg2-gtk
104
%defattr(-, root, root)
106
%{_libdir}/gtk-2.0/2.4.0/engines/*
107
%{_libdir}/gtk-2.0/2.4.0/loaders/*
108
%{_datadir}/pixmaps/*
109
# %{_datadir}/themes/bubble/gtk-2.0/*
110
# %{_datadir}/themes/bubble/README
113
* Sat Mar 20 2004 Christian Schaller <Uraeus@gnome.org>
114
- Update the path for the engines and loaders
115
* Thu Mar 18 2004 Christian Schaller <Uraeus@gnome.org>
116
- Add mozilla plugins (to gtk for now)
117
- Add .a files since they should probably be installed
119
* Sun Feb 02 2003 Christian Schaller <Uraeus@linuxrising.org>
120
- Update to handle latest changes
121
- Add some fixes from the RH spec file
122
- renamed rsvg-gtk package to librsvg-gtk
123
- Improve depency listing somewhat
125
* Thu Oct 22 2002 Christian Schaller <Uraeus@linuxrising.org>
126
- Disabled building of example theme (as done in gtk-engines)
128
* Mon Oct 21 2002 Christian Schaller <Uraeus@linuxrising.org>
130
- Adding gtk theme engine
133
* Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com>
136
- converted to .spec.in
138
* Sat Jan 19 2002 Chris Chabot <chabotc@reviewboard.com>
139
- Imported into gnome 2.0 alpha, set Requirements accordingly
140
- Bumped version to 1.1.1
143
* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
144
- new CVS snap 1.1.0.91
145
- remove automake/autoconf calls
147
* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
148
- convert to librsvg2 RPM
150
* Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
153
* Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
154
- Add a patch that moves the includes to librsvg-1/librsvg
155
- in preparation for a later librsvg 2 library.
157
* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
158
- build requires gnome-libs-devel, #49509
160
* Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
161
- own /usr/include/librsvg
163
* Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
164
- fixed the linefeed problem in multibyte environment. (Bug#49310)
166
* Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
167
- put .la file back in package
169
* Fri Jul 6 2001 Trond Eivind Glomsr�d <teg@redhat.com>
170
- Put changelog at the end
171
- Move .so files to devel subpackage
172
- Don't mess with ld.so.conf
173
- Don't use %%{prefix}, this isn't a relocatable package
174
- Don't define a bad docdir
177
- Don't define name, version etc. on top of the file (why do so many do that?)
178
- s/Copyright/License/
180
* Wed May 9 2001 Jonathan Blandford <jrb@redhat.com>
181
- Put into Red Hat Build system
183
* Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
184
- removed obsoletes from sub packages and added mozilla and trilobite
187
* Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>