From 914e4bfbe0e57768236e11a58f3e033d4a08669f8ae01cf225669876f9ce6803 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 16 Jun 2011 15:33:10 +0000 Subject: [PATCH] - add colord (bnc#698250) OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=71 --- ...format_spec_file:polkit-default-privs.spec | 91 +++++++++++++++++++ polkit-default-privs-0.1_201105161158.tar.bz2 | 3 - polkit-default-privs-0.1_201106161730.tar.bz2 | 3 + polkit-default-privs.changes | 5 + polkit-default-privs.spec | 2 +- 5 files changed, 100 insertions(+), 4 deletions(-) create mode 100644 _service:format_spec_file:polkit-default-privs.spec delete mode 100644 polkit-default-privs-0.1_201105161158.tar.bz2 create mode 100644 polkit-default-privs-0.1_201106161730.tar.bz2 diff --git a/_service:format_spec_file:polkit-default-privs.spec b/_service:format_spec_file:polkit-default-privs.spec new file mode 100644 index 0000000..9acb682 --- /dev/null +++ b/_service:format_spec_file:polkit-default-privs.spec @@ -0,0 +1,91 @@ +# +# 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 http://bugs.opensuse.org/ +# + +# norootforbuild +# icecream 0 + + +Name: polkit-default-privs +License: GPLv2+ +Group: Productivity/Security +Version: 0.1_201106161730 +Release: 1 +Summary: SUSE PolicyKit default permissions +Source: polkit-default-privs-%version.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Supplements: PolicyKit +Supplements: libpolkit0, polkit +BuildArch: noarch +Url: http://git.opensuse.org/?p=projects/polkit-default-privs.git +PreReq: %fillup_prereq +%if %suse_version > 1100 +Obsoletes: hal-resmgr < 0.2 +Obsoletes: resmgr < 1.1.1 +# bug437293 +%ifarch ppc64 +Obsoletes: resmgr-64bit +%endif +# +%endif + + +%description +Different default privilege settings depending on local configuration + + + +Authors: +-------- + Ludwig Nussel + +%prep +%setup -q + + +%build + + +%install +make install DESTDIR=$RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/var/lib/polkit-1/localauthority/10-vendor.d + + +%post +%{fillup_only -ns security polkit_default_privs} +/sbin/set_polkit_default_privs + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%config /etc/polkit-default-privs.standard +%config /etc/polkit-default-privs.restrictive +%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 +%attr(0700,root,root) %dir /var/lib/polkit-1 +%dir /var/lib/polkit-1/localauthority +%dir /var/lib/polkit-1/localauthority/10-vendor.d + + + +%changelog diff --git a/polkit-default-privs-0.1_201105161158.tar.bz2 b/polkit-default-privs-0.1_201105161158.tar.bz2 deleted file mode 100644 index 95e9277..0000000 --- a/polkit-default-privs-0.1_201105161158.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e8ed91881e840262ae56c8cc8fc15f24c69c0fcb0abd0eeff8532e1a5aca8c4 -size 16601 diff --git a/polkit-default-privs-0.1_201106161730.tar.bz2 b/polkit-default-privs-0.1_201106161730.tar.bz2 new file mode 100644 index 0000000..ffba100 --- /dev/null +++ b/polkit-default-privs-0.1_201106161730.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:097fddfec8fb4b7f00a70efa168b0d7658504c98798e341b8e8b11e8426a351b +size 16675 diff --git a/polkit-default-privs.changes b/polkit-default-privs.changes index 92bc0ec..510479c 100644 --- a/polkit-default-privs.changes +++ b/polkit-default-privs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 16 15:31:03 UTC 2011 - lnussel@suse.de + + - add colord (bnc#698250) + ------------------------------------------------------------------- Mon May 16 09:58:34 UTC 2011 - lnussel@suse.de diff --git a/polkit-default-privs.spec b/polkit-default-privs.spec index ab61478..4683aeb 100644 --- a/polkit-default-privs.spec +++ b/polkit-default-privs.spec @@ -22,7 +22,7 @@ Name: polkit-default-privs License: GPLv2+ Group: Productivity/Security -Version: 0.1_201105161158 +Version: 0.1_201106161730 Release: 1 Summary: SUSE PolicyKit default permissions Source: polkit-default-privs-%version.tar.bz2