summaryrefslogtreecommitdiffstats
path: root/kshutdown.spec
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-07-28 02:30:20 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-28 02:30:20 +0200
commit48a589b8c526b34e79e8cdddc4cb7f5fc7b76815 (patch)
tree0f30d90998669b60a0aa840f824cc3d4ea7ddc66 /kshutdown.spec
downloadkshutdown-48a589b8c526b34e79e8cdddc4cb7f5fc7b76815.tar.gz
kshutdown-48a589b8c526b34e79e8cdddc4cb7f5fc7b76815.zip
Initial import of kshutdown 1.0.4
Diffstat (limited to 'kshutdown.spec')
-rw-r--r--kshutdown.spec65
1 files changed, 65 insertions, 0 deletions
diff --git a/kshutdown.spec b/kshutdown.spec
new file mode 100644
index 0000000..51d47b8
--- /dev/null
+++ b/kshutdown.spec
@@ -0,0 +1,65 @@
+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: kdelibs >= 3.3.0
+BuildRequires: kdelibs-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 "kdebase" from "Requires"
+
+* Mon Apr 4 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
+- Test RPM