eliminate-difference
This commit is contained in:
parent
c67a1e5562
commit
a012e2d9f8
@ -1,6 +1,6 @@
|
||||
Name: librsvg2
|
||||
Version: 2.50.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: An SVG library based on cairo
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/LibRsvg
|
||||
@ -12,9 +12,6 @@ BuildRequires: pango-devel vala cargo rust git-core
|
||||
|
||||
Requires: gdk-pixbuf2 cairo >= 1.16.0
|
||||
|
||||
Provides: %{name}-tools = %{version}-%{release}
|
||||
Obsoletes: %{name}-tools < %{version}-%{release}
|
||||
|
||||
%description
|
||||
An SVG library based on cairo.
|
||||
|
||||
@ -26,14 +23,22 @@ Requires: %{name} = %{version}-%{release}
|
||||
This package provides the necessary development libraries and include
|
||||
files to allow you to develop with librsvg.
|
||||
|
||||
%package tools
|
||||
Summary: Extra tools for librsvg
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description tools
|
||||
This package provides extra utilities based on the librsvg library.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n librsvg-%{version} -p1 -Sgit
|
||||
|
||||
%build
|
||||
export CFLAGS=$(echo %{?optflags} | sed 's/ -g / /g')
|
||||
%configure --disable-static --disable-gtk-doc --enable-introspection --enable-vala
|
||||
%make_build
|
||||
make
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -49,7 +54,6 @@ rm -vrf %{buildroot}%{_datadir}/doc
|
||||
%files -f librsvg.lang
|
||||
%defattr(-,root,root)
|
||||
%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
|
||||
@ -63,6 +67,10 @@ rm -vrf %{buildroot}%{_datadir}/doc
|
||||
%{_datadir}/gir-1.0/Rsvg-2.0.gir
|
||||
%{_datadir}/vala/vapi/librsvg-2.0.vapi
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/rsvg-convert
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc CONTRIBUTING.md README.md
|
||||
@ -70,6 +78,12 @@ rm -vrf %{buildroot}%{_datadir}/doc
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 19 2021 zhanzhimin<zhanzhimin@huawei.com> - 2.50.2-2
|
||||
- Type: bugfix
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: eliminate-difference
|
||||
|
||||
* Wed Jan 27 2021 hanhui <hanhui15@huawei.com> - 2.50.2-1
|
||||
- Type: enhancement
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user