]> git.pld-linux.org Git - packages/apparmor-parser.git/commitdiff
- new
authorzbyniu <zbyniu@pld-linux.org>
Wed, 26 Apr 2006 21:41:51 +0000 (21:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apparmor-parser.spec -> 1.1

apparmor-parser.spec [new file with mode: 0644]

diff --git a/apparmor-parser.spec b/apparmor-parser.spec
new file mode 100644 (file)
index 0000000..eb51a67
--- /dev/null
@@ -0,0 +1,56 @@
+%define                _ver 2.0
+%define                _svnrel 25
+Summary:       AppArmor userlevel parser utility
+Name:          apparmor-parser
+Version:       %{_ver}.%{_svnrel}
+Release:       0.1
+Group:         Applications/System
+Source0:       http://forge.novell.com/modules/xfcontent/private.php/apparmor/Development%20-%20April%20Snapshot/%{name}-%{_ver}-%{_svnrel}.tar.gz
+# Source0-md5: 1486ed6062435ff82340d6d9967b4df6
+License:       GPL
+URL:           http://forge.novell.com/modules/xfmod/project/?apparmor
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gettext-devel
+BuildRequires: libcap-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define apparmor_bin_prefix /lib/apparmor
+
+%description
+AppArmor Parser is a userlevel program that is used to load in program
+profiles to the AppArmor Security kernel module. This package is part
+of a suite of tools that used to be named SubDomain.
+
+%prep
+%setup -q -n %{name}-%{_ver}
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/apparmor,/sbin,/subdomain,/var/lib/apparmor}
+install apparmor_parser $RPM_BUILD_ROOT/sbin
+install subdomain.conf $RPM_BUILD_ROOT%{_sysconfdir}/apparmor
+%{__make} -C po install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       NAME=%{name}
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README
+/sbin/apparmor_parser
+%dir %{_sysconfdir}/apparmor
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor/subdomain.conf
+#%attr(754,root,root) /etc/rc.d/init.d/aaeventd
+#%attr(754,root,root) /etc/rc.d/init.d/apparmor
+/subdomain
+/var/lib/apparmor
This page took 0.029267 seconds and 4 git commands to generate.