2006-12-29 00:07:45 +01:00
|
|
|
#
|
|
|
|
# spec file for package librsvg (Version 2.16.0)
|
|
|
|
#
|
2007-01-12 17:13:18 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-29 00:07:45 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: librsvg
|
2007-01-12 17:13:18 +01:00
|
|
|
%define xulrunner_version 181
|
|
|
|
BuildRequires: docbook-toys gnutls-devel gtk-doc libcroco-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libgsf-devel libwnck-devel mDNSResponder-devel update-desktop-files xmlcharent
|
2006-12-29 00:07:45 +01:00
|
|
|
License: GNU General Public License (GPL)
|
|
|
|
Group: System/Libraries
|
|
|
|
Autoreqprov: on
|
|
|
|
Provides: librsvg2
|
|
|
|
Obsoletes: librsvg2
|
2007-01-12 17:13:18 +01:00
|
|
|
%if %suse_version > 1010 || 0%{?opensuse_bs}
|
|
|
|
BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: gecko-sdk
|
|
|
|
%endif
|
|
|
|
PreReq: coreutils
|
2006-12-29 00:07:45 +01:00
|
|
|
Version: 2.16.0
|
2007-01-12 17:13:18 +01:00
|
|
|
Release: 39
|
2006-12-29 00:07:45 +01:00
|
|
|
Summary: A Library for Rendering SVG Data
|
2007-01-12 17:13:18 +01:00
|
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.16/%{name}-%{version}.tar.bz2
|
|
|
|
Patch: librsvg-xulrunner.patch
|
2006-12-29 00:07:45 +01:00
|
|
|
URL: http://librsvg.sourceforge.net/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a library to render SVG (scalable vector
|
|
|
|
graphics) data. This format has been specified by the W3C (see
|
|
|
|
http://www.w3c.org).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Raph Levien <raph@acm.org>
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Include Files and Libraries mandatory for Development.
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Provides: librsvg2-devel
|
|
|
|
Obsoletes: librsvg2-devel
|
|
|
|
Requires: %{name} = %{version} libcroco-devel glib2-devel gtk2-devel libgsf-devel libart_lgpl-devel popt-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-12 17:13:18 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Raph Levien <raph@acm.org>
|
|
|
|
|
|
|
|
%package plugin
|
|
|
|
Summary: A Library for Rendering SVG Data - SVG Browser Plugin
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description plugin
|
|
|
|
This package contains a library to render SVG (scalable vector
|
|
|
|
graphics) data. This format has been specified by the W3C (see
|
|
|
|
http://www.w3c.org).
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-29 00:07:45 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Raph Levien <raph@acm.org>
|
|
|
|
|
|
|
|
%prep
|
2007-01-12 17:13:18 +01:00
|
|
|
%setup -q
|
|
|
|
%patch
|
2006-12-29 00:07:45 +01:00
|
|
|
|
|
|
|
%build
|
2007-01-12 17:13:18 +01:00
|
|
|
autoreconf -f -i
|
|
|
|
%configure\
|
|
|
|
--with-svgz\
|
|
|
|
--without-gimp\
|
|
|
|
--with-html-dir=%{_docdir}/%{name}
|
|
|
|
make %{?jobs:-j%jobs}
|
2006-12-29 00:07:45 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2007-01-12 17:13:18 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_docdir}
|
|
|
|
cp AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
mv $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins $RPM_BUILD_ROOT%{_libdir}/browser-plugins
|
|
|
|
rmdir $RPM_BUILD_ROOT%{_libdir}/mozilla
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a
|
2006-12-29 00:07:45 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
2007-01-12 17:13:18 +01:00
|
|
|
touch var/adm/SuSEconfig/run-gtk
|
2006-12-29 00:07:45 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
2007-01-12 17:13:18 +01:00
|
|
|
touch var/adm/SuSEconfig/run-gtk
|
2006-12-29 00:07:45 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-01-12 17:13:18 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/pixmaps/*.svg
|
|
|
|
%doc %dir %{_docdir}/%{name}
|
|
|
|
%doc %{_docdir}/%{name}/AUTHORS
|
|
|
|
%doc %{_docdir}/%{name}/COPYING
|
|
|
|
%doc %{_docdir}/%{name}/ChangeLog
|
|
|
|
%doc %{_docdir}/%{name}/NEWS
|
|
|
|
%doc %{_docdir}/%{name}/README
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/gtk-2.0/*/*/*.so
|
|
|
|
%doc %{_mandir}/man?/*.*
|
2006-12-29 00:07:45 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-01-12 17:13:18 +01:00
|
|
|
# FIXME: move devhelp doc to correct place
|
|
|
|
%doc %{_docdir}/%{name}/rsvg
|
|
|
|
%{_includedir}/librsvg-2
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.*a
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%files plugin
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/browser-plugins/*.so
|
2006-12-29 00:07:45 +01:00
|
|
|
|
|
|
|
%changelog -n librsvg
|
2007-01-12 17:13:18 +01:00
|
|
|
* Tue Jan 09 2007 - sbrabec@suse.cz
|
|
|
|
- Patched to build plugin with xulrunner.
|
|
|
|
* Tue Jan 09 2007 - maw@suse.de
|
|
|
|
- Fix a typo
|
|
|
|
- (Temporarily) remove the plugin subpackage.
|
|
|
|
* Tue Jan 09 2007 - sbrabec@suse.cz
|
|
|
|
- Prefix changed to /usr.
|
|
|
|
- Spec file cleanup.
|
2006-12-29 00:07:45 +01:00
|
|
|
* Thu Dec 28 2006 - jhargadon@suse.de
|
|
|
|
- removed unused libtool archives (#223654)
|
|
|
|
* Fri Oct 13 2006 - danw@suse.de
|
|
|
|
- Remove dead patch
|
|
|
|
* Fri Sep 15 2006 - sbrabec@suse.cz
|
|
|
|
- Removed mDNSResponder-lib from Requires - should be implicit.
|
|
|
|
* Thu Sep 14 2006 - jhargadon@suse.de
|
|
|
|
- update to version 2.16.0
|
|
|
|
- librsvg.def: Make export symbols work on OSX
|
|
|
|
- rsvg-private.h: Some preparation work for color normalization
|
|
|
|
- Bug 344116: Committed patch from Kouhei Sutou that makes librsvg
|
|
|
|
use Pango-Cairo instead of PangoFT2+rendering text as a path.
|
|
|
|
- rsvg-base.c (rsvg_handle_write_impl): Have libxml2 replace entities
|
|
|
|
for us. This fixes a bug where style definitions don't get properly
|
|
|
|
expanded, but causes a (2.15.x-only feature) regression when importing
|
|
|
|
external ENTITIES.
|
|
|
|
* Wed Aug 23 2006 - jhargadon@suse.de
|
|
|
|
- update to version 2.15.90
|
|
|
|
- Bug 348329 make gnome-print dependency optional
|
|
|
|
- Don't leak PangoFt2 fonts (bug 344235)
|
|
|
|
- Document _render_sub better (bug 346964)
|
|
|
|
* Tue Aug 15 2006 - ro@suse.de
|
|
|
|
- use wildcard in filelist for gtk2 version
|
|
|
|
* Fri Jul 28 2006 - ro@suse.de
|
|
|
|
- include rsvg.devhelp2 in filelist
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Thu Oct 13 2005 - gekker@suse.de
|
|
|
|
- Update to version 2.12.7
|
|
|
|
- Fix use of uninitialized variables
|
|
|
|
* Fri Sep 16 2005 - rodrigo@suse.de
|
|
|
|
- Update to version 2.12.0
|
|
|
|
* Mon Sep 05 2005 - gekker@suse.de
|
|
|
|
- Update to version 2.11.1 (GNOME 2.12)
|
|
|
|
* Fri Aug 12 2005 - sbrabec@suse.cz
|
|
|
|
- Fixed devel requirements (#104295).
|
|
|
|
* Wed Jun 01 2005 - sbrabec@suse.cz
|
|
|
|
- Fixed devel requirements.
|
|
|
|
* Sun Feb 06 2005 - gekker@suse.de
|
|
|
|
- Update to version 2.9.5
|
|
|
|
* Wed Jan 19 2005 - ro@suse.de
|
|
|
|
- fixed filelist
|
|
|
|
* Wed Dec 22 2004 - gekker@suse.de
|
|
|
|
- Update to version 2.8.1
|
|
|
|
- Make *.svg and *.devhelp install
|
|
|
|
* Tue May 04 2004 - sbrabec@suse.cz
|
|
|
|
- Updated to version 2.6.5 (GNOME 2.6).
|
|
|
|
* Mon Mar 15 2004 - sbrabec@suse.cz
|
|
|
|
- FHS 2.3 fix (mandir, infodir, #35821).
|
|
|
|
* Wed Mar 10 2004 - sbrabec@suse.cz
|
|
|
|
- Fixed %%postun.
|
|
|
|
- Fixed doc build.
|
|
|
|
* Sat Jan 10 2004 - adrian@suse.de
|
|
|
|
- add %%defattr and %%run_ldconfig
|
|
|
|
* Mon Oct 20 2003 - sbrabec@suse.cz
|
|
|
|
- Do not build SVG plug-in (moved to gimp2 package).
|
|
|
|
* Wed Oct 08 2003 - sbrabec@suse.cz
|
|
|
|
- Updated to version 2.4.0 (GNOME 2.4).
|
|
|
|
* Tue Aug 26 2003 - sbrabec@suse.cz
|
|
|
|
- Added Provides/Obsoletes for old name.
|
|
|
|
* Tue Aug 19 2003 - sbrabec@suse.cz
|
|
|
|
- Package renamed (librsvg2 -> librsvg).
|
|
|
|
* Sun Jul 27 2003 - hhetter@suse.de
|
|
|
|
- fix build
|
|
|
|
* Mon Jul 14 2003 - sbrabec@suse.cz
|
|
|
|
- GNOME prefix change to /opt/gnome.
|
|
|
|
* Wed Jul 09 2003 - sbrabec@suse.cz
|
|
|
|
- Branched gimp2-svg (to simplify dependences).
|
|
|
|
* Wed Jun 25 2003 - sbrabec@suse.cz
|
|
|
|
- Updated to version 2.2.5.
|
|
|
|
- Updated neededforbuild.
|
|
|
|
- Turned on GIMP plugin, libgsf and SVGZ support.
|
|
|
|
* Wed Feb 12 2003 - hhetter@suse.de
|
|
|
|
- install the rsvg loader at the default gdk-pixbuf-loader
|
|
|
|
module location
|
|
|
|
- updated to version 2.2.3 to critical bugs with SVG themes
|
|
|
|
* Thu Jan 30 2003 - hhetter@suse.de
|
|
|
|
- force running of SuSEconfig.gtk to register the
|
|
|
|
librsvg gdk-pixbuf loader
|
|
|
|
* Tue Jan 28 2003 - hhetter@suse.de
|
|
|
|
- updated to version 2.2.1
|
|
|
|
- update filelist
|
|
|
|
- include gdk-pixbuf loaders
|
|
|
|
* Mon Nov 11 2002 - ro@suse.de
|
|
|
|
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
|
|
|
|
* Tue Oct 22 2002 - hhetter@suse.de
|
|
|
|
- remove wrong docdir
|
|
|
|
- use correct kde datadir
|
|
|
|
* Fri Sep 27 2002 - ro@suse.de
|
|
|
|
- Added alsa alsa-devel to neededforbuild (esound)
|
|
|
|
* Tue Aug 13 2002 - ro@suse.de
|
|
|
|
- removed control-center from neededforbuild
|
|
|
|
* Tue Jul 23 2002 - hhetter@suse.de
|
|
|
|
- updated to version 2.0.1
|
|
|
|
* trashcan rendering problems fixed
|
|
|
|
* Tue Jul 23 2002 - hhetter@suse.de
|
|
|
|
- updated to version 2.0.0
|
|
|
|
* Wed May 15 2002 - ro@suse.de
|
|
|
|
- use libdir
|
|
|
|
* Mon Apr 15 2002 - hhetter@suse.de
|
|
|
|
- update to version 1.1.6 [gnome desktop beta3]
|
|
|
|
* Fri Feb 01 2002 - ro@suse.de
|
|
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
|
|
|
* Thu Jan 24 2002 - hhetter@suse.de
|
|
|
|
- initial SuSE package for GNOME 2.0 platform
|