source: trunk/third/librsvg/librsvg.spec.in @ 20920

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