package created using the webbuild interface [release 0.9-1mamba;Sat Mar 02 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:34:17 +01:00
parent f8ce26fd28
commit 6aa90c2287
2 changed files with 53 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-reload # python-reload
Starts given program and reloads it whenever any file in current directory changes.

51
python-reload.spec Normal file
View File

@ -0,0 +1,51 @@
Name: python-reload
Version: 0.9
Release: 1mamba
Summary: Starts given program and reloads it whenever any file in current directory changes
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/loomchild/reload
Source: https://pypi.debian.net/reload/reload-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n reload-%{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 "s,.*/man/.*,&.gz," %{name}.filelist
%if "0%{?with_pyver}" == "0"
sed -i "/\.py[co]$/d" %{name}.filelist
%endif
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Sat Mar 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
- package created using the webbuild interface