pycairo/pycairo.spec

83 lines
2.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:14:22 -04:00
Name: pycairo
2021-01-29 15:02:50 +08:00
Version: 1.20.0
Release: 1
2019-09-30 11:14:22 -04:00
Summary: A python module providing bindings for the cairo graphics library
License: MPLv1.1 or LGPLv2
URL: https://cairographics.org/pycairo
Source0: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
BuildRequires: cairo-devel gcc pkgconfig python3-devel python3-pytest
2019-09-30 11:14:22 -04:00
%description
Pycairo is a Python module providing bindings for the cairo graphics library.
%package -n python3-cairo
Summary: Provide python3 support for the cairo graphics library
%{?python_provide:%python_provide python3-cairo}
%description -n python3-cairo
Provide python3 support for the cairo graphics library.
%package -n python3-cairo-devel
Summary: Provide libraries and headers for py3cairo
2019-11-06 19:48:14 +08:00
Requires: python3-cairo = %{version}-%{release}
2019-09-30 11:14:22 -04:00
Requires: python3-devel
%description -n python3-cairo-devel
Provide files for the use of building wrappers for cairo add-on libraries
in order to interoperate with py3cairo.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-cairo
%defattr(-,root,root)
%license COPYING*
%{python3_sitearch}/cairo/*
%{python3_sitearch}/pycairo*.egg-info/*
%files -n python3-cairo-devel
%defattr(-,root,root)
%{_includedir}/pycairo/py3cairo.h
2019-11-06 19:48:14 +08:00
%{_libdir}/pkgconfig/py*.pc
2019-09-30 11:14:22 -04:00
%changelog
2021-01-29 15:02:50 +08:00
* Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.20.0-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update pycairo to 1.20.0
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 1.19.1-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:remove python2
2020-07-29 11:36:15 +08:00
* Wed Jul 29 2020 gaihuiying <gaihuiying1@huawei.com> - 1.19.1-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update pycairo version to 1.19.1
2020-01-08 11:38:36 +08:00
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.18.2-1
- update to 1.18.2
2019-11-06 19:48:14 +08:00
* Mon Oct 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.18.1-2
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:Delete extra infomation of package python3-cairo-devel
2019-09-30 11:14:22 -04:00
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.18.1-1
- Package init