From 3135fe68dc0dd3969b5053340ed5b135d1bec064 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 11:05:21 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.2.1-1mamba;Sat Oct 15 2016] --- README.md | 2 ++ python-dockerpy-creds.spec | 52 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 python-dockerpy-creds.spec diff --git a/README.md b/README.md index c262b24..c413856 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-dockerpy-creds +Python bindings for the docker credentials store API. + diff --git a/python-dockerpy-creds.spec b/python-dockerpy-creds.spec new file mode 100644 index 0000000..3b9a377 --- /dev/null +++ b/python-dockerpy-creds.spec @@ -0,0 +1,52 @@ +Name: python-dockerpy-creds +Version: 0.2.1 +Release: 1mamba +Summary: Python bindings for the docker credentials store API +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +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 +* Sat Oct 15 2016 Davide Madrisan 0.2.1-1mamba +- package created using the webbuild interface