Update to 2.55.1 and add cargo compile files.
This commit is contained in:
parent
22b11b2770
commit
7755a6c1e5
BIN
cargo.tar.gz
Normal file
BIN
cargo.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
librsvg-2.55.1.tar.xz
Normal file
BIN
librsvg-2.55.1.tar.xz
Normal file
Binary file not shown.
@ -1,15 +1,16 @@
|
|||||||
%undefine _strict_symbol_defs_build
|
%undefine _strict_symbol_defs_build
|
||||||
%global _configure_disable_silent_rules 1
|
%global _configure_disable_silent_rules 1
|
||||||
%global bundled_rust_deps 1
|
%global bundled_rust_deps 1
|
||||||
%global cairo_version 1.16.0
|
%global cairo_version 1.16.0
|
||||||
|
|
||||||
Name: librsvg2
|
Name: librsvg2
|
||||||
Version: 2.54.4
|
Version: 2.55.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: An SVG library based on cairo
|
Summary: An SVG library based on cairo
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/LibRsvg
|
URL: https://wiki.gnome.org/Projects/LibRsvg
|
||||||
Source0: https://download.gnome.org/sources/librsvg/2.54/librsvg-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/librsvg/2.55/librsvg-%{version}.tar.xz
|
||||||
|
Source1: cargo.tar.gz
|
||||||
|
|
||||||
BuildRequires: chrpath gcc gobject-introspection-devel libxml2-devel gi-docgen
|
BuildRequires: chrpath gcc gobject-introspection-devel libxml2-devel gi-docgen
|
||||||
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel make
|
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel make
|
||||||
@ -47,23 +48,22 @@ This package provides extra utilities based on the librsvg library.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
tar xf %{SOURCE1} -C ~/
|
||||||
%autosetup -n librsvg-%{version} -p1
|
%autosetup -n librsvg-%{version} -p1
|
||||||
|
|
||||||
%if ! 0%{?bundled_rust_deps}
|
%if ! 0%{?bundled_rust_deps}
|
||||||
rm -vrf vendor .cargo Cargo.lock
|
rm -vrf vendor .cargo Cargo.lock
|
||||||
pushd rsvg_internals
|
sed -i Makefile.am -e 's/$(CARGO) --locked/$(CARGO)/'
|
||||||
%cargo_prep
|
%cargo_prep
|
||||||
mv .cargo ..
|
|
||||||
popd
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! 0%{?bundled_rust_deps}
|
%if ! 0%{?bundled_rust_deps}
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
pushd rsvg_internals >/dev/null
|
%cargo_generate_buildrequires
|
||||||
%cargo_generate_buildrequires
|
|
||||||
popd >/dev/null
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
#export CARGO="%__cargo"
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--disable-gtk-doc \
|
--disable-gtk-doc \
|
||||||
--docdir=%{_datadir}/doc/%{name} \
|
--docdir=%{_datadir}/doc/%{name} \
|
||||||
@ -108,6 +108,9 @@ rm -f %{buildroot}%{_pkgdocdir}/COMPILING.md
|
|||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 2.55.1-1
|
||||||
|
- Update to 2.55.1 and add cargo compile files
|
||||||
|
|
||||||
* Sat Jun 25 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 2.54.4-1
|
* Sat Jun 25 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 2.54.4-1
|
||||||
- Update to 2.54.4
|
- Update to 2.54.4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user