summaryrefslogtreecommitdiffstats
path: root/kshutdown.spec
blob: 672c91074d36eed5b7762f5933aeba6e3aff6a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Name: kshutdown
Summary: An advanced shut down utility for TDE
Version: 1.0.4
Release: 1.fc4
License: GPL
Group: Applications/System
URL: http://kshutdown.sf.net/
Packager: Konrad Twardowski <kdtonline@poczta.onet.pl>
Source0: kshutdown-%version.tar.bz2
Buildroot: %_tmppath/kshutdown-%version-%release-root
Requires: tdelibs >= 3.3.0
BuildRequires: tdelibs-devel

%description
KShutDown is an advanced shut down utility for TDE.
Features:
- Turn Off Computer (logout and halt the system)
- Restart Computer (logout and reboot the system)
- Lock Session (lock the screen using a screen saver)
- End Current Session (end the current TDE session and logout the user)
- Extras (additional, user commands)
- Time and delay options
- Command line and DCOP support
- System tray and panel applet
- Visual and sound notifications
- TDE Kiosk support
- And more...

%prep
%setup -q
%configure --enable-final

%build
make

%install
rm -fr %buildroot
make install DESTDIR=%buildroot
cd %buildroot
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kshutdown
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kshutdown
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kshutdown

%clean
rm -fr %buildroot
rm -fr $RPM_BUILD_DIR/kshutdown
rm -fr ../file.list.kshutdown

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files -f ../file.list.kshutdown

%changelog
* Sat Nov 26 2005 Konrad Twardowski
- updated description

* Mon Aug 1 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
- removed "tdebase" from "Requires"

* Mon Apr 4 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
- Test RPM