Hello community, here is the log from the commit of package nagstamon for openSUSE:Factory checked in at 2016-09-16 11:00:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nagstamon (Old) and /work/SRC/openSUSE:Factory/.nagstamon.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nagstamon" Changes: -------- --- /work/SRC/openSUSE:Factory/nagstamon/nagstamon.changes 2014-12-29 00:30:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.nagstamon.new/nagstamon.changes 2016-09-16 11:00:45.000000000 +0200 @@ -1,0 +2,32 @@ +Fri Sep 2 09:24:07 UTC 2016 - l...@linux-schulserver.de + +- update to 2.0: + After a major overhaul Nagstamon is finally available in its 2.0 + incarnation. Being formerly formed of Python 2 and GTK 2 it now comes + freshly reshaped, made of Python 3 and Qt 5. + This technology shift caused the longer absence of any other stable + release, but was absolutely necessary to make sure there will be + future releases too. + + These are some new features and fixes: + + Based on Qt 5 it now comes with a better integrated look-and-feel + + Partly simplified design + + Less clutter in setting dialogs + + Uses QT 5 multimedia which means native sound on Linux and MacOS + + Uses only SVG graphics – allows changing colors even in systray icon + + Customizable font and font size + + Adjust to dark or light desktop theme + + Action allowing to copy host/service information to clipboard + + Added ‘Archive Event’ action for Check_MK monitors + + Additionally supports IcingaWeb2 + + Updated Opsview and Centreon to support latest monitor server versions + + Experimental support for Livestatus and Zenoss + + No or less memory leaks, especially in Windows + + Make sure only one instance per config is running + + Millions of fixes +- adapted spec file to build again for Fedora and build with the latest + changes of the 2.0 version (QT instead of GTK) +- builds only with Python 3 - so removing case decisions for old + distributions that are no longer supported + +------------------------------------------------------------------- Old: ---- Nagstamon-1.0.1.tar.bz2 New: ---- Nagstamon-2.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagstamon.spec ++++++ --- /var/tmp/diff_new_pack.GJdw6T/_old 2016-09-16 11:00:46.000000000 +0200 +++ /var/tmp/diff_new_pack.GJdw6T/_new 2016-09-16 11:00:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package nagstamon # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Lars Vogdt # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: nagstamon -Version: 1.0.1 +Version: 2.0 Release: 0 Summary: Nagios status monitor for the desktop License: GPL-2.0 @@ -26,41 +26,54 @@ Url: http://nagstamon.ifw-dresden.de/ Source: Nagstamon-%{version}.tar.bz2 Source1: %{name}.desktop -BuildRequires: python-devel +BuildRequires: python3-devel +# +# Fedora dependencies +# +%if 0%{?fedora_version} +BuildRequires: desktop-file-utils +BuildRequires: python3-qt5 +Requires: python3 +Requires: python3-SecretStorage +Requires: python3-beautifulsoup4 +Requires: python3-crypto +Requires: python3-psutil +Requires: python3-qt5 +Requires: python3-requests +Requires: qt5-qtmultimedia +Requires: qt5-qtsvg +%endif +# # openSUSE dependencies +# %if 0%{?suse_version} -BuildRequires: python-gtk +BuildRequires: python3-qt5 +BuildRequires: python3-setuptools BuildRequires: update-desktop-files -Requires: python-gtk -%if 0%{?suse_version} > 1100 -Requires: python-distribute -Requires: python-egg -%else -Requires: python-gnome-extras -%endif +Requires: libqt5-qtmultimedia +Requires: libqt5-qtsvg +Requires: python-SecretStorage +Requires: python3-beautifulsoup4 +Requires: python3-psutil +Requires: python3-pycrypto +Requires: python3-qt5 +Requires: python3-requests Recommends: gnome-terminal Recommends: rdesktop Recommends: sox Recommends: tightvnc -%if 0%{?suse_version} > 1130 -BuildArch: noarch -%endif %py_requires %endif -# Fedora dependencies -%if 0%{?fedora_version} -BuildRequires: desktop-file-utils -BuildRequires: pygtk2 -Requires: pygtk2 -Requires: python-setuptools -%endif +# # Mandriva dependencies +# %if 0%{?mandriva_version} BuildRequires: desktop-file-utils Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %description @@ -74,22 +87,25 @@ %setup -q -n Nagstamon # currently we use our own desktop file test -f Nagstamon/resources/nagstamon.desktop && rm Nagstamon/resources/nagstamon.desktop +install -Dm644 %{SOURCE1} Nagstamon/resources/nagstamon.desktop %build -python setup.py build +python3 setup.py build %install -python setup.py install \ +python3 setup.py install \ + --single-version-externally-managed \ + -O1 \ --root=%{buildroot} \ --install-lib=%{python_sitelib} \ --prefix=%{_prefix} -chmod +x %{buildroot}/%{python_sitelib}/Nagstamon/Server/Multisite.py mv %{buildroot}/%{_bindir}/nagstamon.py %{buildroot}/%{_bindir}/nagstamon # desktop stuff -mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps} -cp Nagstamon/resources/nagstamon.svg %{buildroot}%{_datadir}/pixmaps/nagstamon.svg chmod -x %{buildroot}%{_datadir}/pixmaps/nagstamon.svg -install -Dm644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/nagstamon.desktop +chmod -x %{buildroot}%{python_sitelib}/Nagstamon/resources/*.svg +for file in $(grep -wlr bin/env %{buildroot}%{python_sitelib}/Nagstamon/*); do + chmod +x $file +done # openSUSE %if 0%{?suse_version} %suse_update_desktop_file -i %{buildroot}/%{_datadir}/applications/nagstamon.desktop @@ -125,8 +141,6 @@ %{python_sitelib}/Nagstamon/ %{_bindir}/nagstamon %{_mandir}/man1/nagstamon.1* -%if 0%{?suse_version} > 01020 || 0%{?fedora_version} || 0%{?mandriva_version} || 0%{?rhel_version} > 505 || 0%{?centos_version} > 505 %{python_sitelib}/%{name}*.egg-info -%endif %changelog ++++++ Nagstamon-1.0.1.tar.bz2 -> Nagstamon-2.0.tar.bz2 ++++++ ++++ 71369 lines of diff (skipped)