]> git.pld-linux.org Git - SPECS.git/blob - superkaramba-theme-sysinfo.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / superkaramba-theme-sysinfo.spec
1
2 %define         theme   sysinfo
3
4 Summary:        superkaramba - Stylus Sysinfo theme
5 Summary(pl.UTF-8):      superkaramba - motyw Stylus Sysinfo
6 Name:           superkaramba-theme-%{theme}
7 Version:        0.1
8 Release:        1
9 License:        GPL
10 Group:          Themes
11 Source0:        http://www.kde-look.org/content/files/22618-%{theme}.tar.gz
12 # Source0-md5:  caaf97a549b319790d8e3fcb1ba2f5e5
13 URL:            http://www.kde-look.org/content/show.php?content=22618
14 BuildRequires:  sed >= 4.0
15 Requires:       perl-libnet
16 Requires:       superkaramba >= 0.36
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _sysinfodir     %{_datadir}/themes/superkaramba/sysinfo
21
22 %description
23 kstatus theme for superkaramba. Features :
24  - User@hostname Output
25  - Kernel Version Output
26  - KDE Version Output
27  - CPU Usage Stats with progress bar indicator
28  - CPU Clockspeed / Cache Detection
29  - RAM / Swapfile Usage with progress bar indicator
30  - Hard Disk Drive Monitor
31  - Network Traffic Monitor
32  - IP Address Output
33  - Uptime / Time / Date Output
34
35 %description -l pl.UTF-8
36 Motyw Stylus Theme dla superkaramby. Wyświetlane informacje :
37  - User@hostname
38  - Wersja jądra
39  - Wersja KDE
40  - Obciążenie procesora
41  - Częstotliwość / cache procesora
42  - Wykorzystanie pamięci RAM i pliku wymiany
43  - Monitor dysków
44  - Monitor sieci
45  - Uptime, czas, data
46  - Powiadamianie o nowej poczcie
47
48 %prep
49 %setup -q -n %{theme}
50
51 # theme modified to use proper path (mail_pop3.pl) and prepare for email clients
52 %{__sed} -i 's,/path/to,%{_sysinfodir}/scripts,g' sysinfo.theme
53 cp sysinfo.theme sysinfo_kmail.theme
54 %{__sed} -i 's/kmail/mozilla-thunderbird/g' sysinfo.theme
55 mv sysinfo.theme sysinfo_thunderbird.theme
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_sysinfodir}{,/images,/scripts}
60
61 install *.theme $RPM_BUILD_ROOT%{_sysinfodir}
62 install images/*.png $RPM_BUILD_ROOT%{_sysinfodir}/images
63 install scripts/*.pl $RPM_BUILD_ROOT%{_sysinfodir}/scripts
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %dir %{_sysinfodir}
71 %{_sysinfodir}/*.theme
72 %{_sysinfodir}/images
73 %attr(755,root,root) %{_sysinfodir}/scripts
This page took 0.417505 seconds and 3 git commands to generate.