python-dockerpy-creds/python-dockerpy-creds.spec

59 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: python-dockerpy-creds
Version: 0.4.0
Release: 3mamba
Summary: Python bindings for the docker credentials store API
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/shin-/dockerpy-creds
Source: https://github.com/shin-/dockerpy-creds/archive/%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(six)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n dockerpy-creds-%{version}
%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
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/docker_pycreds-%{version}-py*.egg-info
%{python_sitearch}/docker_pycreds-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Mon Jul 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-3mamba
- rebuilt with python 3.10
* Sun Apr 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-2mamba
- rebuilt with distdeps
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
- automatic version update by autodist
* Sat Oct 15 2016 Davide Madrisan <davide.madrisan@gmail.com> 0.2.1-1mamba
- package created using the webbuild interface