source: trunk/third/librsvg/librsvg.spec @ 18805

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