Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:rhabacker:branches:windows:mingw:win32
mingw32-librsvg
mingw32-librsvg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-librsvg.spec of Package mingw32-librsvg
# # spec file for package mingw32-librsvg # # Copyright (c) 2018 SUSE LINUX 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 0 Name: mingw32-librsvg Version: 2.36.3 Release: 0 Summary: Library for Rendering SVG Data License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Url: ftp://ftp.gnome.org/pub/gnome/sources/librsvg Source: ftp://ftp.gnome.org/pub/gnome/sources/librsvg/2.36/librsvg-%{version}.tar.xz Patch2: librsvg-2.32.0-gtk3.patch BuildRequires: glib2-devel BuildRequires: gtk-doc BuildRequires: mingw32-cairo-devel #!BuildIgnore: post-build-checks BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem BuildRequires: mingw32-gdk-pixbuf-devel BuildRequires: mingw32-glib2-devel BuildRequires: mingw32-gtk2-devel BuildRequires: mingw32-libcroco-devel BuildRequires: mingw32-libxml2-devel BuildRequires: mingw32-pango-devel BuildRequires: python BuildRequires: xz %_mingw32_package_header_debug BuildArch: noarch %if %{build_gtk3} BuildRequires: mingw32-gtk3-devel %endif %if %{?suse_version} > 1200 BuildRequires: gdk-pixbuf-query-loaders %else BuildRequires: gtk2 %endif %description MinGW Windows port of a Library for Rendering SVG Data. 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 mingw32-librsvg-2-2 Summary: Library for Rendering SVG Data Group: System/Libraries Obsoletes: %{name} Provides: %{name} %description -n mingw32-librsvg-2-2 MinGW Windows port of a Library for Rendering SVG Data. 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 Summary: Library for Rendering SVG Data (development files) Group: Development/Libraries/C and C++ %description devel MinGW Windows port of a Library for Rendering SVG Data (development files). 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 mingw32-gdk-pixbuf-loader-rsvg Summary: Library for Rendering SVG Data -- gdk-pixbuf loader Group: System/Libraries %description -n mingw32-gdk-pixbuf-loader-rsvg This package provides a librsvg-based gdk-pixbuf loader. %package -n mingw32-gtk2-engine-svg Summary: SVG-based GTK+ 2 Theme Engine Group: System/Libraries %description -n mingw32-gtk2-engine-svg This package provides a librsvg-based GTK+ 2 theme engine. %if %{build_gtk3} %package -n mingw32-gtk3-engine-svg Summary: SVG-based GTK+ 3 Theme Engine Group: System/Libraries %description -n mingw32-gtk3-engine-svg This package provides a librsvg-based GTK+ 3 theme engine. %endif %package tools Summary: SVG tools using the GNOME Render SVG library Group: System/Libraries %description tools SVG tools using the GNOME Render SVG library. This package contains a librsvg based SVG viewer and a converter tool. %_mingw32_debug_package %prep %setup -q -n librsvg-%{version} %patch -P 2 -p1 -b .gtk3 %build export PATH="%{_mingw32_bindir}:$PATH" echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache} %{_mingw32_configure} \ --disable-mozilla-plugin \ --disable-introspection \ --enable-gtk-theme --enable-pixbuf-loader \ --with-croco --with-svgz --without-x \ --enable-shared --disable-static make %{?_smp_mflags} || make %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -rf %{buildroot}%{_mingw32_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.dll.a rm -rf %{buildroot}%{_mingw32_libdir}/gtk-2.0/*/engines/libsvg.dll.a %if %{build_gtk3} rm -rf %{buildroot}%{_mingw32_libdir}/gtk-3.0/*/engines/libsvg-3.dll.a %endif rm -rf %{buildroot}%{_mingw32_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders %files -n mingw32-librsvg-2-2 %defattr(-,root,root) %{_mingw32_bindir}/librsvg-2-2.dll %files devel %defattr(-,root,root) %{_mingw32_includedir}/librsvg-2.0/librsvg %{_mingw32_libdir}/librsvg-2.dll.a %{_mingw32_libdir}/pkgconfig/librsvg-2.0.pc %{_mingw32_datadir}/gtk-doc/html/rsvg-2.0 %files -n mingw32-gdk-pixbuf-loader-rsvg %defattr(-,root,root) %{_mingw32_libdir}/gdk-pixbuf-2.0/2.*/loaders/libpixbufloader-svg.dll %files -n mingw32-gtk2-engine-svg %defattr(-,root,root) %{_mingw32_libdir}/gtk-2.0/*/engines/libsvg.dll %{_mingw32_datadir}/themes/bubble/gtk-2.0/ %if %{build_gtk3} %files -n mingw32-gtk3-engine-svg %defattr(-,root,root) %{_mingw32_libdir}/gtk-3.0/*/engines/libsvg-3.dll %dir %{_mingw32_datadir}/themes/bubble %{_mingw32_datadir}/themes/bubble/gtk-3.0/ %endif %files tools %defattr(-,root,root) %{_mingw32_bindir}/rsvg-convert.exe %if %{build_gtk3} %{_mingw32_bindir}/rsvg-view-3.exe %endif %{_mingw32_mandir}/man1/rsvg* %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