pycairo/pycairo.spec

161 lines
5.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: pycairo
Version: 1.27.0
Release: 2mamba
Summary: Python bindings for cairo
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
Python bindings for cairo.
%package devel
Summary: Static libraries and headers for %{name}
Group: Development/Libraries
Requires: pycairo-py3 = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Python 3 bindings for cairo.
This package contains static libraries and header files needed for development.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n pycairo-%{version}
%build
%meson \
-Dpython=%{__python}
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitearch}/pycairo-%{version}.dist-info
%{python_sitearch}/pycairo-%{version}.dist-info/*
%dir %{python_sitearch}/cairo
%{python_sitearch}/cairo/*
%doc COPYING*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/pycairo
%{_includedir}/pycairo/*
%{_libdir}/pkgconfig/py3cairo.pc
%doc NEWS
%changelog
* Fri Oct 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.27.0-2mamba
- rebuilt with meson to provide devel package
* Fri Oct 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.27.0-1mamba
- update to 1.27.0
* Fri Jun 21 2024 Automatic Build System <autodist@openmamba.org> 1.26.1-1mamba
- automatic version update by autodist
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 1.26.0-1mamba
- automatic version update by autodist
* Sun Oct 22 2023 Automatic Build System <autodist@mambasoft.it> 1.25.1-1mamba
- automatic version update by autodist
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 1.25.0-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.24.0-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Mon Jun 19 2023 Automatic Build System <autodist@mambasoft.it> 1.24.0-1mamba
- automatic version update by autodist
* Tue Nov 29 2022 Automatic Build System <autodist@mambasoft.it> 1.23.0-1mamba
- automatic version update by autodist
* Sun Nov 20 2022 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba
- automatic version update by autodist
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 1.21.0-1mamba
- automatic version update by autodist
* Sun Apr 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.1-2mamba
- rebuilt with python 3.10
* Fri Jun 04 2021 Automatic Build System <autodist@mambasoft.it> 1.20.1-1mamba
- automatic version update by autodist
* 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
* Sat Dec 22 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.0-2mamba
- provide python-cairo
* Fri Dec 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.0-1mamba
- update to 1.18.0
* Thu Nov 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-4mamba
- py3cairo-devel: remove obsoletes taken from pycairo
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-3mamba
- renamed from py2cairo
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-2mamba
- rebuilt with python 2.7
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- update to 1.10.0
* Mon Oct 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.10-1mamba
- update to 1.8.10
- renamed from python-cairo to py2cairo
* Sat Oct 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.8-2mamba
- use autotools instead of python for build to fix missing __init__.py* installation
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 1.8.8-1mamba
- automatic update by autodist
* Sat Jul 04 2009 Automatic Build System <autodist@mambasoft.it> 1.8.6-1mamba
- automatic update by autodist
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.4-1mamba
- automatic update by autodist
* Sat Feb 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.2-1mamba
- automatic update by autodist
* Thu Dec 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-1mamba
- update to 1.6.4
- renamed and obsoleted python-pycairo; provide pycairo and pycairo devel
* Sat Jun 30 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.4.0-1mamba
- update to 1.4.0
* Mon Oct 24 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.2-1qilnx
- package created by autospec