Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > c41bc0d6f31152467f6cfef3aa03c310 > files > 2

kshutdown-2.0-1.mga1.src.rpm

Name:		kshutdown
Version:	2.0
Release:	%mkrel 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/
Source:		http://ovh.dl.sourceforge.net/sourceforge/%{name}/%{name}-source-%{version}.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
%defattr(-,root,root)
%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

%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

* Tue Dec 13 2011 juancho <juancho> 2.0-1.mga1
+ Revision: 181302
- Copying to 1 branch for update (it didnt exist on mga1). See bug no. 1708
- 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