diff --git a/librsvg.spec b/librsvg.spec index f203952..bde33fa 100644 --- a/librsvg.spec +++ b/librsvg.spec @@ -1,7 +1,7 @@ %define majversion %(echo %version | cut -d. -f 1-2) Name: librsvg -Version: 2.58.4 +Version: 2.59.2 Release: 1mamba Summary: A high performance SVG rendering library Group: System/Libraries @@ -15,13 +15,13 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcairo-devel +BuildRequires: libdav1d-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libharfbuzz-devel BuildRequires: libpango-devel -BuildRequires: libpng-devel BuildRequires: libxml2-devel ## AUTOBUILDREQ-END BuildRequires: libart_lgpl-devel @@ -73,50 +73,23 @@ Requires: gtk-doc The GNOME SVG Library (RSVG) is a high performance library for rendering SVG and SVGZ files associated with the Gnome Project. This package contains the API documentation needed for development. -%debug_package - %prep %setup -q -#%ifarch arm %{ix86} -#%patch0 -p1 -#%endif +cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" %build -%configure \ -%ifnarch arm aarch64 - --enable-gtk-doc \ -%endif - --disable-static \ - --enable-vala \ - --enable-introspection \ - --enable-pixbuf-loader +%meson \ + -Davif=enabled -%make +%meson_build %install -%makeinstall - -# remove unpackaged files -rm -f %{buildroot}%{_libdir}/mozilla/plugins/*.{a,la} - -#% find_lang %{name} --all-name - -%ifarch x86_64 -rm -rf %{buildroot}%{prefix}/lib/.build-id/* -%endif +%meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -/sbin/ldconfig -/usr/bin/gdk-pixbuf-query-loaders \ - > /etc/gtk-2.0/gdk-pixbuf.loaders -exit 0 - - %files -#-f %{name}.lang %defattr(-,root,root) %{_libdir}/librsvg-2.so.* %{_libdir}/girepository-1.0/Rsvg-2.0.typelib @@ -129,20 +102,14 @@ exit 0 %{_datadir}/thumbnailers/librsvg.thumbnailer %{_mandir}/man1/* -#%files mozilla -#%defattr(-,root,root) -#%{_libdir}/mozilla/plugins/*.so - %files devel %defattr(-,root,root) %dir %{_includedir}/librsvg-2.0/librsvg %{_includedir}/librsvg-2.0/librsvg/* %{_libdir}/librsvg-2.so %{_datadir}/gir-1.0/Rsvg-2.0.gir -%{_datadir}/vala/vapi/librsvg-2.0.vapi +%{_datadir}/vala/vapi/librsvg-2.0.* %{_libdir}/pkgconfig/* -%dir %{_datadir}/doc/librsvg -%{_datadir}/doc/librsvg/* %files apidocs %defattr(-,root,root) @@ -150,6 +117,9 @@ exit 0 %{_docdir}/Rsvg-2.0/* %changelog +* Mon Jan 20 2025 Automatic Build System 2.59.2-1mamba +- automatic version update by autodist + * Fri Sep 13 2024 Automatic Build System 2.58.4-1mamba - automatic version update by autodist