Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
librsvg
librsvg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File librsvg.spec of Package librsvg
# # spec file for package librsvg (Version 2.32.1) # # 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/ # %define build_gtk3_support 0 Name: librsvg Version: 2.32.1 Release: 1 License: GPLv2+ 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 # PATCH-FIX-OPENSUSE librsvg-gdk-pixbuf-query-loaders-64.patch vuntz@opensuse.org -- Fix check for gdk-pixbuf-query-loaders on 64bit systems Patch0: librsvg-gdk-pixbuf-query-loaders-64.patch Patch1: env-paths.diff BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gtk+-2.0) %if %{build_gtk3_support} BuildRequires: pkgconfig(gtk+-3.0) %endif BuildRequires: pkgconfig(libcroco-0.6) BuildRequires: pkgconfig(libgsf-1) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(pangoft2) 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 -n librsvg-2-2 License: GPLv2+ Summary: A Library for Rendering SVG Data # bug437293 %ifarch ppc64 Obsoletes: librsvg-64bit %endif # Provides: librsvg2 = %{version} Obsoletes: librsvg2 < %{version} Provides: librsvg = %{version} Obsoletes: librsvg < %{version} %description -n librsvg-2-2 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 = %{version} Obsoletes: librsvg2-devel < %{version} Requires: librsvg-2-2 = %{version} # 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 gdk-pixbuf-loader-rsvg License: LGPLv2.1+ Summary: A Library for Rendering SVG Data -- gdk-pixbuf loader Group: System/Libraries Supplements: packageand(librsvg-2-2:gdk-pixbuf) %gdk_pixbuf_loader_requires %description -n gdk-pixbuf-loader-rsvg 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). This package provides a librsvg-based gdk-pixbuf loader. %package -n gtk2-engine-svg License: LGPLv2.1+ Summary: SVG-based GTK+ 2 Theme Engine Group: System/Libraries %description -n gtk2-engine-svg This package provides a librsvg-based GTK+ 2 theme engine. %if %{build_gtk3_support} %package -n gtk3-engine-svg License: LGPLv2.1+ Summary: SVG-based GTK+ 3 Theme Engine Group: System/Libraries %description -n gtk3-engine-svg This package provides a librsvg-based GTK+ 3 theme engine. %endif %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 %if "%_lib" == "lib64" %patch0 -p1 # don't have configure auto-regenerated touch aclocal.m4 %endif %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 -n librsvg-2-2 -p /sbin/ldconfig %post -n gdk-pixbuf-loader-rsvg %gdk_pixbuf_loader_post %postun -n librsvg-2-2 -p /sbin/ldconfig %postun -n gdk-pixbuf-loader-rsvg %gdk_pixbuf_loader_postun %files -n librsvg-2-2 %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_libdir}/*.so.* %files -n gdk-pixbuf-loader-rsvg %defattr(-,root,root) %{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so %files -n gtk2-engine-svg %defattr(-,root,root) %{_libdir}/gtk-2.0/*/engines/libsvg.so %dir %{_datadir}/themes/bubble %{_datadir}/themes/bubble/gtk-2.0/ %if %{build_gtk3_support} %files -n gtk3-engine-svg %defattr(-,root,root) %{_libdir}/gtk-3.0/*/engines/libsvg-3.so %dir %{_datadir}/themes/bubble %{_datadir}/themes/bubble/gtk-3.0/ %endif %files -n rsvg-view %defattr(-,root,root) %{_bindir}/rsvg %{_bindir}/rsvg-convert %{_bindir}/rsvg-view %if %{build_gtk3_support} %{_bindir}/rsvg-view-3 %endif %{_datadir}/pixmaps/svg-viewer.svg %doc %{_mandir}/man?/rsvg.1* %files devel %defattr(-,root,root) %{_includedir}/librsvg-2.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gtk-doc/html/rsvg-2.0/ # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor