A new user interface for you!

File nut-monitor.spec of Package nut-monitor

# norootforbuild

%define _desktopdir %{_datadir}/applications
%define _tmpath /var/tmp
%define _iconsdir %{_datadir}/pixmaps

Name:		nut-monitor
Version:	1.2
Release:	1.1
License:	GPL
Group:		System/Monitoring
Summary:	NUT-Monitor is a graphical application to access and manager UPSes connected to a NUT (Network UPS Tools) server.
URL:		http://www.lestat.st/informatique/projets/nut-monitor
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
Source0:	%{name}-%{version}.tar.gz
Source1:        %{name}.desktop
BuildRequires:	python
%if %suse_version > 1110
BuildRequires:  update-desktop-files
Requires:	python python-pynut python-notify

This application (written in Python + GTK) uses the python-pynut class
(available at http://www.lestat.st)

David Goncalves <david@lestat.st>

%setup -q -n %{name}-%{version}

mkdir -p %buildroot/%{_bindir}
mkdir -p %buildroot/%{_desktopdir}
mkdir -p %buildroot/%{_docdir}/nut-monitor
mkdir -p %buildroot/%{_datadir}/nut-monitor
mkdir -p %buildroot/%{_iconsdir}

cp README copyright %buildroot/%{_docdir}/nut-monitor
cp NUT-Monitor %buildroot/%{_bindir}
cp gui-1.2.glade %buildroot/%{_datadir}/nut-monitor
cp nut-monitor.png %buildroot/%{_iconsdir}
cp %{_sourcedir}/nut-monitor.desktop %buildroot/%{_desktopdir}


%dir %{_docdir}/nut-monitor
%dir %{_datadir}/nut-monitor

* Thu Aug 19 2010 imlordlt@gmail.com
- updated to version 1.2
* Tue Oct 03 2009 imlordlt@gmail.com
- update and fix for build on openSUSE 11.2
* Fri Sep 30 2009 imlordlt@gmail.com
- Build Fixes
* Thu Sep 17 2009 imlordlt@gmail.com
- updated desktop translation
* Tue Jan 20 2009 imlordlt@gmail.com
- Initial rpm