%define __libtoolize : Name: librsvg2 Summary: An SVG library based on cairo. Summary(ja): cairo ベースの SVG ライブラリ Group: graphics,system Version: 2.57.0 Release: 1%{?_dist_release} Vendor: Project Vine Distribution: Vine Linux License: LGPL %global shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//') Source: https://download.gnome.org/sources/librsvg/%{shortver}/librsvg-%{version}.tar.xz # upstream dropped vendoring since 2.55.0 (GNOME/librsvg#718), to create: # tar xf librsvg-%%{version}.tar.xz ; pushd librsvg-%%{version} ; \ # cargo vendor && tar Jcvf ../librsvg-%%{version}-vendor.tar.xz vendor/ ; popd Source1: librsvg-%{version}-vendor.tar.xz Source2: cargo.sh # Patches to build with Fedora-packaged rust crates Patch1: 0001-Fedora-Drop-dependencies-required-for-benchmarking.patch # Fix self tests with newer pango Patch2: 0001-1019-Fix-small-caps-and-bump-the-version-of-Pango-re.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: chrpath BuildRequires: gobject-introspection-devel BuildRequires: cairo-devel BuildRequires: fontconfig-devel BuildRequires: gdk-pixbuf2-devel BuildRequires: glib2-devel BuildRequires: libxml2-devel BuildRequires: pango-devel BuildRequires: vala BuildRequires: rust BuildRequires: cargo Requires: cairo Obsoletes: %{name}-doc < 2.57.0 %description An SVG library based on cairo. %description -l ja cairo ベースの SVG ライブラリです %package devel Summary: Libraries and include files for developing with librsvg. Summary(ja): librsvg の開発用ライブラリおよびヘッダファイル Group: programming Requires: %{name} = %{version} Requires: gdk-pixbuf2-devel Requires: cairo-devel %description devel This package provides the necessary development libraries and include files to allow you to develop with librsvg. %package docs Summary: Documentation for %{name} Summary(ja): %{name} 用のドキュメント Group: documentation BuildArch: noarch Requires: %{name} = %{version}-%{release} %description docs This package contains documentation for %{name}. %package vala Summary: Vala bindings for %{name} Summary(ja): %{name} の Vala バインディング Group: programming Requires: %{name} = %{version}-%{release} Requires: vala %description vala Vala bindings for %{name}. %debug_package %prep %autosetup -p1 -n librsvg-%{version} -a 1 sed -i -e 's/--locked/--offline/' Makefile.am autoreconf -vif sh %{SOURCE2} %build %configure \ --disable-gtk-doc \ --enable-introspection=yes \ --enable-vala=yes \ --with-svgz \ --enable-gtk-theme \ --disable-static %__make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} find %{buildroot} -type f -name '*.la' -print -delete rm -rf %{buildroot}%{_docdir}/librsvg # Remove lib64 rpaths chrpath --delete %{buildroot}%{_bindir}/rsvg-convert chrpath --delete %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so # Not useful in this package. rm -f %{buildroot}%{_pkgdocdir}/COMPILING.md %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %license COPYING.LIB %doc AUTHORS NEWS README.md %{_bindir}/rsvg-convert %{_libdir}/librsvg-2.so.* %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so %{_libdir}/girepository-1.0/Rsvg-2.0.typelib %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/librsvg.thumbnailer %files devel %defattr(-,root,root,-) %{_libdir}/librsvg-2.so %{_includedir}/librsvg-2.0/librsvg %{_libdir}/pkgconfig/librsvg-2.0.pc %{_datadir}/gir-1.0/Rsvg-2.0.gir %files vala %defattr(-,root,root,-) %{_datadir}/vala/vapi/librsvg-2.0.* %changelog * Thu Oct 05 2023 Tomohiro "Tomo-p" KATO 2.57.0-1 - new upstream release. * Sun May 09 2021 Tomohiro "Tomo-p" KATO 2.50.5-1 - new upstream release. - dropped scriptlets. * Thu Apr 15 2021 Tomohiro "Tomo-p" KATO 2.50.4-1 - new upstream release. * Mon Mar 08 2021 Tomohiro "Tomo-p" KATO 2.50.3-1 - new upstream release. * Thu Aug 13 2020 Tomohiro "Tomo-p" KATO 2.48.8-1 - new upstream release. - cleaned BR: up. * Sat Feb 15 2020 Tomohiro "Tomo-p" KATO 2.46.4-1 - new upstream release. * Sun Jul 17 2016 Yoji TOYODA 2.40.16-1 - new upstream release * Sat Dec 19 2015 Yoji TOYODA 2.40.12-1 - new upstream release * Sat Oct 31 2015 Yoji TOYODA 2.40.11-1 - new upstream release - remove Patch0 * Sun Aug 30 2015 Yoji TOYODA 2.40.10-1 - new upstream release - add Patch0 (librsvg-2.40.10-git20150811.patch) * Sun Mar 29 2015 Yoji TOYODA 2.40.9-1 - new upstream release * Sun Mar 08 2015 Yoji TOYODA 2.40.8-1 - new upstream release * Sun Mar 01 2015 Yoji TOYODA 2.40.7-1 - new upstream release * Mon Dec 22 2014 Yoji TOYODA 2.40.6-1 - new upstream release * Sun Oct 26 2014 Yoji TOYODA 2.40.5-1 - new upstream release * Thu Aug 21 2014 Yoji TOYODA 2.40.3-1 - new upstream release * Sun Jul 13 2014 Yoji TOYODA 2.40.2-2 - rebuild with libpng-1.6.12 * Sat Mar 29 2014 Yoji TOYODA 2.40.2-1 - new upstream release * Mon Jan 13 2014 Yoji TOYODA 2.40.1-2 - fix typo * Sun Nov 24 2013 Yoji TOYODA 2.40.1-1 - new upstream release - remove BuildRequires: gtk2-devel * Sun Apr 21 2013 Yoji TOYODA 2.36.4-2 - add BuildRequires: autoconf, gtk-doc, vala-devel, vala-tools - create %%{name}-docs and %%{name}-vala subpackages * Tue Oct 16 2012 Yoji TOYODA 2.36.4-1 - new upstream release * Sat Sep 29 2012 Yoji TOYODA 2.36.3-1 - new upstream release * Sun Apr 22 2012 Yoji TOYODA 2.36.1-1 - new upstream release * Sun Nov 20 2011 Yoji TOYODA 2.34.2-1 - new upstream release - add BuildRequires: gobject-introspection-devel * Fri Sep 23 2011 Yoji TOYODA 2.34.1-1 - new upstream release - remove Patch0 * Mon Aug 15 2011 Yoji TOYODA 2.34.0-1 - new upstream release - add Patch0 (librsvg2-2.34.0-git20110728.patch) * Sat Nov 20 2010 Yoji TOYODA 2.32.1-1 - new upstream release * Sun Oct 03 2010 Yoji TOYODA 2.32.0-1 - new upstream release - remove BuildRequires: popt, libart_lgpl, libgnomeui-devel, gnome-vfs2-devel - remove Requires: libart_lgpl - add configure option (--disable-static) - remove unrecognized configure option (--enable-gnome-vfs, --disable-mozilla-plugins) - fix %install, %files, %post and %postun * Wed Sep 22 2010 IWAI, Masaharu 2.26.3-1 - build with rpm-4.8.1-1 for pkg-config file * Sun May 02 2010 Yoji TOYODA 2.26.3-1 - new upstream release * Mon Mar 23 2009 Daisuke SUZUKI 2.26.0-1 - new upstream release - remove static libs * Sun Oct 26 2008 Ryoichi INAGAKI 2.22.3-1vl5 - new upstream release - spec in UTF-8 * Wed Mar 26 2008 Ryoichi INAGAKI 2.22.2-1vl5 - new upstream release * Sat Mar 8 2008 Ryoichi INAGAKI 2.18.2-0vl2 - rebuilt with libgsf-1.14.8 * Sat Sep 8 2007 Ryoichi INAGAKI 2.18.2-0vl1 - new upstream release * Sun May 20 2007 Daisuke SUZUKI 2.16.1-0vl1 - new upstream release - add BuildRequires: dbus-glib-devel, avahi-glib-devel - add BuildRequires: libgsf-devel, libcroco-devel - add Requires(post): dbus-glib, avahi-glib, libgsf, libcroco - add Requires(post,postun): glib2 * Tue Apr 24 2007 Daisuke SUZUKI 2.14.4-0vl5 - rebuild with gtk+-2.10 * Thu Aug 31 2006 MATSUBAYASHI Kohji 2.14.4-0vl4 - rebuilt without libgsf-devel * Tue Jun 20 2006 Daisuke SUZUKI 2.14.4-0vl3 - update %%post scripts to use %%{_sysconfdir}/gtk-2.0/%%{_arch}/gd-pixbuf.loaders for biarch support. (TODO: add compat32) * Sat Jun 17 2006 MATSUBAYASHI Kohji 2.14.4-0vl2 - rebuild * Mon May 29 2006 Ryoichi INAGAKI 2.14.4-0vl1 - new upstream release * Tue Mar 14 2006 Daisuke SUZUKI 2.14.2-0vl1 - new upstream release * Tue Mar 07 2006 Daisuke SUZUKI 2.14.1-0vl1 - new upstream release * Wed Oct 12 2005 Ryoichi INAGAKI 2.12.7-0vl1 - new upstream release - added --disable-gtk-doc option * Sat Oct 8 2005 Ryoichi INAGAKI 2.12.6-0vl1 - new upstream release - added gtk-doc to devel package * Sun Oct 2 2005 Ryoichi INAGAKI 2.12.3-0vl1 - new upstream release - added Japanese description - added --without-svgz option (because it requires libgsf) * Mon Sep 19 2005 Daisuke SUZUKI 2.12.0-0vl1 - new upstream release * Sun Nov 07 2004 Daisuke SUZUKI 2.8.1-0vl1 - new upstream release * Fri Jun 18 2004 MATSUBAYASHI Kohji 2.4.0-0vl4 - rebuilt to avoid unwanted dependency (libgsf) * Fri Mar 19 2004 Daisuke SUZUKI 2.4.0-0vl3 - add gdk-pixbuf-query-loaders to post/postun script. * Fri Mar 19 2004 Daisuke SUZUKI 2.4.0-0vl2 - rebuild with gtk+-2.4.0 * Wed Sep 10 2003 Daisuke SUZUKI 2.4.0-0vl1 - new upstream release * Fri Sep 05 2003 Daisuke SUZUKI 2.3.1-0vl2 - fix kanji code of spec file - fix file entry, add missing files * Wed Sep 03 2003 Daisuke SUZUKI 2.3.1-0vl1 - new upstream release * Sat Jul 12 2003 Ryoichi INAGAKI 2.2.5-0vl2 - added --without-svgz and --without-gimp to %configure * Thu Jul 10 2003 Ryoichi INAGAKI 2.2.5-0vl1 - new upstream release - added %{_bindir}/rsvg and %{_mandir}/man1/* to main package - added %{_libdir}/gtk-2.0/* to devel package * Tue Jan 21 2003 Daisuke SUZUKI 2.2.0-0vl1 - new upstream release * Thu Jan 16 2003 Daisuke SUZUKI 2.1.5-0vl1 - new upstream release * Fri Jan 10 2003 Daisuke SUZUKI 2.1.3-0vl1 - new upstream release * Sun Dec 15 2002 Daisuke SUZUKI 2.1.2-0vl1 - build for Vine Linux - new upstream release from gnome-2.1.4 * Sat Jul 27 2002 Havoc Pennington - 2.0.1 * Fri Jun 21 2002 Tim Powers - automated rebuild * Sun May 26 2002 Tim Powers - automated rebuild * Tue May 21 2002 Havoc Pennington - rebuild in different environment * Thu May 02 2002 Havoc Pennington - rebuild in different environment * Thu Apr 18 2002 Havoc Pennington - 1.1.6 * Mon Feb 11 2002 Alex Larsson 1.1.3-1 - Update to 1.1.3 * Wed Jan 09 2002 Tim Powers - automated rebuild * Wed Jan 2 2002 Havoc Pennington - new CVS snap 1.1.0.91 - remove automake/autoconf calls * Mon Nov 26 2001 Havoc Pennington - convert to librsvg2 RPM * Tue Oct 23 2001 Havoc Pennington - 1.0.2 * Fri Jul 27 2001 Alexander Larsson - Add a patch that moves the includes to librsvg-1/librsvg - in preparation for a later librsvg 2 library. * Tue Jul 24 2001 Havoc Pennington - build requires gnome-libs-devel, #49509 * Thu Jul 19 2001 Havoc Pennington - own /usr/include/librsvg * Wed Jul 18 2001 Akira TAGOH 1.0.0-4 - fixed the linefeed problem in multibyte environment. (Bug#49310) * Mon Jul 09 2001 Havoc Pennington - put .la file back in package * Fri Jul 6 2001 Trond Eivind Glomsr藷? - Put changelog at the end - Move .so files to devel subpackage - Don't mess with ld.so.conf - Don't use %%{prefix}, this isn't a relocatable package - Don't define a bad docdir - Add BuildRequires - Use %%{_tmppath} - Don't define name, version etc. on top of the file (why do so many do that?) - s/Copyright/License/ * Wed May 9 2001 Jonathan Blandford - Put into Red Hat Build system * Tue Oct 10 2000 Robin Slomkowski - removed obsoletes from sub packages and added mozilla and trilobite subpackages * Wed Apr 26 2000 Ramiro Estrugo - created this thing