!6 Version upgrade to 2.46.4

From: @yangl777
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
This commit is contained in:
openeuler-ci-bot 2020-10-15 19:02:25 +08:00 committed by Gitee
commit 13afc7c72b
2 changed files with 19 additions and 13 deletions

View File

@ -1,16 +1,16 @@
Name: librsvg2
Version: 2.44.15
Version: 2.46.4
Release: 1
Summary: An SVG library based on cairo
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/LibRsvg
Source0: https://download.gnome.org/sources/librsvg/2.44/librsvg-%{version}.tar.xz
Source0: https://download.gnome.org/sources/librsvg/2.46/librsvg-%{version}.tar.xz
BuildRequires: chrpath gcc gobject-introspection-devel cairo-devel libxml2-devel
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel gtk3-devel
BuildRequires: libcroco-devel pango-devel vala cargo rust
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel pkgconfig(cairo-gobject) >= 1.16.0
BuildRequires: libcroco-devel pango-devel vala cargo rust git-core
Requires: gdk-pixbuf2 cairo
Requires: gdk-pixbuf2 cairo >= 1.16.0
Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools < %{version}-%{release}
@ -29,25 +29,27 @@ files to allow you to develop with librsvg.
%package_help
%prep
%autosetup -n librsvg-%{version} -p1
%autosetup -n librsvg-%{version} -p1 -Sgit
%build
%configure --disable-gtk-doc --enable-introspection --enable-vala
%configure --disable-static --disable-gtk-doc --enable-introspection --enable-vala
%make_build
%install
%make_install
%delete_la
%find_lang librsvg
chrpath --delete %{buildroot}%{_bindir}/rsvg-convert
chrpath --delete %{buildroot}%{_bindir}/rsvg-view-3
chrpath --delete %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
rm -vrf %{buildroot}%{_datadir}/doc
%files
%files -f librsvg.lang
%defattr(-,root,root)
%license COPYING COPYING.LIB
%{_bindir}/rsvg-*
%license COPYING.LIB
%{_bindir}/rsvg-convert
%{_libdir}/librsvg-2.so.*
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
%{_libdir}/girepository-1.0/Rsvg-2.0.typelib
@ -56,8 +58,6 @@ rm -vrf %{buildroot}%{_datadir}/doc
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/gdk-pixbuf-2.0/*/loaders/*.a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/librsvg-2.0/
%{_datadir}/gir-1.0/Rsvg-2.0.gir
@ -70,6 +70,12 @@ rm -vrf %{buildroot}%{_datadir}/doc
%{_mandir}/man1/*.1*
%changelog
* Thu Oct 15 2020 yanglu <yanglu60@huawei.com> - 2.46.4-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:update to 2.46.4
* Thu Jan 16 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.44.15-1
- Type:bugfix
- Id:NA