3 Summary: AppArmor profiles
4 Name: apparmor-profiles
5 Version: %{_ver}.%{_svnrel}
8 Source0: http://forge.novell.com/modules/xfcontent/private.php/apparmor/Development%20-%20April%20Snapshot/%{name}-%{_ver}-%{_svnrel}.tar.gz
10 URL: http://forge.novell.com/modules/xfmod/project/?apparmor
11 Requires: apparmor-parser
12 Provides: subdomain-profiles
13 Obsoletes: subdomain-profiles
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define extras_dir %{_sysconfdir}/apparmor/profiles/extras
18 %define profiles_dir %{_sysconfdir}/apparmor.d
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.
28 %setup -q -n %{name}-%{_ver}
31 rm -rf $RPM_BUILD_ROOT
33 DESTDIR=${RPM_BUILD_ROOT} \
34 EXTRASDIR=${RPM_BUILD_ROOT}/%{extras_dir}
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %dir %{_sysconfdir}/apparmor
42 %dir %{_sysconfdir}/apparmor/profiles
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}/*/*