Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 4a6e63d2fcb03332d77f8a80567f78fa > files > 2

kshutdown-3.0-0.beta3.1.mga2.src.rpm

%define prerel 	beta3
Name:		kshutdown
Version:	3.0
Release:	%mkrel -c %{prerel} 1
Summary:	Advanced shut down utility for KDE
Summary(fr):	KShutDown est un outils avancé de gestion de l'extinction
License:	GPLv2+
Group:		Graphical desktop/KDE
URL:		http://kshutdown.sourceforge.net/
Source0:	http://ovh.dl.sourceforge.net/sourceforge/%{name}/%{name}-source-%{version}%{prerel}.zip
Requires:	kdebase4-workspace
BuildRequires:	kdebase4-workspace-devel
BuildRequires:	desktop-file-utils


%description
KShutDown is an advanced shut down utility for KDE.
Features:
- Shut Down (logout and halt the system)
- Reboot (logout and reboot the system)
- Lock Screen (lock the screen using a screen saver)
- Logout (end the session and logout the user)
- Extras (user commands)
- Wizard
- Time and delay options
- Command line support
- System tray
- Sounds
- Kiosk support
- And more...

%files -f %name.lang
%doc TODO ChangeLog README.html
%attr(0755,root,root) %{_kde_bindir}/%{name}
%_kde_iconsdir/hicolor/*/apps/kshutdown.png
%_kde_iconsdir/hicolor/*/apps/kshutdown.svgz
%_kde_applicationsdir/%{name}.desktop
%_kde_appsdir/%{name}

#------------------------------------------------------------------------------

%prep
%setup -q -n %name-%version%{prerel}

%build
%cmake_kde4
%make

%install
%makeinstall_std -C build

desktop-file-install --vendor="" \
--remove-category="Application" \
--add-category="KDE" \
--add-category="System" \
--add-category="Monitor" \
--dir %{buildroot}/%{_datadir}/applications/kde4 %{buildroot}/%{_datadir}/applications/kde4/*

%find_lang %name --with-html




%changelog

* Fri Mar 02 2012 fwang <fwang> 3.0-0.beta3.1.mga2
+ Revision: 216739
- drop merged patch
- new version 3.0 beta3

* Sat Dec 31 2011 juancho <juancho> 3.0-0.beta2.1.mga2
+ Revision: 189164
- Updated to 3.0beta2

* Tue Dec 13 2011 juancho <juancho> 2.0-2.mga2
+ Revision: 181346
- Added patch to fix build against our patched kworkspace.{h,cpp} that changes the return type of requestShutDown function (patch included on upcoming KDE 4.8).
- Fixed source tag (Source -> Source0)
- Removed defattr
- Remove buildroot references in %%build and %%clean

* Tue Jun 14 2011 mikala <mikala> 2.0-1.mga2
+ Revision: 106086
- Follow kde spec layout
- clean spec
- imported package kshutdown


* Mon Jun 13 2011 Olivier Delaune <olivier.delaune@mageia.org> 2.0-1.mga1
- Specfile adaptations for Mageia