]>
Commit | Line | Data |
---|---|---|
6a815998 | 1 | Summary: A graphical UPS monitor for the GNOME desktop |
bd88bfb0 | 2 | Summary(pl.UTF-8): Graficzny monitor UPS-a dla środowiska GNOME |
6a815998 | 3 | Name: ups-monitor |
b8ab39f7 | 4 | Version: 0.6 |
24055221 | 5 | Release: 0.1 |
6a815998 | 6 | License: GPL |
281b0d1a | 7 | Group: Applications/System |
3274cd83 | 8 | Source0: http://www.amautacorp.com/staff/Rudd-O/ups-monitor/files/%{name}-%{version}.tar.gz |
b8ab39f7 AG |
9 | # Source0-md5: a6d3d4cbb521f1ed5c7114d895477d9b |
10 | Patch0: %{name}-desktop.patch | |
281b0d1a | 11 | URL: http://www.amautacorp.com/staff/Rudd-O/ups-monitor/ |
6a815998 | 12 | Requires: python-pygtk >= 2.0.0 |
d510ef6f | 13 | Requires: python-pygtk-glade >= 2.0.0 |
281b0d1a | 14 | Requires: nut |
6a815998 | 15 | BuildArch: noarch |
72685b98 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d510ef6f | 17 | |
18 | %description | |
19 | UPS monitor is a graphical application that lets you monitor your UPS | |
24055221 | 20 | in real-time. You can check locally attached UPSs or networked UPS. |
d510ef6f | 21 | |
22 | UPS monitor requires a working Network UPS Tools (nut) server. | |
23 | ||
bd88bfb0 JR |
24 | %description -l pl.UTF-8 |
25 | UPS monitor jest graficzną aplikacją pozwalającą monitorować UPS w | |
26 | czasie rzeczywistym. Obsługuje zarówno lokalny jak i sieciowy UPS. | |
d510ef6f | 27 | |
28 | UPS monitor wymaga serwer Network UPS Tools (nut). | |
29 | ||
30 | %prep | |
72685b98 | 31 | %setup -q |
d510ef6f | 32 | |
d510ef6f | 33 | %install |
72685b98 | 34 | rm -rf $RPM_BUILD_ROOT |
d510ef6f | 35 | |
281b0d1a | 36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}} |
37 | ||
38 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
39 | install %{name}.glade* $RPM_BUILD_ROOT%{_datadir}/ups-monitor | |
40 | install *.png $RPM_BUILD_ROOT%{_datadir}/ups-monitor | |
41 | install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
b8ab39f7 | 42 | install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop |
d510ef6f | 43 | |
80a81b46 | 44 | %clean |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
d510ef6f | 47 | %files |
48 | %defattr(644,root,root,755) | |
b1d3361f | 49 | %doc AUTHORS ChangeLog README NEWS TODO |
d510ef6f | 50 | %attr(755,root,root) %{_bindir}/ups-monitor |
281b0d1a | 51 | %{_datadir}/%{name} |
52 | %{_pixmapsdir}/* | |
3d2ec186 | 53 | %{_desktopdir}/*.desktop |