Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:steffens:lvermgeo:client
kdesudo
kdesudo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdesudo.spec of Package kdesudo
# # spec file for package kdesudo # # Copyright (c) 2008 Buschmann # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 dass IT GmbH # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild BuildRequires: kdebase4-workspace-devel BuildRequires: cmake Name: kdesudo Summary: A sudo frontend for KDE Url: https://code.launchpad.net/kdesudo/ Version: 3.4.2.3 Release: 1 License: GPL v2 or later Group: System/GUI/KDE Source0: %{name}-%{version}.tar.gz Requires: sudo Requires: kdebase4-runtime >= 4.1.3 Requires: kdebase4-runtime < 4.1.60 BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires %description KdeSudo is a sudo frontend for KDE originally developed by Robert Gruber, and now maintained by Kubuntu developers. KDE's normal KdeSu doesn't deal correctly with sudo, and is only capable of authentication. It doesn't deal with sudo specific features like NOPASSWD and so on. KdeSudo acts like a wrapper for sudo commands, and therefore, supports all "sudoers" file options. It is command line compatible with KdeSu, and can replace it simply with linking /usr/bin/kdesu to /usr/bin/kdesudo. ATTENTION: sudo must keep the DISPLAY and XAUTHORITY variable from the user. You may need to add "DISPLAY XAUTHORITY" to following line in /etc/sudoers: Defaults env_keep = "... "DISPLAY XAUTHORITY" Authors: -------- Robert Gruber %prep %setup -n %{name}-%{version} # disable build documentation, because this causes problems %{__mv} doc KdeSudo #%{__perl} -p -i -e 's,ADD_SUBDIRECTORY\(doc\),ADD_SUBDIRECTORY(KdeSudo),' CMakeLists.txt %{__perl} -p -i -e 's,ADD_SUBDIRECTORY\(doc\),#ADD_SUBDIRECTORY(KdeSudo),' CMakeLists.txt %build %cmake_kde4 %make_jobs %install %kde4_makeinstall #%{__install} -m 755 kdesudo/kdesudo.shell $RPM_BUILD_ROOT/%{_bindir} %{__install} -dm 755 $RPM_BUILD_ROOT/%{_defaultdocdir}/KdeSudo %{__install} -m 644 --target-directory=$RPM_BUILD_ROOT/%{_defaultdocdir}/KdeSudo README AUTHORS ChangeLog COPYING COPYING.DOC COPYING.LIB # remove locale settings, that are not supported by distribution for i in jv ms oc tl; do rm -r $RPM_BUILD_ROOT/usr/share/locale/$i done %find_lang %{name} --all-name %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f kdesudo.lang %defattr(-,root,root,-) #%doc COPYING COPYING.DOC COPYING.LIB README AUTHORS ChangeLog #%_kde_share_dir/services/kdesudo.desktop %doc %{_defaultdocdir}/KdeSudo/ #%doc %lang(en) %{_kde_html_dir}/en/KdeSudo/common #%doc %lang(en) %{_kde_html_dir}/en/KdeSudo/index.cache.bz2 #%doc %lang(en) %{_kde_html_dir}/en/KdeSudo/index.docbook %_bindir/kdesudo #%_bindir/kdesudo.shell %changelog * Tue Mar 06 2012 joerg.steffens@dass-it.de - removed broken kdesudo.shell * Wed Feb 29 2012 joerg.steffens@dass-it.de - adapted for openSUSE 12.1 and kdesudo-3.4.2.3 * Thu Feb 19 2009 aharrison@gmail.com - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor