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

Revision 18609, 4.6 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18608, 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.1
6Release:          1
7License:          LGPL
8Group:            System Environment/Libraries
9Source:           librsvg-%{version}.tar.gz
10BuildRoot:        %{_tmppath}/%{name}-%{version}-root
11BuildRequires:    pkgconfig >= 0.8
12Requires:         gtk2 >= 1.3.7
13Requires:         glib2 >= 2.0.0
14Requires:         libart_lgpl >= 2.3.10
15Requires:         libxml2 >= 2.4.7
16Requires:         pango >= 1.0.0
17BuildRequires:    gtk2-devel >= 1.3.7
18BuildRequires:    glib2-devel >= 2.0.0
19BuildRequires:    libart_lgpl-devel >= 2.3.10
20BuildRequires:    libxml2-devel >= 2.4.7
21BuildRequires:    pango-devel >= 1.0.0
22
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:         gtk2 >= 1.3.7
34Requires:         gtk2-devel >= 1.3.7
35Requires:         glib2 >= 2.0.0
36Requires:         glib2-devel >= 2.0.0
37Requires:         libart_lgpl >= 2.3.10
38Requires:         libart_lgpl-devel >= 2.3.10
39Requires:         libxml2 >= 2.4.7
40Requires:         libxml2-devel >= 2.4.7
41Requires:         pango >= 1.0.0
42Requires:         pango-devel >= 1.0.0
43
44
45%description devel
46This package provides the necessary development libraries and include
47files to allow you to develop with librsvg.
48
49%package -n rsvg-gtk
50Summary:        Gtk+ 2.0 theme engine for SVG based themes
51Group:          System Environment/Libraries
52
53%description -n rsvg-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
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.0.0/engines/*.la
71rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.0.0/engines//*.a
72rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
73rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
74
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80
81%postun -p /sbin/ldconfig
82
83%files
84
85%defattr(-, root, root)
86%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
87%{_libdir}/*.so.*
88%{_bindir}/rsvg
89%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
90
91%files devel
92%defattr(-, root, root)
93%{_libdir}/*.so
94%{_includedir}/librsvg-2/librsvg
95%{_libdir}/pkgconfig/librsvg-2.0.pc
96
97%files -n rsvg-gtk
98%defattr(-, root, root)
99%{_libdir}/gtk-2.0/2.0.0/engines/*.so
100# %{_datadir}/themes/bubble/gtk-2.0/*
101# %{_datadir}/themes/bubble/README
102
103%changelog
104* Thu Oct 22 2002 Christian Schaller <Uraeus@linuxrising.org>
105- Disabled building of example theme (as done in gtk-engines)
106
107* Mon Oct 21 2002 Christian Schaller <Uraeus@linuxrising.org>
108- Fixes for RH 8
109- Adding gtk theme engine
110- adding gdk-loader
111
112* Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com>
113- Deps
114- Formatting
115- converted to .spec.in
116
117* Sat Jan 19 2002 Chris Chabot <chabotc@reviewboard.com>
118- Imported into gnome 2.0 alpha, set Requirements accordingly
119- Bumped version to 1.1.1
120- Minor cleanups
121
122* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
123- new CVS snap 1.1.0.91
124- remove automake/autoconf calls
125
126* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
127- convert to librsvg2 RPM
128
129* Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
130- 1.0.2
131
132* Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
133- Add a patch that moves the includes to librsvg-1/librsvg
134- in preparation for a later librsvg 2 library.
135
136* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
137- build requires gnome-libs-devel, #49509
138
139* Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
140- own /usr/include/librsvg
141
142* Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
143- fixed the linefeed problem in multibyte environment. (Bug#49310)
144
145* Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
146- put .la file back in package
147
148* Fri Jul  6 2001 Trond Eivind Glomsrød <teg@redhat.com>
149- Put changelog at the end
150- Move .so files to devel subpackage
151- Don't mess with ld.so.conf
152- Don't use %%{prefix}, this isn't a relocatable package
153- Don't define a bad docdir
154- Add BuildRequires
155- Use %%{_tmppath}
156- Don't define name, version etc. on top of the file (why do so many do that?)
157- s/Copyright/License/
158
159* Wed May  9 2001 Jonathan Blandford <jrb@redhat.com>
160- Put into Red Hat Build system
161
162* Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
163- removed obsoletes from sub packages and added mozilla and trilobite
164subpackages
165
166* Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
167- created this thing
168
Note: See TracBrowser for help on using the repository browser.