OBS User unknown 2007-07-16 16:27:13 +00:00 committed by Git OBS Bridge
parent 27184a957d
commit f3b0dd2a5b
3 changed files with 24 additions and 5 deletions

8
env-paths.diff Normal file
View File

@ -0,0 +1,8 @@
--- rsvg.in
+++ rsvg.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
#
# This python script subsumes the old 'rsvg' C-based command-line program.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 16 14:41:30 CEST 2007 - dmueller@suse.de
- move deprecated rsvg command into -devel subpackage.
scripts that break should use rsvg-convert instead
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 17 11:57:06 CET 2007 - aj@suse.de Sat Mar 17 11:57:06 CET 2007 - aj@suse.de

View File

@ -13,7 +13,7 @@
Name: librsvg Name: librsvg
%define xulrunner_version 181 %define xulrunner_version 181
BuildRequires: docbook-toys gtk-doc gtk2-devel libcroco-devel libgnomeprintui-devel libgsf-devel update-desktop-files xmlcharent BuildRequires: docbook-toys gtk-doc gtk2-devel libcroco-devel libgnomeprintui-devel libgsf-devel update-desktop-files xmlcharent
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) License: LGPL v2 or later
Group: System/Libraries Group: System/Libraries
Autoreqprov: on Autoreqprov: on
Provides: librsvg2 Provides: librsvg2
@ -24,12 +24,11 @@ BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
BuildRequires: gecko-sdk BuildRequires: gecko-sdk
%endif %endif
PreReq: coreutils PreReq: coreutils
# For rsvg command:
Requires: python
Version: 2.16.1 Version: 2.16.1
Release: 5 Release: 41
Summary: A Library for Rendering SVG Data Summary: A Library for Rendering SVG Data
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.16/%{name}-%{version}.tar.bz2 Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.16/%{name}-%{version}.tar.bz2
Patch1: env-paths.diff
URL: http://librsvg.sourceforge.net/ URL: http://librsvg.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -79,6 +78,7 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch1
%build %build
autoreconf -f -i autoreconf -f -i
@ -110,7 +110,8 @@ touch var/adm/SuSEconfig/run-gtk
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/rsvg-convert
%{_bindir}/rsvg-view
%{_datadir}/pixmaps/*.svg %{_datadir}/pixmaps/*.svg
%doc %dir %{_docdir}/%{name} %doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/AUTHORS %doc %{_docdir}/%{name}/AUTHORS
@ -126,6 +127,7 @@ touch var/adm/SuSEconfig/run-gtk
%defattr(-,root,root) %defattr(-,root,root)
# FIXME: move devhelp doc to correct place # FIXME: move devhelp doc to correct place
%doc %{_docdir}/%{name}/rsvg %doc %{_docdir}/%{name}/rsvg
%{_bindir}/rsvg
%{_includedir}/librsvg-2 %{_includedir}/librsvg-2
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/*.*a %{_libdir}/*.*a
@ -136,6 +138,9 @@ touch var/adm/SuSEconfig/run-gtk
%{_libdir}/browser-plugins/*.so %{_libdir}/browser-plugins/*.so
%changelog %changelog
* Mon Jul 16 2007 - dmueller@suse.de
- move deprecated rsvg command into -devel subpackage.
scripts that break should use rsvg-convert instead
* Sat Mar 17 2007 - aj@suse.de * Sat Mar 17 2007 - aj@suse.de
- Require python for rsvg command (#242072). - Require python for rsvg command (#242072).
* Mon Feb 19 2007 - maw@suse.de * Mon Feb 19 2007 - maw@suse.de