LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kde3-kshutdown.spec of Package kde3-kshutdown (Project KDE:KDE3)

# spec file for package kde3-kshutdown (Version 1.0.4)
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# norootforbuild

%define _prefix /opt/kde3

BuildRequires:	kdelibs3-devel kdebase3-devel
BuildRequires:	gcc-c++ libstdc++-devel
BuildRequires:	autoconf automake libtool update-desktop-files

Name:		kde3-kshutdown
Summary:	Advanced Shut Down Utility for KDE
Version:	1.0.4
Release:	1
License:	GPL
Group:		System/Management
URL:		http://kshutdown.sf.net/
Source0:	kshutdown-%{version}.tar.bz2
Patch0:		desktop-file.patch
BuildRoot:	%{_tmppath}/kshutdown-%{version}-%{release}-root

Provides:	kshutdown = 1.0.3
Obsoletes:	kshutdown <= 1.0.3

KShutDown is an advanced shut down utility for KDE.
- 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...

. /etc/opt/kde3/common_options
%setup -q -n kshutdown-%{version}

. /etc/opt/kde3/common_options
./configure $configkde
do_make %{?jobs:-j%jobs}

. /etc/opt/kde3/common_options
%find_lang kshutdown

rm -fr %buildroot

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f kshutdown.lang