234 lines
7.3 KiB
RPMSpec
234 lines
7.3 KiB
RPMSpec
#
|
|
# spec file for package librsvg (Version 2.16.0)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# 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
|
|
BuildRequires: docbook-toys gnutls-devel gtkdoc libcroco-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libgsf-devel libwnck-devel mDNSResponder-devel update-desktop-files xmlcharent
|
|
%define prefix /opt/gnome
|
|
%define sysconfdir /etc%{prefix}
|
|
License: GNU General Public License (GPL)
|
|
Group: System/Libraries
|
|
Autoreqprov: on
|
|
Provides: librsvg2
|
|
Obsoletes: librsvg2
|
|
Version: 2.16.0
|
|
Release: 34
|
|
Summary: A Library for Rendering SVG Data
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.6/librsvg-%{version}.tar.bz2
|
|
URL: http://librsvg.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
# NOTE: Can use libcroco CSS parser.
|
|
|
|
%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++
|
|
Autoreqprov: on
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Raph Levien <raph@acm.org>
|
|
|
|
%prep
|
|
%setup -n librsvg-%{version}
|
|
|
|
%build
|
|
libtoolize --force
|
|
aclocal
|
|
automake --add-missing
|
|
autoconf
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
./configure \
|
|
--prefix=%prefix \
|
|
--libdir=%prefix/%_lib \
|
|
--sysconfdir=%sysconfdir \
|
|
--mandir=%prefix/share/man \
|
|
--localstatedir=/var/lib \
|
|
--with-svgz \
|
|
--without-gimp \
|
|
--with-html-dir=%_docdir/%{name}
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
gzip -9nf $RPM_BUILD_ROOT%{prefix}/share/man/man?/*.?
|
|
mkdir -p $RPM_BUILD_ROOT%_docdir
|
|
cp AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%_docdir/%{name}
|
|
rm $RPM_BUILD_ROOT%{prefix}/%_lib/gtk-2.0/2.*.0/loaders/svg_loader.*a
|
|
rm $RPM_BUILD_ROOT%{prefix}/%_lib/gtk-2.0/2.*.0/engines/libsvg.*a
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
touch var/adm/SuSEconfig/run-gtk
|
|
%run_ldconfig
|
|
|
|
%postun
|
|
touch var/adm/SuSEconfig/run-gtk
|
|
%run_ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc %dir %_docdir/%{name}
|
|
%doc %dir %_docdir/%{name}/rsvg
|
|
%doc %_docdir/%{name}/AUTHORS
|
|
%doc %_docdir/%{name}/COPYING
|
|
%doc %_docdir/%{name}/ChangeLog
|
|
%doc %_docdir/%{name}/NEWS
|
|
%doc %_docdir/%{name}/README
|
|
%doc %_docdir/%{name}/rsvg/style.css
|
|
%defattr (-, root, root)
|
|
%doc %{prefix}/share/man/man?/*.*
|
|
%{prefix}/%_lib/*.so.*
|
|
%{prefix}/%_lib/gtk-2.0/2.*.0/loaders/*.so
|
|
%{prefix}/%_lib/gtk-2.0/2.*.0/engines/*.so
|
|
%{prefix}/bin/*
|
|
%{prefix}/share/pixmaps/*.svg
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc %_docdir/%{name}/rsvg/*.html
|
|
%doc %_docdir/%{name}/rsvg/*.png
|
|
%doc %_docdir/%{name}/rsvg/*.sgml
|
|
%doc %_docdir/%{name}/rsvg/*.devhelp*
|
|
%{prefix}/%_lib/pkgconfig/*.pc
|
|
%{prefix}/include/librsvg-2
|
|
%{prefix}/%_lib/*.so
|
|
%{prefix}/%_lib/*.*a
|
|
|
|
%changelog -n librsvg
|
|
* 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
|