%define name nagstamon %define version 3.0.2.SS %define unmangled_version 3.0.2.fedora26 %define release 1 Summary: Nagios status monitor for desktop Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{unmangled_version}.tar.gz License: GNU GPL v2 Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Henri Wahl BuildRequires: python3-keyring Requires: python3 python3-beautifulsoup4 python3-crypto python3-cryptography python3-keyring python3-lxml python3-psutil python3-qt5 python3-requests python3-requests-kerberos python3-SecretStorage qt5-qtmultimedia qt5-qtsvg Url: https://nagstamon.ifw-dresden.de %description Nagstamon is a Nagios status monitor which takes place in systray or on desktop (GNOME, KDE, Windows) as floating statusbar to inform you in realtime about the status of your Nagios and derivatives monitored network. It allows to connect to multiple Nagios, Icinga, Opsview, Op5Monitor, Check_MK/Multisite, Centreon and Thruk servers. %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) %changelog * Mon Dec 10 2018 3.0.2 - Rebuild for fedora 28 - fix build requirements