pycairo/pycairo.spec

113 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:14:22 -04:00
Name: pycairo
2023-12-27 15:20:32 +08:00
Version: 1.25.1
2022-10-24 09:12:33 +00:00
Release: 1
2019-09-30 11:14:22 -04:00
Summary: A python module providing bindings for the cairo graphics library
2023-03-10 06:07:04 +00:00
License: LGPL-2.1-only OR MPL-1.1
2019-09-30 11:14:22 -04:00
URL: https://cairographics.org/pycairo
Source0: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
2022-10-24 09:12:33 +00:00
BuildRequires: pkgconfig(cairo) gcc python3-devel python3-pytest python3-setuptools
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}
2022-07-21 14:54:04 +08:00
Provides: python%{python3_version}dist(pycairo) = %{version}
2019-09-30 11:14:22 -04:00
%description -n python3-cairo
Provide python3 support for the cairo graphics library.
2022-07-21 14:54:04 +08:00
2019-09-30 11:14:22 -04:00
%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*
2022-10-24 09:12:33 +00:00
%doc README.rst
2019-09-30 11:14:22 -04:00
%{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
2023-12-27 15:20:32 +08:00
* Wed Dec 27 2023 konglidong <konglidong@uniontech.com> - 1.25.1-1
- update version to 1.25.1
2023-07-24 17:05:51 +08:00
* Mon Jul 24 2023 yanglu <yanglu72@h-partners> - 1.24.0-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update pycairo version to 1.24.0
2023-03-10 06:07:04 +00:00
* Fri Mar 10 2023 yanglu <yanglu72@h-partners> - 1.23.0-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update pycairo version to 1.23.0
2022-10-24 09:12:33 +00:00
* Mon Oct 24 2022 yanglu <yanglu72@h-partners> - 1.21.0-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update pycairo version to 1.21.0
2022-07-21 14:54:04 +08:00
* Thu Jul 21 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 1.20.0-2
- Type:requirements
- Id:NA
- SUG:NA
- DESC:Add provides for python3-cairo
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