%define name python3-state_signals %define version 1.0.1 %define unmangled_version 1.0.1 %define unmangled_version 1.0.1 %define release 1 Summary: Package for easy management of state/event signal publishing, subscribing, and responding Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{unmangled_version}.tar.gz License: GPL3 Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Mustafa Eyceoz Requires: python3-redis Url: https://github.com/distributed-system-analysis/state-signals/ %description UNKNOWN %prep %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} %build python3 setup.py build %install python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root)