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

56 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: python-dockerpy-creds
Version: 0.4.0
Release: 1mamba
Summary: Python bindings for the docker credentials store API
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
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
## AUTOBUILDREQ-END
%if 0%{?with_pyver}
BuildRequires: libpython%{?with_pyver}-devel
%else
BuildRequires: libpython-devel
%endif
BuildRequires: libpython-devel
Requires: python >= %python_version
Requires: python-six%{?pyappend}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE README.md
%changelog
* 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