]> git.pld-linux.org Git - packages/apparmor-profiles.git/blob - apparmor-profiles.spec
- new
[packages/apparmor-profiles.git] / apparmor-profiles.spec
1 %define         _ver 2.0
2 %define         _svnrel 6376
3 Summary:        AppArmor profiles
4 Name:           apparmor-profiles
5 Version:        %{_ver}.%{_svnrel}
6 Release:        0.1
7 Group:          Base
8 Source0:        http://forge.novell.com/modules/xfcontent/private.php/apparmor/Development%20-%20April%20Snapshot/%{name}-%{_ver}-%{_svnrel}.tar.gz
9 License:        GPL
10 URL:            http://forge.novell.com/modules/xfmod/project/?apparmor
11 Requires:       apparmor-parser
12 Provides:       subdomain-profiles
13 Obsoletes:      subdomain-profiles
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define extras_dir %{_sysconfdir}/apparmor/profiles/extras
18 %define profiles_dir %{_sysconfdir}/apparmor.d
19
20 %description
21 Base AppArmor profiles (aka security policy). AppArmor is a file
22 mandatory access control mechanism. AppArmor confines processes to the
23 resources allowed by the systems administrator and can constrain the
24 scope of potential security vulnerabilities. This package is part of a
25 suite of tools that used to be named SubDomain.
26
27 %prep
28 %setup -q -n %{name}-%{_ver}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 %{__make} install \
33         DESTDIR=${RPM_BUILD_ROOT} \
34         EXTRASDIR=${RPM_BUILD_ROOT}/%{extras_dir}
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %dir %{_sysconfdir}/apparmor
42 %dir %{_sysconfdir}/apparmor/profiles
43 %dir %{extras_dir}
44 %config(noreplace) %verify(not md5 mtime size) %{extras_dir}/*
45 %dir %{_sysconfdir}/apparmor.d
46 %dir %{_sysconfdir}/apparmor.d/abstractions
47 %dir %{_sysconfdir}/apparmor.d/program-chunks
48 %dir %{_sysconfdir}/apparmor.d/tunables
49 %config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/*.*
50 %config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/*/*
This page took 0.089534 seconds and 3 git commands to generate.