diff --git a/librsvg-2.44.15.tar.xz b/librsvg-2.46.4.tar.xz similarity index 59% rename from librsvg-2.44.15.tar.xz rename to librsvg-2.46.4.tar.xz index 58510d3d6b1b5f6bae09968d50cc97aacd1bd023..39f2e00c7781fad5bce0affaf31c595f838d95b7 100644 Binary files a/librsvg-2.44.15.tar.xz and b/librsvg-2.46.4.tar.xz differ diff --git a/librsvg2.spec b/librsvg2.spec index b2a0783301301611ce50168fe34bda820fc47caf..bf55cafe145f1e5660c6aaa71f6100a10205c188 100644 --- a/librsvg2.spec +++ b/librsvg2.spec @@ -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 +* Mon Oct 26 2020 openEuler Buildteam - 2.46.4-1 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:update to 2.46.4 + * Thu Jan 16 2020 openEuler Buildteam - 2.44.15-1 - Type:bugfix - Id:NA