openmamba logo
GNU/Linux distribution
distribution community wiki forum bugs events products
software   community wiki forum bugs events products
packages kdesudo.spec
      Pages: < 1 >  DOWNLOAD      
Name:          kdesudo
Version:       3.4.2.4
Release:       1mamba
Summary:       KdeSudo is a frontend for sudo. Unlike kdesu, it uses directly sudo as backend
Group:         Graphical Desktop/Applications/Administration
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           https://launchpad.net/kdesudo
Source:        http://www.launchpad.net/kdesudo/3.x/%{version}/+download/kdesudo-%{version}.tar.gz
Patch0:        %{name}-3.4.2.3-kde45_docbook.patch
Patch1:        %{name}-3.4.2.3-fix_man_install_dir.patch
Patch2:        %{name}-3.4.2.4-it-translations.patch
License:       GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs4-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
KdeSudo is a frontend for sudo. Unlike kdesu, it uses directly sudo as backend.

%prep
%setup -q
#%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%cmake_kde4 -d build
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build

%find_lang %{name}

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files -f %{name}.lang
%defattr(-,root,root)
%{_kde4_bindir}/kdesudo
#%dir %{_kde4_htmldir}/en/kdesudo
#%{_kde4_htmldir}/en/kdesudo/*
%{_mandir}/man1/kdesudo.1.gz
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB ChangeLog README

%changelog
* Mon Oct 17 2011 Silvan Calarco <silvan.calarco@...> 3.4.2.4-1mamba
- update to 3.4.2.4
- added patch to complete italian translations

* Mon Sep 20 2010 Silvan Calarco <silvan.calarco@...> 3.4.2.3-1mamba
- package created by autospec