You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kshutdown/kshutdown.spec

66 lines
1.6 KiB

Name: kshutdown
Summary: An advanced shut down utility for KDE
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 KDE.
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 KDE 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
- KDE 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