2008-09-24 17:23:49 +02:00
|
|
|
#
|
2011-01-25 10:18:07 +01:00
|
|
|
# spec file for package polkit-default-privs
|
2008-09-24 17:23:49 +02:00
|
|
|
#
|
2013-02-20 17:59:22 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-09-24 17:23:49 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
# icecream 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: polkit-default-privs
|
2012-10-17 11:17:20 +02:00
|
|
|
Version: 12.3
|
2012-07-05 17:39:11 +02:00
|
|
|
Release: 0
|
2008-09-24 17:23:49 +02:00
|
|
|
Summary: SUSE PolicyKit default permissions
|
2012-07-05 17:39:11 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Security
|
2008-09-24 17:23:49 +02:00
|
|
|
Source: polkit-default-privs-%version.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Supplements: PolicyKit
|
2009-08-28 22:01:51 +02:00
|
|
|
Supplements: libpolkit0, polkit
|
2008-09-24 17:23:49 +02:00
|
|
|
BuildArch: noarch
|
2009-08-28 22:01:51 +02:00
|
|
|
Url: http://git.opensuse.org/?p=projects/polkit-default-privs.git
|
2010-04-01 16:14:58 +02:00
|
|
|
PreReq: %fillup_prereq
|
2008-09-24 17:23:49 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Different default privilege settings depending on local configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ludwig Nussel
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-09-23 21:16:32 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/polkit-1/localauthority/10-vendor.d
|
2008-09-24 17:23:49 +02:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{fillup_only -ns security polkit_default_privs}
|
2011-07-28 15:13:06 +02:00
|
|
|
/sbin/set_polkit_default_privs >/dev/null
|
2008-09-24 17:23:49 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2008-10-24 15:25:37 +02:00
|
|
|
%config /etc/polkit-default-privs.standard
|
|
|
|
%config /etc/polkit-default-privs.restrictive
|
2008-09-24 17:23:49 +02:00
|
|
|
%config(noreplace) /etc/polkit-default-privs.local
|
|
|
|
/sbin/chkstat-polkit
|
|
|
|
/sbin/set_polkit_default_privs
|
|
|
|
%_mandir/man*/*
|
|
|
|
/var/adm/fillup-templates/sysconfig.security-polkit_default_privs
|
2009-09-23 21:16:32 +02:00
|
|
|
%attr(0700,root,root) %dir /var/lib/polkit-1
|
|
|
|
%dir /var/lib/polkit-1/localauthority
|
|
|
|
%dir /var/lib/polkit-1/localauthority/10-vendor.d
|
2008-09-24 17:23:49 +02:00
|
|
|
|
|
|
|
%changelog
|