[18274] | 1 | %define __libtoolize : |
---|
| 2 | %define __spec_install_post /usr/lib/rpm/brp-compress |
---|
| 3 | Name: librsvg2 |
---|
| 4 | Summary: An SVG library based on libart. |
---|
| 5 | Version: @VERSION@ |
---|
[18804] | 6 | Release: 2 |
---|
[18274] | 7 | License: LGPL |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | Source: librsvg-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: pkgconfig >= 0.8 |
---|
| 12 | Requires: glib2 >= @GLIB_REQUIRED@ |
---|
| 13 | Requires: libart_lgpl >= @LIBART_REQUIRED@ |
---|
| 14 | Requires: libxml2 >= @LIBXML_REQUIRED@ |
---|
| 15 | Requires: pango >= @PANGOFT2_REQUIRED@ |
---|
[18804] | 16 | Requires: libgsf >= 1.6.0 |
---|
[18274] | 17 | BuildRequires: glib2-devel >= @GLIB_REQUIRED@ |
---|
| 18 | BuildRequires: libart_lgpl-devel >= @LIBART_REQUIRED@ |
---|
| 19 | BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@ |
---|
| 20 | BuildRequires: pango-devel >= @PANGOFT2_REQUIRED@ |
---|
[18804] | 21 | BuildRequires: libgsf >= 1.6.0 |
---|
[17276] | 22 | |
---|
| 23 | %description |
---|
[18274] | 24 | An SVG library based on libart. |
---|
[17276] | 25 | |
---|
[18274] | 26 | |
---|
[17276] | 27 | %package devel |
---|
[18274] | 28 | Summary: Libraries and include files for developing with librsvg. |
---|
| 29 | Group: Development/Libraries |
---|
| 30 | Requires: %{name} = %{version} |
---|
| 31 | Requires: pkgconfig >= 0.8 |
---|
| 32 | Requires: glib2 >= @GLIB_REQUIRED@ |
---|
| 33 | Requires: glib2-devel >= @GLIB_REQUIRED@ |
---|
| 34 | Requires: libart_lgpl >= @LIBART_REQUIRED@ |
---|
| 35 | Requires: libart_lgpl-devel >= @LIBART_REQUIRED@ |
---|
| 36 | Requires: libxml2 >= @LIBXML_REQUIRED@ |
---|
| 37 | Requires: libxml2-devel >= @LIBXML_REQUIRED@ |
---|
| 38 | Requires: pango >= @PANGOFT2_REQUIRED@ |
---|
| 39 | Requires: pango-devel >= @PANGOFT2_REQUIRED@ |
---|
[17276] | 40 | |
---|
[18274] | 41 | |
---|
[17276] | 42 | %description devel |
---|
| 43 | This package provides the necessary development libraries and include |
---|
| 44 | files to allow you to develop with librsvg. |
---|
| 45 | |
---|
[18804] | 46 | %package -n librsvg2-gtk |
---|
[18608] | 47 | Summary: Gtk+ 2.0 theme engine for SVG based themes |
---|
| 48 | Group: System Environment/Libraries |
---|
[18804] | 49 | Requires: gtk2 >= @GDK_PIXBUF_REQUIRED@ |
---|
| 50 | BuildRequires: gtk2-devel >= @GDK_PIXBUF_REQUIRED@ |
---|
[18608] | 51 | |
---|
[18804] | 52 | |
---|
| 53 | %description -n librsvg2-gtk |
---|
[18608] | 54 | This package installs a GTK+ 2.0 theme engine that uses SVG images. It is based |
---|
| 55 | on the gdkpixbuf engine. |
---|
| 56 | |
---|
[17276] | 57 | %prep |
---|
[18274] | 58 | %setup -q -n librsvg-%{version} |
---|
[17276] | 59 | |
---|
| 60 | %build |
---|
[18804] | 61 | %configure --enable-svgz |
---|
[18274] | 62 | make |
---|
[17276] | 63 | |
---|
[18274] | 64 | %install |
---|
| 65 | rm -rf $RPM_BUILD_ROOT |
---|
[18608] | 66 | |
---|
[18274] | 67 | %makeinstall |
---|
[18608] | 68 | # Clean out files that should not be part of the rpm. |
---|
| 69 | # This is the recommended way of dealing with it for RH8 |
---|
[18804] | 70 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/engines/*.la |
---|
| 71 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/engines/*.a |
---|
| 72 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/loaders/*.la |
---|
| 73 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/loaders/*.a |
---|
[18608] | 74 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
| 75 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
[17276] | 76 | |
---|
[18608] | 77 | |
---|
[17276] | 78 | %clean |
---|
[18274] | 79 | rm -rf $RPM_BUILD_ROOT |
---|
[17276] | 80 | |
---|
[18804] | 81 | %post -n librsvg2-gtk |
---|
| 82 | /sbin/ldconfig |
---|
| 83 | mkdir -p %{_sysconfdir}/gtk-2.0 |
---|
| 84 | gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders |
---|
[17276] | 85 | |
---|
[18804] | 86 | %postun -n librsvg2-gtk |
---|
| 87 | /sbin/ldconfig |
---|
| 88 | gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders |
---|
[17276] | 89 | |
---|
| 90 | %files |
---|
[18274] | 91 | %defattr(-, root, root) |
---|
[18804] | 92 | %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO |
---|
[18274] | 93 | %{_libdir}/*.so.* |
---|
[18608] | 94 | %{_bindir}/rsvg |
---|
| 95 | %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders |
---|
[18804] | 96 | %{_mandir}/*/* |
---|
[17276] | 97 | |
---|
| 98 | %files devel |
---|
[18274] | 99 | %defattr(-, root, root) |
---|
| 100 | %{_libdir}/*.so |
---|
[18804] | 101 | %{_includedir}/librsvg-2/librsvg/*.h |
---|
[18274] | 102 | %{_libdir}/pkgconfig/librsvg-2.0.pc |
---|
[18804] | 103 | %{_datadir}/doc/librsvg/html/* |
---|
[17276] | 104 | |
---|
[18804] | 105 | %files -n librsvg2-gtk |
---|
[18608] | 106 | %defattr(-, root, root) |
---|
[18804] | 107 | %{_libdir}/gtk-2.0/2.2.0/engines/*.so |
---|
| 108 | %{_libdir}/gtk-2.0/2.2.0/loaders/*.so |
---|
[18608] | 109 | # %{_datadir}/themes/bubble/gtk-2.0/* |
---|
| 110 | # %{_datadir}/themes/bubble/README |
---|
| 111 | |
---|
[18274] | 112 | %changelog |
---|
[18804] | 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 | |
---|
[18608] | 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 | |
---|
[18274] | 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 |
---|
| 179 | subpackages |
---|
| 180 | |
---|
| 181 | * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com> |
---|
| 182 | - created this thing |
---|
| 183 | |
---|