123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433 |
- %define __libtoolize :
- %define libxml2_version 2.7.8
- %define gdk_pixbuf2 2.26.1
- %define gtk3_version 3.4.1
- %define freetype_version 2.4.2
- %define popt_version 1.14
- %define libart_version 2.3.21
- %define cairo_version 1.12.0
- %define dbus_version 1.4.0
- %define dbus_glib_version 0.88
- %define avahi_glib_version 0.6.23
- %define libcroco_version 0.6.2
- %define libgsf_version 1.14.19
- Name: librsvg2
- Summary: An SVG library based on libart.
- Summary(ja): libart ベースの SVG ライブラリ
- Version: 2.46.4
- Release: 1%{?_dist_release}
- License: LGPL
- Group: System Environment/Libraries
- %global shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
- Source: https://download.gnome.org/sources/librsvg/%{shortver}/librsvg-%{version}.tar.xz
- Requires(post,postun): gtk3 >= %{gtk3_version}
- Requires(post): dbus-glib >= %{dbus_glib_version}
- Requires(post): avahi-glib >= %{avahi_glib_version}
- Requires(post): libgsf, libcroco
- Requires: gtk3 >= %{gtk3_version}
- Requires: libxml2 >= %{libxml2_version}
- Requires: popt >= %{popt_version}
- Requires: freetype2 >= %{freetype_version}
- Requires: libpng
- BuildRequires: libpng-devel
- BuildRequires: gtk3-devel >= %{gtk3_version}
- BuildRequires: gobject-introspection-devel
- BuildRequires: libxml2-devel >= %{libxml2_version}
- BuildRequires: freetype2-devel >= %{freetype_version}
- BuildRequires: cairo-devel >= %{cairo_version}
- BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
- BuildRequires: avahi-glib-devel >= %{avahi_glib_version}
- BuildRequires: libcroco-devel >= %{libcroco_version}
- BuildRequires: libgsf-devel >= %{libgsf_version}
- BuildRequires: autoconf
- BuildRequires: gtk-doc
- BuildRequires: vala-devel
- BuildRequires: vala-tools
- BuildRequires: rust
- BuildRequires: cargo
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- An SVG library based on libart.
- %description -l ja
- libart ベースの SVG ライブラリです
- %package devel
- Summary: Libraries and include files for developing with librsvg.
- Summary(ja): librsvg の開発用ライブラリおよびヘッダファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}
- Requires: gdk-pixbuf2-devel >= %{gdk_pixbug2_version}
- Requires: cairo-devel >= %{cairo_version}
- %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
- Requires: %{name} = %{version}-%{release}
- BuildArch: noarch
- %description docs
- This package contains documentation for %{name}.
- %package vala
- Summary: Vala bindings for %{name}
- Summary(ja): %{name} の Vala バインディング
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: vala
- %description vala
- Vala bindings for %{name}.
- %prep
- %setup -q -n librsvg-%{version}
- %build
- %configure --enable-gtk-doc \
- --enable-introspection=yes \
- --enable-vala=yes \
- --with-svgz \
- --enable-gtk-theme \
- --with-croco \
- --disable-static
- %__make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make install DESTDIR=%{buildroot}
- rm -f %{buildroot}%{_libdir}/*.{a,la}
- rm -f %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbuf*.*a
- rm -f %{buildroot}%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
- rm -rf %{buildroot}%{_docdir}/librsvg
- %find_lang librsvg
- %clean
- rm -rf %{buildroot}
- %post
- /sbin/ldconfig
- if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
- /usr/bin/gdk-pixbuf-query-loaders --update-cache || :
- fi ||:
- %postun
- /sbin/ldconfig
- if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
- /usr/bin/gdk-pixbuf-query-loaders --update-cache || :
- fi ||:
- %files -f librsvg.lang
- %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
- %{_mandir}/man1/rsvg-convert.1.gz
- %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 docs
- %defattr(-,root,root,-)
- %{_datadir}/gtk-doc/html/rsvg-2.0
- %files vala
- %defattr(-,root,root,-)
- %{_datadir}/vala/vapi/librsvg-2.0.vapi
- %changelog
- * 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
|