File polkit-default-privs.spec of Package polkit-default-privs

# spec file for package polkit-default-privs
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

# norootforbuild
# icecream 0

Name:           polkit-default-privs
License:        GPLv2+
Group:          Productivity/Security
Version:        0.1_201102151742
Release:        1.<RELEASE2>
Summary:        SUSE PolicyKit default permissions
Source:         polkit-default-privs-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Supplements:    PolicyKit
Supplements:    libpolkit0, polkit
BuildArch:      noarch
PreReq:         %fillup_prereq
%if %suse_version > 1100
Obsoletes:      hal-resmgr < 0.2
Obsoletes:      resmgr < 1.1.1
# bug437293
%ifarch ppc64
Obsoletes:      resmgr-64bit

Different default privilege settings depending on local configuration

    Ludwig Nussel

%setup -q


mkdir -p $RPM_BUILD_ROOT/var/lib/polkit-1/localauthority/10-vendor.d

%{fillup_only -ns security polkit_default_privs}


%config /etc/polkit-default-privs.standard
%config /etc/polkit-default-privs.restrictive
%config(noreplace) /etc/polkit-default-privs.local
%attr(0700,root,root) %dir /var/lib/polkit-1
%dir /var/lib/polkit-1/localauthority
%dir /var/lib/polkit-1/localauthority/10-vendor.d