%define name ivre %define version 0.9.12.dev114 %define unmangled_version 0.9.12.dev114 %define release 1.20190521 Summary: Network recon framework Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{unmangled_version}.tar.gz License: GPLv3+ Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Pierre LALET Packager: Peter 'Pessoft' KolĂ­nek Requires: python3-pymongo python3-crypto python3-future Obsoletes: IVRE Url: https://ivre.rocks/ Distribution: .fc30 BuildRequires: python3-devel python3-setuptools %description IVRE is a set of tools aimed at gathering and exploiting network information. It consists of a Python library, a Web UI, CLI tools and several specialized scripts. %prep %setup -n %{name}-%{unmangled_version} %build python3 setup.py build %install python3 setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root)