File kde4-servicemenu-rootactions.spec of Package kde4-servicemenu-rootactions
# norootforbuild
Name: kde4-servicemenu-rootactions
Summary: KDE4 servicemenu which allows several root actions
Version: 2.4
Release: 0
License: GPL
Group: System/GUI/KDE
URL: http://www.kde-apps.org/content/show.php?content=48411
Source0: rootactions-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
Requires: kdebase4
%description
Root Actions servicemenu is a replacement/alternative for the default Edit-as-root servicemenu in kubuntu. It allows a admin users to perform several root only actions from konqueror via kdesu (It of course asks for a password).
%prep
%setup -q -n Root_Actions_%{version}
%install
%__mkdir -p %{buildroot}/%{_bindir}
%__mkdir -p %{buildroot}/%{_datadir}/kde4/services/ServiceMenus
chmod +x *.pl
%__cp *.pl %{buildroot}/%{_bindir}
cd dolphin-KDE4
%__cp *.desktop %{buildroot}/%{_datadir}/kde4/services/ServiceMenus/
%clean
rm -fr %buildroot
%files
%defattr(-,root,root)
%{_bindir}/*.pl
%{_datadir}/kde4/*
%changelog
* Wed Oct 08 2008 - cubo <cubo@kewl.sk>
- initial package release
- starting at v2.4