SPECS: apparmor-profiles.spec - abstractions and examples subpackages

arekm arekm at pld-linux.org
Tue Dec 12 18:14:19 CET 2006


Author: arekm                        Date: Tue Dec 12 17:14:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- abstractions and examples subpackages

---- Files affected:
SPECS:
   apparmor-profiles.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/apparmor-profiles.spec
diff -u SPECS/apparmor-profiles.spec:1.3 SPECS/apparmor-profiles.spec:1.4
--- SPECS/apparmor-profiles.spec:1.3	Fri Dec  1 01:29:51 2006
+++ SPECS/apparmor-profiles.spec	Tue Dec 12 18:14:14 2006
@@ -5,7 +5,7 @@
 Summary(pl):	Profile AppArmor
 Name:		apparmor-profiles
 Version:	%{_ver}.%{_svnrel}
-Release:	0.1
+Release:	0.2
 Group:		Base
 Source0:	http://forgeftp.novell.com/apparmor/Development%20-%20September%20snapshot/%{name}-%{_ver}-%{_svnrel}.tar.gz
 # Source0-md5:	7a4501c2bb71fbdf1445e17ca4c58cb5
@@ -35,6 +35,30 @@
 bezpieczeństwie. Ten pakiet jest częścią zestawu narzędzi zwanych
 SubDomain.
 
+%package abstractions
+Summary:	Abstraction AppArmor files
+Summary(pl):	Pliki abstrakcji dla AppArmor
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+
+%description abstractions
+Abstraction AppArmor files.
+
+%description abstractions -l pl
+Pliki abstrakcji dla AppArmor.
+
+%package examples
+Summary:	Example AppArmor profiles
+Summary(pl):	Przykładowe profile AppArmor
+Group:		Base
+Requires:	%{name}-abstractions = %{version}-%{release}
+
+%description examples
+Example AppArmor profiles.
+
+%description examples -l pl
+Przykładowe profile AppArmor.
+
 %prep
 %setup -q -n %{name}-%{_ver}
 
@@ -57,8 +81,16 @@
 %dir %{_sysconfdir}/apparmor.d/abstractions
 %dir %{_sysconfdir}/apparmor.d/program-chunks
 %dir %{_sysconfdir}/apparmor.d/tunables
+%config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/tunables/*
+
+%files abstractions
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/abstractions/*
+
+%files examples
+%defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/*.*
-%config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/*/*
+%config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/program-chunks/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -66,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/12/12 17:14:14  arekm
+- abstractions and examples subpackages
+
 Revision 1.3  2006/12/01 00:29:51  zbyniu
 - up to september snapshot
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apparmor-profiles.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list