123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433 |
- %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 <tomop@teamgedoh.net> 2.57.0-1
- - new upstream release.
- * Sun May 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.50.5-1
- - new upstream release.
- - dropped scriptlets.
- * Thu Apr 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.50.4-1
- - new upstream release.
- * Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.50.3-1
- - new upstream release.
- * Thu Aug 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.48.8-1
- - new upstream release.
- - cleaned BR: up.
- * Sat Feb 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.46.4-1
- - new upstream release.
- * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.16-1
- - new upstream release
- * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.12-1
- - new upstream release
- * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.11-1
- - new upstream release
- - remove Patch0
- * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.10-1
- - new upstream release
- - add Patch0 (librsvg-2.40.10-git20150811.patch)
- * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.9-1
- - new upstream release
- * Sun Mar 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.8-1
- - new upstream release
- * Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.7-1
- - new upstream release
- * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.6-1
- - new upstream release
- * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.5-1
- - new upstream release
- * Thu Aug 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.3-1
- - new upstream release
- * Sun Jul 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.2-2
- - rebuild with libpng-1.6.12
- * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.2-1
- - new upstream release
- * Mon Jan 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-2
- - fix typo
- * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-1
- - new upstream release
- - remove BuildRequires: gtk2-devel
- * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 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 <bsyamato@sea.plala.or.jp> 2.36.4-1
- - new upstream release
- * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.3-1
- - new upstream release
- * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.1-1
- - new upstream release
- * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.2-1
- - new upstream release
- - add BuildRequires: gobject-introspection-devel
- * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.1-1
- - new upstream release
- - remove Patch0
- * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.0-1
- - new upstream release
- - add Patch0 (librsvg2-2.34.0-git20110728.patch)
- * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
- - new upstream release
- * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 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 <iwai@alib.jp> 2.26.3-1
- - build with rpm-4.8.1-1 for pkg-config file
- * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.3-1
- - new upstream release
- * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
- - new upstream release
- - remove static libs
- * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.3-1vl5
- - new upstream release
- - spec in UTF-8
- * Wed Mar 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1vl5
- - new upstream release
- * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl2
- - rebuilt with libgsf-1.14.8
- * Sat Sep 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
- - new upstream release
- * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 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 <daisuke@linux.or.jp> 2.14.4-0vl5
- - rebuild with gtk+-2.10
- * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl4
- - rebuilt without libgsf-devel
- * Tue Jun 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 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 <shaolin@vinelinux.org> 2.14.4-0vl2
- - rebuild
- * Mon May 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.4-0vl1
- - new upstream release
- * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
- - new upstream release
- * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
- - new upstream release
- * Wed Oct 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-0vl1
- - new upstream release
- - added --disable-gtk-doc option
- * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.6-0vl1
- - new upstream release
- - added gtk-doc to devel package
- * Sun Oct 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
- - new upstream release
- - added Japanese description
- - added --without-svgz option (because it requires libgsf)
- * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
- - new upstream release
- * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
- - new upstream release
- * Fri Jun 18 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.0-0vl4
- - rebuilt to avoid unwanted dependency (libgsf)
- * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3
- - add gdk-pixbuf-query-loaders to post/postun script.
- * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
- - rebuild with gtk+-2.4.0
- * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
- - new upstream release
- * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl2
- - fix kanji code of spec file
- - fix file entry, add missing files
- * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
- - new upstream release
- * Sat Jul 12 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl2
- - added --without-svgz and --without-gimp to %configure
- * Thu Jul 10 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 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 <daisuke@linux.or.jp> 2.2.0-0vl1
- - new upstream release
- * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
- - new upstream release
- * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
- - new upstream release
- * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.2-0vl1
- - build for Vine Linux
- - new upstream release from gnome-2.1.4
- * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.1
- * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Sun May 26 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Thu May 02 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
- - 1.1.6
- * Mon Feb 11 2002 Alex Larsson <alexl@redhat.com> 1.1.3-1
- - Update to 1.1.3
- * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
- - new CVS snap 1.1.0.91
- - remove automake/autoconf calls
- * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
- - convert to librsvg2 RPM
- * Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
- - 1.0.2
- * Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
- - 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 <hp@redhat.com>
- - build requires gnome-libs-devel, #49509
- * Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
- - own /usr/include/librsvg
- * Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
- - fixed the linefeed problem in multibyte environment. (Bug#49310)
- * Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
- - put .la file back in package
- * Fri Jul 6 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
- - 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 <jrb@redhat.com>
- - Put into Red Hat Build system
- * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
- - removed obsoletes from sub packages and added mozilla and trilobite
- subpackages
- * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
- - created this thing
|