summaryrefslogtreecommitdiffstats
path: root/kshutdown-suse.spec
blob: ccf6afacdb7af7b87c1536e893383830e82f9dc1 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# norootforbuild

Name: kshutdown
Summary: An advanced shut down utility for TDE
Version: 1.0.2
Release: 3.pm.1
License: GPL
Group: System/Management
URL: http://kshutdown.sf.net/
Source0: http://mesh.dl.sourceforge.net/sourceforge/kshutdown/kshutdown-%{version}.tar.bz2
BuildRoot: %{_tmppath}/kshutdown-%{version}-%{release}-root
Requires: tdelibs3 >= 3.3.0
BuildRequires: tdelibs3-devel tdebase3-devel
BuildRequires:	gcc-c++ libstdc++ libstdc++-devel
BuildRequires:	autoconf automake libtool


%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
* Wed Dec 05 2007 Andrea Florio <andrea@links2linux.de>
- update to version 1.0.2
- patch remove, no more required
 Fixing and new on new version
- NEW: Added "extra" command line option. Run "kshutdown --help" for more info.
- NEW: Remember recent "Extras" command
- Now the sound is disabled by default. You can re-enable sound notifications via menu -> Settings -> Configure Notifications...
- Updated Italian translation
- Updated Turkish translation
- Updated Polish translation



* Sat Nov 24 2007 Andrea Florio <andrea@links2linux.de>
- italian translation patch applied

* Sat Nov 24 2007 Andrea Florio <andrea@links2linux.de>
- Packman porting

* Wed Apr 18 2007 Pascal Bleser <guru@unixtech.be> 1.0-1
- new upstream version

* Sun Feb 18 2007 Pascal Bleser <guru@unixtech.be> 0.8.2-1
- new package

* 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