]> git.pld-linux.org Git - SPECS.git/blob - superkaramba-theme-ubermon.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / superkaramba-theme-ubermon.spec
1 %define         theme   ubermon
2
3 Summary:        superkaramba - Ubermon theme
4 Summary(pl.UTF-8):      superkaramba - motyw Ubermon
5 Name:           superkaramba-theme-%{theme}
6 Version:        1.2
7 Release:        2
8 License:        GPL
9 Group:          Themes
10 Source0:        http://kde-look.org/CONTENT/content-files/22700-ubermon%{version}.tar.gz
11 # Source0-md5:  2263a0852bf854c600889fecb0698311
12 URL:            http://www.kde-look.org/content/show.php?content=22700
13 BuildRequires:  sed >= 4.0
14 Requires:       coreutils
15 Requires:       net-tools
16 Requires:       procps
17 Requires:       superkaramba
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Ubermon theme for superkaramba. Features:
23 - User@hostname Output
24 - Kernel Version Output
25 - KDE Version Output
26 - CPU Usage Stats
27 - CPU Model / Clockspeed / Cache Detection
28 - RAM / Swapfile Usage
29 - Hard Disk Drive Monitor (default 4 partitions)
30 - Network Traffic Monitor
31 - IP Address Output
32 - Uptime / Time / Date Output
33 - XMMS - Currently Playing and Time of Track Information
34 - XMMS Controls - Skip back, Play, Stop, Pause and Skip Forward
35
36 %description -l pl.UTF-8
37 Motyw ubermon do superkaramby. Wyświetlane informacje:
38 - Użytkownik@host
39 - Wersja jądra
40 - Wersja KDE
41 - Statystyki wykorzystania procesora
42 - Model procesora / Prędkość zegara / Pamięć cache
43 - Wykorzystanie pamięci RAM / pliku wymiany SWAP
44 - Monitor dysku twardego (domyślnie 4 partycje)
45 - Monitor ruchu sieciowego
46 - Adres IP
47 - Uptime / Godzina / Czas
48 - XMMS - Informacja o utworze i czasie otwarzania
49 - Przyciski XMMS - Poprzedni, Odtwarzaj, Stop, Pauza i Następny
50
51 %prep
52 %setup -q -c
53
54 # theme modified to white/black font
55 cd ubermon%{version}
56 cp ubermon.theme ubermon-white.theme
57 mv ubermon.theme ubermon-black.theme
58
59 %{__sed} -i 's/0,0,0/255,255,255/' ubermon-white.theme
60 %{__sed} -i 's/1,1,1/254,254,254/' ubermon-white.theme
61
62 # For 2+ processors theme looks ugly, changed output to 1 line.
63 %{__sed} -i 's,/proc/cpuinfo | grep,/proc/cpuinfo | grep -m 1,g' ubermon-*.theme
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 # symbolic link to backward compability
69 cd ubermon%{version}/
70 ln -sf ubermon-black.theme ubermon.theme
71 cd -
72
73 install -d $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/ubermon
74 install -d $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/ubermon/icons
75 install ubermon%{version}/icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/ubermon/icons
76 install ubermon%{version}/*.pl $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/ubermon
77 install ubermon%{version}/*.theme $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/ubermon
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %{_datadir}/themes/superkaramba/ubermon
85 %attr(755,root,root) %{_datadir}/themes/superkaramba/ubermon/ipadd.pl
This page took 1.359997 seconds and 3 git commands to generate.