Accepting request 36376 from GNOME:Factory
checked in (request 36376) OBS-URL: https://build.opensuse.org/request/show/36376 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
c6c4989e59
commit
2f7ef010e2
51
librsvg.spec
51
librsvg.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package librsvg (Version 2.26.2)
|
||||
# spec file for package librsvg (Version 2.26.0)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -19,19 +19,17 @@
|
||||
|
||||
|
||||
Name: librsvg
|
||||
Version: 2.26.2
|
||||
Release: 1
|
||||
License: LGPLv2.1+
|
||||
Summary: A Library for Rendering SVG Data
|
||||
Url: http://librsvg.sourceforge.net/
|
||||
Group: System/Libraries
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2
|
||||
Source99: baselibs.conf
|
||||
Patch1: env-paths.diff
|
||||
%if 0%{suse_version} > 1110
|
||||
%define xulrunner_version 191
|
||||
%else
|
||||
%define xulrunner_version 190
|
||||
%endif
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: libcroco-devel
|
||||
BuildRequires: libgsf-devel
|
||||
PreReq: coreutils
|
||||
License: LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
AutoReqProv: on
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: librsvg-64bit
|
||||
@@ -39,6 +37,17 @@ Obsoletes: librsvg-64bit
|
||||
#
|
||||
Provides: librsvg2
|
||||
Obsoletes: librsvg2
|
||||
BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
|
||||
PreReq: coreutils
|
||||
Version: 2.26.0
|
||||
Release: 3
|
||||
Summary: A Library for Rendering SVG Data
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2
|
||||
Source99: baselibs.conf
|
||||
Patch1: env-paths.diff
|
||||
# PATCH-FIX-UPSTREAM librsvg-xulrunner191.patch bnc#501397 bgo#593961 dimstar@opensuse.org -- Support building with xulrunner 1.9.1
|
||||
Patch2: librsvg-xulrunner191.patch
|
||||
Url: http://librsvg.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -63,6 +72,17 @@ Obsoletes: librsvg-devel-64bit
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
%package plugin
|
||||
License: GPLv2+
|
||||
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).
|
||||
|
||||
%package -n rsvg-view
|
||||
License: LGPLv2.1+
|
||||
Summary: SVG View using the GNOME Render SVG library
|
||||
@@ -77,6 +97,7 @@ http://www.w3c.org).
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%configure\
|
||||
@@ -86,7 +107,9 @@ make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
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 $RPM_BUILD_ROOT/%{_libdir}/*/*/*/*.*a
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -123,4 +146,8 @@ touch var/adm/SuSEconfig/run-gtk
|
||||
%dir %{_datadir}/gtk-doc
|
||||
%dir %{_datadir}/gtk-doc/html
|
||||
|
||||
%files plugin
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/browser-plugins/*.so
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user