# # spec file for package librsvg (Version 2.26.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild 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 BuildRequires: gtk2-devel BuildRequires: libcroco-devel BuildRequires: libgsf-devel PreReq: coreutils # bug437293 %ifarch ppc64 Obsoletes: librsvg-64bit %endif # Provides: librsvg2 Obsoletes: librsvg2 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). %package devel License: GPLv2+ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Provides: librsvg2-devel Obsoletes: librsvg2-devel Requires: %{name} = %{version} cairo-devel libcroco-devel glib2-devel gtk2-devel libgsf-devel # bug437293 %ifarch ppc64 Obsoletes: librsvg-devel-64bit %endif # %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %package -n rsvg-view License: LGPLv2.1+ Summary: SVG View using the GNOME Render SVG library Group: System/Libraries Provides: librsvg:/usr/bin/rsvg %description -n rsvg-view 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). %prep %setup -q %patch1 %build %configure\ --disable-static\ --with-svgz make %{?jobs:-j%jobs} %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig touch var/adm/SuSEconfig/run-gtk %postun /sbin/ldconfig touch var/adm/SuSEconfig/run-gtk %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_libdir}/*.so.* %{_libdir}/gtk-2.0/*/*/*.so %files -n rsvg-view %defattr(-,root,root) %{_bindir}/rsvg %{_bindir}/rsvg-convert %{_bindir}/rsvg-view %{_datadir}/pixmaps/*.svg %doc %{_mandir}/man?/*.* %files devel %defattr(-,root,root) %{_includedir}/librsvg-2 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gtk-doc/html/* # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %changelog