Compare commits
No commits in common. "c6a2d5220d0fa15cc583b0dc77c5269a0d702535" and "fa74911ec3df13648cb327565fc09982a7008518" have entirely different histories.
c6a2d5220d
...
fa74911ec3
BIN
pycairo-1.18.2.tar.gz
Normal file
BIN
pycairo-1.18.2.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
63
pycairo.spec
63
pycairo.spec
@ -1,16 +1,25 @@
|
||||
Name: pycairo
|
||||
Version: 1.21.0
|
||||
Version: 1.18.2
|
||||
Release: 1
|
||||
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: pkgconfig(cairo) gcc python3-devel python3-pytest python3-setuptools
|
||||
BuildRequires: cairo-devel gcc pkgconfig python2-devel python2-pytest python3-devel python3-pytest
|
||||
|
||||
%description
|
||||
Pycairo is a Python module providing bindings for the cairo graphics library.
|
||||
|
||||
%package -n python2-cairo
|
||||
Summary: Provide python2 support for the cairo graphics library
|
||||
%{?python_provide:%python_provide python2-cairo}
|
||||
Obsoletes: pycairo
|
||||
Provides: pycairo = %{version}-%{release}
|
||||
|
||||
%description -n python2-cairo
|
||||
Provide python2 support for the cairo graphics library.
|
||||
|
||||
%package -n python3-cairo
|
||||
Summary: Provide python3 support for the cairo graphics library
|
||||
%{?python_provide:%python_provide python3-cairo}
|
||||
@ -18,6 +27,17 @@ Summary: Provide python3 support for the cairo graphics library
|
||||
%description -n python3-cairo
|
||||
Provide python3 support for the cairo graphics library.
|
||||
|
||||
%package -n python2-cairo-devel
|
||||
Summary: Provide libraries and header files for pycairo
|
||||
Requires: python2-cairo = %{version}-%{release}
|
||||
Requires: python2-devel
|
||||
Obsoletes: pycairo-devel
|
||||
Provides: pycairo-devel = %{version}-%{release}
|
||||
|
||||
%description -n python2-cairo-devel
|
||||
This package contains files required to build wrappers for cairo add-on
|
||||
libraries so that they interoperate with pycairo.
|
||||
|
||||
%package -n python3-cairo-devel
|
||||
Summary: Provide libraries and headers for py3cairo
|
||||
Requires: python3-cairo = %{version}-%{release}
|
||||
@ -31,51 +51,40 @@ in order to interoperate with py3cairo.
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python2-cairo
|
||||
%defattr(-,root,root)
|
||||
%license COPYING*
|
||||
%{python2_sitearch}/cairo/*
|
||||
%{python2_sitearch}/pycairo*.egg-info/*
|
||||
|
||||
%files -n python3-cairo
|
||||
%defattr(-,root,root)
|
||||
%license COPYING*
|
||||
%doc README.rst
|
||||
%{python3_sitearch}/cairo/*
|
||||
%{python3_sitearch}/pycairo*.egg-info/*
|
||||
|
||||
%files -n python2-cairo-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/pycairo/pycairo.h
|
||||
%{_libdir}/pkgconfig/py*.pc
|
||||
|
||||
%files -n python3-cairo-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/pycairo/py3cairo.h
|
||||
%{_libdir}/pkgconfig/py*.pc
|
||||
|
||||
%changelog
|
||||
* Mon Oct 24 2022 yanglu <yanglu72@h-partners.com> - 1.21.0-1
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:update pycairo version to 1.21.0
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.18.2-1
|
||||
- update to 1.18.2
|
||||
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: pygobject/pycairo
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user