From 314b0fb49de45361d6ffd7f935b876ba7588c615 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:55:58 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.2.18-1mamba;Fri Apr 08 2016] --- README.md | 2 ++ python-caches.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 python-caches.spec diff --git a/README.md b/README.md index 110abc0..af5d46e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-caches +Python caching backed by Redis. + diff --git a/python-caches.spec b/python-caches.spec new file mode 100644 index 0000000..27ba284 --- /dev/null +++ b/python-caches.spec @@ -0,0 +1,48 @@ +Name: python-caches +Version: 0.2.18 +Release: 1mamba +Summary: Python caching backed by Redis +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/caches +Source: https://pypi.python.org/packages/source/c/caches/caches-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 python-caches' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n caches-%{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) + +%changelog +* Fri Apr 08 2016 Silvan Calarco 0.2.18-1mamba +- package created using the webbuild interface