2024-01-06 10:47:16 +01:00
|
|
|
Name: python-augeas
|
2024-01-06 10:47:16 +01:00
|
|
|
Version: 1.1.0
|
2024-01-06 10:47:16 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 10:47:16 +01:00
|
|
|
Summary: Pure python bindings for augeas
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://augeas.net/
|
|
|
|
Source: https://pypi.debian.net/python-augeas/python-augeas-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:47:16 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(cffi)
|
2024-01-06 10:47:16 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:47:16 +01:00
|
|
|
BuildRequires: libaugeas-devel
|
|
|
|
Requires: libaugeas
|
2024-01-06 10:47:16 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
2024-01-06 10:47:16 +01:00
|
|
|
%define py_requires_append \
|
|
|
|
Requires: libaugeas
|
|
|
|
%pyver_package
|
2024-01-06 10:47:16 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py 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
|
|
|
|
|
2024-01-06 10:47:16 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:47:16 +01:00
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/augeas.py*
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%{python_sitearch}/__pycache__/augeas.cpython-*.pyc
|
|
|
|
%endif
|
2024-01-06 10:47:16 +01:00
|
|
|
%dir %{python_sitearch}/python_augeas-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/python_augeas-%{version}-py*.egg-info/*
|
2024-01-06 10:47:16 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:47:16 +01:00
|
|
|
* Tue Apr 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-3mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 10:47:16 +01:00
|
|
|
* Sun May 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
|
|
|
|
- rebuilt with distdeps; require libaugeas
|
|
|
|
|
2024-01-06 10:47:16 +01:00
|
|
|
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:47:16 +01:00
|
|
|
* Sat Feb 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- package created using the webbuild interface
|