Nikita Klimov 824800
Name:     nagstamon
c79819
Version:  1.0.1
761367
Release:  9%{?dist}
Nikita Klimov 824800
Summary:  Nagios status monitor for desktop
Nikita Klimov 824800
Nikita Klimov 824800
License:  GPLv2+
Nikita Klimov 824800
URL:      http://nagstamon.ifw-dresden.de/
c79819
Source0:  https://nagstamon.ifw-dresden.de/files-nagstamon/stable/Nagstamon-%{version}.tar.gz
Nikita Klimov 824800
Nikita Klimov 824800
BuildArch:     noarch
Nikita Klimov 824800
BuildRequires: pygtk2
Nikita Klimov 824800
BuildRequires: python2-devel  
Nikita Klimov 824800
BuildRequires: desktop-file-utils
Nikita Klimov 824800
Requires:      pygtk2
a70323
Requires:      python2-setuptools
a70323
Requires:      python2-beautifulsoup
Nikita Klimov 824800
Nikita Klimov 824800
%description
Nikita Klimov 824800
Nagstamon is a Nagios status monitor which takes place in system tray
Nikita Klimov 824800
or on desktop (GNOME, KDE, Windows) as floating status bar to inform
Nikita Klimov 824800
you in real-time about the status of your Nagios and derivatives
Nikita Klimov 824800
monitored network. It allows to connect to multiple Nagios,
Nikita Klimov ab92f7
Icinga, Opsview, Op5, Check_MK/Multisite, Centreon and Thruk servers.
Nikita Klimov 824800
Nikita Klimov 824800
%prep
c79819
%setup -q -n Nagstamon
Nikita Klimov 824800
Nikita Klimov 824800
#Remove embedded BeautifulSoup http://sourceforge.net/p/nagstamon/bugs/44/
Nikita Klimov 824800
rm -rf Nagstamon/BeautifulSoup.py
Nikita Klimov 824800
Nikita Klimov 824800
%build
83d066
%py2_build
Nikita Klimov 824800
Nikita Klimov 824800
%install
4b2a95
%py2_install
Nikita Klimov 824800
Nikita Klimov 824800
#Fix 'non-executable-script' error
Nikita Klimov 824800
chmod +x %{buildroot}%{python_sitelib}/Nagstamon/Server/Multisite.py
Nikita Klimov 824800
Nikita Klimov 824800
#Provide directory to install icon for desktop file
Nikita Klimov 824800
mkdir -p %{buildroot}%{_datadir}/pixmaps
Nikita Klimov 824800
Nikita Klimov 824800
#Copy icon to pixmaps directory
Nikita Klimov 824800
cp Nagstamon/resources/%{name}.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
Nikita Klimov 824800
Nikita Klimov 824800
#Remove execute bit from icon
Nikita Klimov 824800
chmod -x %{buildroot}%{_datadir}/pixmaps/%{name}.svg
Nikita Klimov 824800
Nikita Klimov 824800
#Remove the file extension for convenience
Nikita Klimov 824800
mv %{buildroot}%{_bindir}/%{name}.py %{buildroot}%{_bindir}/%{name}
Nikita Klimov 824800
Nikita Klimov 824800
desktop-file-install --dir %{buildroot}/%{_datadir}/applications\
Nikita Klimov 824800
                     --delete-original\
Nikita Klimov 824800
                     --set-icon=%{name}.svg\
Nikita Klimov 824800
                     %{buildroot}%{python_sitelib}/Nagstamon/resources/%{name}.desktop
