rebuilt with meson to install pkg-conf file [release 3.48.2-3mamba;Sat May 11 2024]
This commit is contained in:
parent
0c107df6e7
commit
854fd209dc
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: pygobject
|
Name: pygobject
|
||||||
Version: 3.48.2
|
Version: 3.48.2
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: A convenient wrapper for the GObject+ library for use in Python programs
|
Summary: A convenient wrapper for the GObject+ library for use in Python programs
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -18,7 +18,6 @@ BuildRequires: libcairo-devel
|
|||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libpython311-devel
|
BuildRequires: libpython311-devel
|
||||||
BuildRequires: python3.11dist(pycairo)
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-meson-py3
|
BuildRequires: python-meson-py3
|
||||||
BuildRequires: python3-devel >= 3.11.5-3mamba
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||||
@ -46,40 +45,32 @@ Obsoletes: pygobject-devel < 3.48.2
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
%meson
|
||||||
|
|
||||||
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
%meson_install
|
||||||
|
|
||||||
#%if "%{?with_pyver}" != "3"
|
|
||||||
## Rename any conflicting file outside of python site packages tree
|
|
||||||
#for f in %{_bindir}/pdm; do
|
|
||||||
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
||||||
#done
|
|
||||||
#%endi
|
|
||||||
|
|
||||||
%ifarch x86_64 aarch64
|
|
||||||
[ -e %{buildroot}%{_prefix}/lib/pkgconfig ] && {
|
|
||||||
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
|
|
||||||
}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files %{?pyappend}
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/pygobject-%{version}.dist-info
|
%{_includedir}/pygobject-3.0/pygobject.h
|
||||||
%{python_sitearch}/pygobject-%{version}.dist-info/*
|
%{python3_sitearch}/PyGObject-%{version}.egg-info
|
||||||
%dir %{python_sitearch}/gi
|
%dir %{python_sitearch}/gi
|
||||||
%{python_sitearch}/gi/*
|
%{python_sitearch}/gi/*
|
||||||
%dir %{python_sitearch}/pygtkcompat
|
%dir %{python_sitearch}/pygtkcompat
|
||||||
%{python_sitearch}/pygtkcompat/*
|
%{python_sitearch}/pygtkcompat/*
|
||||||
%{_includedir}/python*/pygobject/pygobject-3.0/pygobject.h
|
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.48.2-3mamba
|
||||||
|
- rebuilt with meson to install pkg-conf file
|
||||||
|
|
||||||
* Tue May 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.48.2-2mamba
|
* Tue May 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.48.2-2mamba
|
||||||
- pygobject-py3: add legacy provide for pygobject-devel
|
- pygobject-py3: add legacy provide for pygobject-devel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user