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-suse.spec

95 lines
2.6 KiB

# norootforbuild
Name: kshutdown
Summary: An advanced shut down utility for KDE
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: kdelibs3 >= 3.3.0
BuildRequires: kdelibs3-devel kdebase3-devel
BuildRequires: gcc-c++ libstdc++ libstdc++-devel
BuildRequires: autoconf automake libtool
%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
* 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 "kdebase" from "Requires"
* Mon Apr 4 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
- Test RPM