blob: ccb098132d33a0a72e4875d0029e15114eaf66c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
%define __libtoolize :
%define __spec_install_post /usr/lib/rpm/brp-compress
Name: librsvg2
Summary: An SVG library based on libart.
Version: @VERSION@
Release: 2
License: LGPL
Group: System Environment/Libraries
Source: librsvg-%{version}.tar.gz
URL: http://librsvg.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: pkgconfig >= 0.8
Requires: glib2 >= @GLIB_REQUIRED@
Requires: libart_lgpl >= @LIBART_REQUIRED@
Requires: libxml2 >= @LIBXML_REQUIRED@
Requires: pango >= @PANGOFT2_REQUIRED@
Requires: libgsf >= 1.6.0
BuildRequires: glib2-devel >= @GLIB_REQUIRED@
BuildRequires: libart_lgpl-devel >= @LIBART_REQUIRED@
BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@
BuildRequires: pango-devel >= @PANGOFT2_REQUIRED@
BuildRequires: libgsf >= 1.6.0
%description
An SVG library based on libart.
%package devel
Summary: Libraries and include files for developing with librsvg.
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: pkgconfig >= 0.8
Requires: glib2 >= @GLIB_REQUIRED@
Requires: glib2-devel >= @GLIB_REQUIRED@
Requires: libart_lgpl >= @LIBART_REQUIRED@
Requires: libart_lgpl-devel >= @LIBART_REQUIRED@
Requires: libxml2 >= @LIBXML_REQUIRED@
Requires: libxml2-devel >= @LIBXML_REQUIRED@
Requires: pango >= @PANGOFT2_REQUIRED@
Requires: pango-devel >= @PANGOFT2_REQUIRED@
%description devel
This package provides the necessary development libraries and include
files to allow you to develop with librsvg.
%package -n librsvg2-gtk
Summary: Gtk+ 2.0 theme engine for SVG based themes
Group: System Environment/Libraries
Requires: gtk2 >= @GDK_PIXBUF_REQUIRED@
BuildRequires: gtk2-devel >= @GDK_PIXBUF_REQUIRED@
%description -n librsvg2-gtk
This package installs a GTK+ 2.0 theme engine that uses SVG images. It is based
on the gdkpixbuf engine.
%prep
%setup -q -n librsvg-%{version}
%build
%configure --enable-svgz
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
# Clean out files that should not be part of the rpm.
# This is the recommended way of dealing with it for RH8
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/engines/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/engines/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/loaders/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/loaders/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
%clean
rm -rf $RPM_BUILD_ROOT
%post -n librsvg2-gtk
/sbin/ldconfig
mkdir -p %{_sysconfdir}/gtk-2.0
gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
%postun -n librsvg2-gtk
/sbin/ldconfig
gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO
%{_libdir}/*.so.*
%{_bindir}/rsvg
%{_mandir}/*/*
%files devel
%defattr(-, root, root)
%{_libdir}/*.so
%{_includedir}/librsvg-2/librsvg/*.h
%{_libdir}/pkgconfig/librsvg-2.0.pc
%{_datadir}/doc/librsvg/html/*
%files -n librsvg2-gtk
%defattr(-, root, root)
%{_libdir}/gtk-2.0/2.2.0/engines/*.so
%{_libdir}/gtk-2.0/2.2.0/loaders/*.so
# %{_datadir}/themes/bubble/gtk-2.0/*
# %{_datadir}/themes/bubble/README
%changelog
* Sun Feb 02 2003 Christian Schaller <Uraeus@linuxrising.org>
- Update to handle latest changes
- Add some fixes from the RH spec file
- renamed rsvg-gtk package to librsvg-gtk
- Improve depency listing somewhat
* Thu Oct 22 2002 Christian Schaller <Uraeus@linuxrising.org>
- Disabled building of example theme (as done in gtk-engines)
* Mon Oct 21 2002 Christian Schaller <Uraeus@linuxrising.org>
- Fixes for RH 8
- Adding gtk theme engine
- adding gdk-loader
* Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com>
- Deps
- Formatting
- converted to .spec.in
* Sat Jan 19 2002 Chris Chabot <chabotc@reviewboard.com>
- Imported into gnome 2.0 alpha, set Requirements accordingly
- Bumped version to 1.1.1
- Minor cleanups
* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
- new CVS snap 1.1.0.91
- remove automake/autoconf calls
* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
- convert to librsvg2 RPM
* Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
- 1.0.2
* Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
- Add a patch that moves the includes to librsvg-1/librsvg
- in preparation for a later librsvg 2 library.
* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
- build requires gnome-libs-devel, #49509
* Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
- own /usr/include/librsvg
* Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
- fixed the linefeed problem in multibyte environment. (Bug#49310)
* Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
- put .la file back in package
* Fri Jul 6 2001 Trond Eivind Glomsrød <teg@redhat.com>
- Put changelog at the end
- Move .so files to devel subpackage
- Don't mess with ld.so.conf
- Don't use %%{prefix}, this isn't a relocatable package
- Don't define a bad docdir
- Add BuildRequires
- Use %%{_tmppath}
- Don't define name, version etc. on top of the file (why do so many do that?)
- s/Copyright/License/
* Wed May 9 2001 Jonathan Blandford <jrb@redhat.com>
- Put into Red Hat Build system
* Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
- removed obsoletes from sub packages and added mozilla and trilobite
subpackages
* Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
- created this thing
|