rebuilt with distdeps [release 1.20.0-2mamba;Sat Apr 10 2021]
This commit is contained in:
parent
1ef0c3d245
commit
b277a7d230
@ -1,4 +1,4 @@
|
||||
# pycairo
|
||||
|
||||
Python 2/3 bindings for cairo.
|
||||
Python bindings for cairo.
|
||||
|
||||
|
55
pycairo.spec
55
pycairo.spec
@ -1,62 +1,35 @@
|
||||
Name: pycairo
|
||||
Version: 1.18.1
|
||||
Release: 1mamba
|
||||
Summary: Python 2/3 bindings for cairo
|
||||
Version: 1.20.0
|
||||
Release: 2mamba
|
||||
Summary: Python bindings for cairo
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://cairographics.org/
|
||||
URL: https://cairographics.org/
|
||||
Source: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
|
||||
License: LGPL, MPL 1.1
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython3-devel >= 3.7.4
|
||||
BuildRequires: python3
|
||||
#BuildRequires: pygtk-devel
|
||||
Provides: py2cairo
|
||||
Obsoletes: py2cairo
|
||||
Provides: python-cairo
|
||||
Provides: python-pycairo
|
||||
Requires: python3 >= %python3_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
#Provides: py2cairo
|
||||
#Obsoletes: py2cairo
|
||||
|
||||
%description
|
||||
Python 2/3 bindings for cairo.
|
||||
Python bindings for cairo.
|
||||
|
||||
%package devel
|
||||
Summary: Static libraries and headers for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
Python 3 bindings for cairo.
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%if "%{?with_pyver}"
|
||||
%define pyver %{with_pyver}
|
||||
%define pyappend py%{with_pyver}
|
||||
%define __python %(rpm --eval %{__python%{pyver}})
|
||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
||||
|
||||
%package %{pyappend}
|
||||
Group: System/Libraries/Python
|
||||
Summary: %{summary}
|
||||
Provides: py%{with_pyver}cairo
|
||||
Obsoletes: py%{with_pyver}cairo
|
||||
%py_requires
|
||||
|
||||
%description %{pyappend}
|
||||
%{summary}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@ -74,13 +47,15 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/pycairo-%{version}-py*.egg-info
|
||||
%{python_sitearch}/pycairo-%{version}-py*.egg-info/*
|
||||
%{python_sitearch}/cairo/include/py*cairo.h
|
||||
%doc COPYING
|
||||
|
||||
@ -91,6 +66,12 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
%doc NEWS
|
||||
|
||||
%changelog
|
||||
* Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.0-2mamba
|
||||
- rebuilt with distdeps
|
||||
|
||||
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-1mamba
|
||||
- update to 1.18.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user