librsvg2/librsvg2.spec

108 lines
2.8 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:52 -04:00
Name: librsvg2
2021-01-27 14:08:24 +08:00
Version: 2.50.2
Release: 1
2019-09-30 10:57:52 -04:00
Summary: An SVG library based on cairo
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/LibRsvg
2020-11-18 10:12:35 +08:00
Source0: https://download.gnome.org/sources/librsvg/2.50/librsvg-%{version}.tar.xz
2020-07-25 09:14:18 +08:00
2019-12-26 15:25:06 +08:00
BuildRequires: chrpath gcc gobject-introspection-devel cairo-devel libxml2-devel
2020-07-24 20:39:51 +08:00
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel pkgconfig(cairo-gobject) >= 1.16.0
2020-11-24 15:44:31 +08:00
BuildRequires: pango-devel vala cargo rust git-core
2019-09-30 10:57:52 -04:00
2020-07-24 20:39:51 +08:00
Requires: gdk-pixbuf2 cairo >= 1.16.0
2019-09-30 10:57:52 -04:00
2019-12-26 15:25:06 +08:00
Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools < %{version}-%{release}
2019-09-30 10:57:52 -04:00
%description
An SVG library based on cairo.
%package devel
Summary: Libraries and include files for developing with librsvg
2019-12-26 15:25:06 +08:00
Requires: %{name} = %{version}-%{release}
2019-09-30 10:57:52 -04:00
%description devel
This package provides the necessary development libraries and include
files to allow you to develop with librsvg.
%package_help
%prep
2020-07-24 20:39:51 +08:00
%autosetup -n librsvg-%{version} -p1 -Sgit
2019-09-30 10:57:52 -04:00
%build
2020-07-24 20:39:51 +08:00
%configure --disable-static --disable-gtk-doc --enable-introspection --enable-vala
2019-09-30 10:57:52 -04:00
%make_build
%install
%make_install
%delete_la
2020-07-24 20:39:51 +08:00
%find_lang librsvg
2019-09-30 10:57:52 -04:00
chrpath --delete %{buildroot}%{_bindir}/rsvg-convert
chrpath --delete %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
rm -vrf %{buildroot}%{_datadir}/doc
2020-07-24 20:39:51 +08:00
%files -f librsvg.lang
2019-09-30 10:57:52 -04:00
%defattr(-,root,root)
2020-07-24 20:39:51 +08:00
%license COPYING.LIB
%{_bindir}/rsvg-convert
2019-09-30 10:57:52 -04:00
%{_libdir}/librsvg-2.so.*
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
%{_libdir}/girepository-1.0/Rsvg-2.0.typelib
%{_datadir}/thumbnailers/*.thumbnailer
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/librsvg-2.0/
%{_datadir}/gir-1.0/Rsvg-2.0.gir
%{_datadir}/vala/vapi/librsvg-2.0.vapi
%files help
%defattr(-,root,root)
%doc CONTRIBUTING.md README.md
%{_datadir}/gtk-doc/html/rsvg-2.0
%{_mandir}/man1/*.1*
%changelog
2021-01-27 14:08:24 +08:00
* Wed Jan 27 2021 hanhui <hanhui15@huawei.com> - 2.50.2-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update to 2.50.2
2020-11-24 15:44:31 +08:00
* Tue Nov 24 2020 zhanzhimin <zhanzhimin@huawei.com> - 2.50.1-2
- delete libcroco dependency
2020-11-18 10:12:35 +08:00
* Wed Nov 18 2020 zhanzhimin <zhanzhimin@huawei.com> - 2.50.1-1
- update to 2.50.1
2020-08-01 14:36:27 +08:00
* Thu Jul 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.46.4-1
2020-07-24 20:39:51 +08:00
- Type:bugfix
- Id:NA
- SUG:NA
2020-08-01 14:36:27 +08:00
- DESC:update to 2.46.4
2020-07-24 20:39:51 +08:00
2020-07-20 23:00:27 +08:00
* Mon Jul 20 2020 yanan li <liyanan032@huawei.com> - 2.44.15-2
- fix build fail with rust 1.38.0
2020-01-16 14:53:27 +08:00
* Thu Jan 16 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.44.15-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:update to 2.44.15
2019-12-26 15:25:06 +08:00
* Wed Dec 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.44.6-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: optimization the spec of librsvg2
2019-09-30 10:57:52 -04:00
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.44.6-2
- Package init