Nikita Klimov 824800
Nikita Klimov 824800
%files
Nikita Klimov 824800
%doc ChangeLog COPYRIGHT LICENSE
Nikita Klimov 824800
%{_datadir}/pixmaps/%{name}.svg
Nikita Klimov 824800
%{_datadir}/applications/%{name}.desktop
b430be
%{python2_sitelib}/Nagstamon/
Nikita Klimov 824800
%{_bindir}/%{name}
Nikita Klimov 824800
%{_mandir}/man1/%{name}.1*
b430be
%{python2_sitelib}/%{name}*.egg-info
Nikita Klimov 824800
Nikita Klimov 824800
%changelog
761367
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-9
761367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
761367
291908
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-8
291908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
291908
19c1ed
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-7
19c1ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
19c1ed
a70323
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.1-6
a70323
- Update Python 2 dependency declarations to new packaging standards
a70323
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
a70323
f73818
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
f73818
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f73818
63347f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
63347f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
63347f
c0b697
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
c0b697
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
c0b697
97d280
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
97d280
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
97d280
c79819
* Sun Nov 1 2015 Eduardo Echeverria <echevemaster@gmail.com> 1.0.1-1
c79819
- Updated to 1.0.1
c79819
7611c5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.11-3
7611c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7611c5
2cb7c5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.11-2
2cb7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2cb7c5
Nikita Klimov ab92f7
* Mon Sep 16 2013 Nikita Klimov <nk@jaur.su> 0.9.11-1
Nikita Klimov ab92f7
- Updated to 0.9.11
Nikita Klimov ab92f7
- Updated description
Nikita Klimov ab92f7
4176a0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-3
4176a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4176a0
Nikita Klimov 6fd2ab
* Wed Jul 17 2013 Nikita Klimov <nk@jaur.su> 0.9.10-2
Nikita Klimov 6fd2ab
- Fixed source url
Nikita Klimov 6fd2ab
- Fixed directory name in setup section
Nikita Klimov 6fd2ab
Nikita Klimov 4c2b95
* Wed Jul 17 2013 Nikita Klimov <nk@jaur.su> 0.9.10-1
Nikita Klimov 4c2b95
- Updated to 0.9.10
Nikita Klimov 4c2b95
- Removed patch for fix security hole in updates-checking mechanism
Nikita Klimov 4c2b95
- Removed gnome-python2-libegg from requires
Nikita Klimov 4c2b95
Nikita Klimov 010386
* Sat Jul 06 2013 Nikita Klimov <nk@jaur.su> 0.9.9-9
Nikita Klimov 010386
- Added patch for fix security hole in updates-checking mechanism 
Nikita Klimov 010386
Nikita Klimov bd2239
* Mon Apr 30 2013 Nikita Klimov <nk@jaur.su> 0.9.9-8
Nikita Klimov bd2239
- Added gnome-python2-libegg to 'Requires' for fix incorrect display in tray
Nikita Klimov bd2239
Nikita Klimov 824800
* Fri Apr 05 2013 Nikita Klimov <nk@jaur.su> 0.9.9-7
Nikita Klimov 824800
- Removed patch to fix FSF address, wait while upstream fix it yourself
Nikita Klimov 824800
Nikita Klimov 824800
* Fri Apr 05 2013 Nikita Klimov <nk@jaur.su> 0.9.9-6
Nikita Klimov 824800
- Added patch to fix FSF address in setup.py
Nikita Klimov 824800
Nikita Klimov 824800
* Tue Apr 02 2013 Nikita Klimov <nk@jaur.su> 0.9.9-5
Nikita Klimov 824800
- Fix icon file mode bits
Nikita Klimov 824800
Nikita Klimov 824800
* Mon Apr 01 2013 Nikita Klimov <nk@jaur.su> 0.9.9-4
Nikita Klimov 824800
- Replace python-devel to python2-devel in BuldRequires
Nikita Klimov 824800
- Copy desktop icon to pixmaps directory
Nikita Klimov 824800
Nikita Klimov 824800
* Mon Apr 01 2013 Nikita Klimov <nk@jaur.su> 0.9.9-3
Nikita Klimov 824800
- Remove embedded BeautifulSoup
Nikita Klimov 824800
- Add python-BeautifulSoup as Requires 
Nikita Klimov 824800
- Fix typo in files section
Nikita Klimov 824800
Nikita Klimov 824800
* Sun Mar 31 2013 Nikita Klimov <nk@jaur.su> 0.9.9-2
Nikita Klimov 824800
- Change license from GPLv2 to GPLv2+
Nikita Klimov 824800
- Added comments to install section
Nikita Klimov 824800
- Hard-coded paths replaced to macros
Nikita Klimov 824800
Nikita Klimov 824800
* Tue Mar 26 2013 Nikita Klimov <nk@jaur.su> 0.9.9-1
Nikita Klimov 824800
- Initial version of the package