rebuilt with meson to provide devel package [release 1.27.0-2mamba;Fri Oct 11 2024]
This commit is contained in:
parent
02392f3c5f
commit
0ff46e2038
47
pycairo.spec
47
pycairo.spec
@ -1,6 +1,6 @@
|
||||
Name: pycairo
|
||||
Version: 1.26.1
|
||||
Release: 1mamba
|
||||
Version: 1.27.0
|
||||
Release: 2mamba
|
||||
Summary: Python bindings for cairo
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
@ -22,10 +22,11 @@ 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 need for development.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%if "%{?with_pyver}"
|
||||
%pyver_package
|
||||
@ -35,40 +36,40 @@ This package contains static libraries and header files need for development.
|
||||
%setup -q -n pycairo-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
%meson \
|
||||
-Dpython=%{__python}
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py 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
|
||||
%meson_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%files %{?pyappend}
|
||||
%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
|
||||
%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)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user