1 Star 0 Fork 25

shirely/librsvg2

forked from src-openEuler/librsvg2 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
librsvg2.spec 3.21 KB
一键复制 编辑 原始数据 按行查看 历史
weijin-deng 提交于 2021-05-21 18:07 . Upgrade to 2.50.5
Name: librsvg2
Version: 2.50.5
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.50/librsvg-%{version}.tar.xz
BuildRequires: chrpath gcc gobject-introspection-devel cairo-devel libxml2-devel
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel pkgconfig(cairo-gobject) >= 1.16.0
BuildRequires: pango-devel vala cargo rust git-core
Requires: gdk-pixbuf2 cairo >= 1.16.0
%description
An SVG library based on cairo.
%package devel
Summary: Libraries and include files for developing with librsvg
Requires: %{name} = %{version}-%{release}
%description devel
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
%install
%make_install
%delete_la
%find_lang librsvg
chrpath --delete %{buildroot}%{_bindir}/rsvg-convert
chrpath --delete %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
rm -vrf %{buildroot}%{_datadir}/doc
%files -f librsvg.lang
%defattr(-,root,root)
%license COPYING.LIB
%{_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 tools
%defattr(-,root,root)
%{_bindir}/rsvg-convert
%files help
%defattr(-,root,root)
%doc CONTRIBUTING.md README.md
%{_datadir}/gtk-doc/html/rsvg-2.0
%{_mandir}/man1/*.1*
%changelog
* Wed May 19 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.50.5-1
- Upgrade to 2.50.5
- Update Version, Release
* 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
- SUG: NA
- DESC: update to 2.50.2
* Tue Nov 24 2020 zhanzhimin <zhanzhimin@huawei.com> - 2.50.1-2
- delete libcroco dependency
* Wed Nov 18 2020 zhanzhimin <zhanzhimin@huawei.com> - 2.50.1-1
- update to 2.50.1
* Thu Jul 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.46.4-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:update to 2.46.4
* Mon Jul 20 2020 yanan li <liyanan032@huawei.com> - 2.44.15-2
- fix build fail with rust 1.38.0
* 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
* 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
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.44.6-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shirely16/librsvg2.git
git@gitee.com:shirely16/librsvg2.git
shirely16
librsvg2
librsvg2
master

搜索帮助