Compare commits
10 Commits
fa74911ec3
...
c6a2d5220d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6a2d5220d | ||
|
|
e6570620c7 | ||
|
|
816f0bc598 | ||
|
|
8d73dbd3fc | ||
|
|
405da72434 | ||
|
|
3523083652 | ||
|
|
054a18003a | ||
|
|
f093929fdf | ||
|
|
a793924a7e | ||
|
|
e241a72bc3 |
Binary file not shown.
BIN
pycairo-1.21.0.tar.gz
Normal file
BIN
pycairo-1.21.0.tar.gz
Normal file
Binary file not shown.
63
pycairo.spec
63
pycairo.spec
@ -1,25 +1,16 @@
|
|||||||
Name: pycairo
|
Name: pycairo
|
||||||
Version: 1.18.2
|
Version: 1.21.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A python module providing bindings for the cairo graphics library
|
Summary: A python module providing bindings for the cairo graphics library
|
||||||
License: MPLv1.1 or LGPLv2
|
License: MPLv1.1 or LGPLv2
|
||||||
URL: https://cairographics.org/pycairo
|
URL: https://cairographics.org/pycairo
|
||||||
Source0: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
|
Source0: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: cairo-devel gcc pkgconfig python2-devel python2-pytest python3-devel python3-pytest
|
BuildRequires: pkgconfig(cairo) gcc python3-devel python3-pytest python3-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pycairo is a Python module providing bindings for the cairo graphics library.
|
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
|
%package -n python3-cairo
|
||||||
Summary: Provide python3 support for the cairo graphics library
|
Summary: Provide python3 support for the cairo graphics library
|
||||||
%{?python_provide:%python_provide python3-cairo}
|
%{?python_provide:%python_provide python3-cairo}
|
||||||
@ -27,17 +18,6 @@ Summary: Provide python3 support for the cairo graphics library
|
|||||||
%description -n python3-cairo
|
%description -n python3-cairo
|
||||||
Provide python3 support for the cairo graphics library.
|
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
|
%package -n python3-cairo-devel
|
||||||
Summary: Provide libraries and headers for py3cairo
|
Summary: Provide libraries and headers for py3cairo
|
||||||
Requires: python3-cairo = %{version}-%{release}
|
Requires: python3-cairo = %{version}-%{release}
|
||||||
@ -51,40 +31,51 @@ in order to interoperate with py3cairo.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} 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
|
%files -n python3-cairo
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
|
%doc README.rst
|
||||||
%{python3_sitearch}/cairo/*
|
%{python3_sitearch}/cairo/*
|
||||||
%{python3_sitearch}/pycairo*.egg-info/*
|
%{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
|
%files -n python3-cairo-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/pycairo/py3cairo.h
|
%{_includedir}/pycairo/py3cairo.h
|
||||||
%{_libdir}/pkgconfig/py*.pc
|
%{_libdir}/pkgconfig/py*.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.18.2-1
|
||||||
- update to 1.18.2
|
- update to 1.18.2
|
||||||
|
|
||||||
|
|||||||
4
pycairo.yaml
Normal file
4
pycairo.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: pygobject/pycairo
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user