File permissions.spec of Package permissions.import4166

# spec file for package permissions
# 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

BuildRequires:  libcap-devel

Name:           permissions
License:        GPLv2+
Group:          Productivity/Security
AutoReqProv:    on
Version:        2011.03.07.1608
Release:        1.<RELEASE2>
Provides:       aaa_base:/etc/permissions
PreReq:         %fillup_prereq
Summary:        SUSE Linux Default Permissions
Source:         permissions-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Permission settings of files and directories depending on the
local security settings. The local security setting (easy, secure,
or paranoid) can be configured in /etc/sysconfig/security.

    Werner Fink
    Roman Drahtmüller
    Michael Schröder
    Ludwig Nussel

%setup -q

make %{?_smp_mflags} CFLAGS="-W -Wall $RPM_OPT_FLAGS"

make DESTDIR="$RPM_BUILD_ROOT" install

%{fillup_only -n security}

%config /etc/permissions
%config /etc/permissions.easy
%config /etc/
%config /etc/permissions.paranoid
%config(noreplace) /etc/permissions.local

openSUSE Build Service is sponsored by