rebuilt with meson to provide devel package [release 1.27.0-2mamba;Fri Oct 11 2024]

This commit is contained in:
Silvan Calarco 2024-10-11 09:40:17 +02:00
parent 02392f3c5f
commit 0ff46e2038

View File

@ -1,6 +1,6 @@
Name: pycairo Name: pycairo
Version: 1.26.1 Version: 1.27.0
Release: 1mamba Release: 2mamba
Summary: Python bindings for cairo Summary: Python bindings for cairo
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -22,10 +22,11 @@ Python bindings for cairo.
%package devel %package devel
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: pycairo-py3 = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
Python 3 bindings for cairo. Python 3 bindings for cairo.
This package contains static libraries and header files need for development. This package contains static libraries and header files needed for development.
%if "%{?with_pyver}" %if "%{?with_pyver}"
%pyver_package %pyver_package
@ -35,40 +36,40 @@ This package contains static libraries and header files need for development.
%setup -q -n pycairo-%{version} %setup -q -n pycairo-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build %meson \
-Dpython=%{__python}
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %meson_install
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%ifarch x86_64 aarch64
[ -e %{buildroot}%{_prefix}/lib/pkgconfig ] && mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}/pkgconfig
%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend}
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/pycairo-%{version}-py*.egg-info %dir %{python_sitearch}/pycairo-%{version}.dist-info
%{python_sitearch}/pycairo-%{version}-py*.egg-info/* %{python_sitearch}/pycairo-%{version}.dist-info/*
%{python_sitearch}/cairo/include/py*cairo.h %dir %{python_sitearch}/cairo
%doc COPYING %{python_sitearch}/cairo/*
%doc COPYING*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/* %dir %{_includedir}/pycairo
%{_libdir}/pkgconfig/*.pc %{_includedir}/pycairo/*
%{_libdir}/pkgconfig/py3cairo.pc
%doc NEWS %doc NEWS
%changelog %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 * Fri Jun 21 2024 Automatic Build System <autodist@openmamba.org> 1.26.1-1mamba
- automatic version update by autodist - automatic version update by autodist