Autobuild autoformatter for 57745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor?expand=0&rev=2
This commit is contained in:
parent
f270973a6c
commit
dd71394031
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package apparmor-parser (Version 2.3.1)
|
# spec file for package apparmor
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -46,7 +46,7 @@ Name: apparmor
|
|||||||
%endif
|
%endif
|
||||||
Summary: AppArmor userlevel parser utility
|
Summary: AppArmor userlevel parser utility
|
||||||
Version: 2.5.1
|
Version: 2.5.1
|
||||||
Release: 42
|
Release: 1
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
Source0: apparmor-%{version}.tar.bz2
|
Source0: apparmor-%{version}.tar.bz2
|
||||||
Source1: %{name}-profile-editor.png
|
Source1: %{name}-profile-editor.png
|
||||||
@ -102,11 +102,11 @@ BuildRequires: texlive-latex
|
|||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
|
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
BuildRequires: swig python-devel
|
BuildRequires: python-devel swig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with ruby}
|
%if %{with ruby}
|
||||||
BuildRequires: swig ruby-devel
|
BuildRequires: ruby-devel swig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with pam}
|
%if %{with pam}
|
||||||
@ -120,7 +120,7 @@ BuildRequires: apache2-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with tomcat}
|
%if %{with tomcat}
|
||||||
BuildRequires: java-devel >= 1.6.0 ant tomcat6
|
BuildRequires: ant java-devel >= 1.6.0 tomcat6
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with editor}
|
%if %{with editor}
|
||||||
@ -140,6 +140,7 @@ BuildRequires: audit-devel dbus-1-devel libapparmor-devel pkg-config
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package parser
|
%package parser
|
||||||
|
License: GPLv2+
|
||||||
Summary: AppArmor userlevel parser utility
|
Summary: AppArmor userlevel parser utility
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
Obsoletes: subdomain_parser < %{version}
|
Obsoletes: subdomain_parser < %{version}
|
||||||
@ -163,6 +164,7 @@ This package is part of a suite of tools that used to be named
|
|||||||
SubDomain.
|
SubDomain.
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
|
License: GPLv2+
|
||||||
Summary: AppArmor Documentation package
|
Summary: AppArmor Documentation package
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
|
|
||||||
@ -180,9 +182,12 @@ Authors:
|
|||||||
Seth Arnold <seth.arnold@novell.com>
|
Seth Arnold <seth.arnold@novell.com>
|
||||||
|
|
||||||
%if %{with apache}
|
%if %{with apache}
|
||||||
|
|
||||||
%package -n apache2-mod_apparmor
|
%package -n apache2-mod_apparmor
|
||||||
|
License: GPLv2+
|
||||||
Summary: AppArmor module for apache2
|
Summary: AppArmor module for apache2
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
|
|
||||||
%description -n apache2-mod_apparmor
|
%description -n apache2-mod_apparmor
|
||||||
apache2-modapparmor adds support to apache2 to provide AppArmor
|
apache2-modapparmor adds support to apache2 to provide AppArmor
|
||||||
confinement to individual cgi scripts handled by apache modules like
|
confinement to individual cgi scripts handled by apache modules like
|
||||||
@ -201,7 +206,7 @@ Authors:
|
|||||||
%package -n libapparmor1
|
%package -n libapparmor1
|
||||||
Summary: Utility library for AppArmor
|
Summary: Utility library for AppArmor
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
License: LGPL v2.1 or later
|
License: LGPLv2.1+
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libapparmor-64bit < %{version}
|
Obsoletes: libapparmor-64bit < %{version}
|
||||||
Provides: libapparmor-64bit = ${version}
|
Provides: libapparmor-64bit = ${version}
|
||||||
@ -222,7 +227,7 @@ Authors:
|
|||||||
Matt Barringer <mbarringer@suse.de>
|
Matt Barringer <mbarringer@suse.de>
|
||||||
|
|
||||||
%package -n libapparmor-devel
|
%package -n libapparmor-devel
|
||||||
License: LGPL v2.1 or later
|
License: LGPLv2.1+
|
||||||
Requires: libapparmor1 = %{version}-%{release}
|
Requires: libapparmor1 = %{version}-%{release}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: libapparmor:/usr/include/sys/apparmor.h
|
Provides: libapparmor:/usr/include/sys/apparmor.h
|
||||||
@ -238,7 +243,7 @@ Authors:
|
|||||||
Matt Barringer <mbarringer@suse.de>
|
Matt Barringer <mbarringer@suse.de>
|
||||||
|
|
||||||
%package -n perl-apparmor
|
%package -n perl-apparmor
|
||||||
License: GPL v2 only ; LGPL v2.1 or later
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Requires: libapparmor1 = %{version}
|
Requires: libapparmor1 = %{version}
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
@ -256,8 +261,9 @@ Authors:
|
|||||||
Matt Barringer <mbarringer@suse.de>
|
Matt Barringer <mbarringer@suse.de>
|
||||||
|
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
|
|
||||||
%package -n python-apparmor
|
%package -n python-apparmor
|
||||||
License: GPL v2 only ; LGPL v2.1 or later
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Requires: libapparmor1 = %{version}
|
Requires: libapparmor1 = %{version}
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
Requires: python = %{python_version}
|
Requires: python = %{python_version}
|
||||||
@ -277,8 +283,9 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with ruby}
|
%if %{with ruby}
|
||||||
|
|
||||||
%package -n ruby-apparmor
|
%package -n ruby-apparmor
|
||||||
License: GPL v2 only ; LGPL v2.1 or later
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Requires: libapparmor1 = %{version}
|
Requires: libapparmor1 = %{version}
|
||||||
Requires: ruby = %{ruby_version}
|
Requires: ruby = %{ruby_version}
|
||||||
Group: Development/Libraries/Ruby
|
Group: Development/Libraries/Ruby
|
||||||
@ -297,6 +304,7 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package profiles
|
%package profiles
|
||||||
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Summary: AppArmor profiles that are loaded into the apparmor kernel module
|
Summary: AppArmor profiles that are loaded into the apparmor kernel module
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Obsoletes: subdomain-profiles < %{version}
|
Obsoletes: subdomain-profiles < %{version}
|
||||||
@ -318,6 +326,7 @@ Authors:
|
|||||||
jjohansen@suse.de
|
jjohansen@suse.de
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Summary: AppArmor User-Level Utilities Useful for Creating AppArmor Profiles
|
Summary: AppArmor User-Level Utilities Useful for Creating AppArmor Profiles
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
@ -325,7 +334,6 @@ Requires: libapparmor1 = %{version}
|
|||||||
Requires: perl-apparmor = %{version}
|
Requires: perl-apparmor = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
This package provides the aa-logprof, aa-genprof, aa-autodep,
|
This package provides the aa-logprof, aa-genprof, aa-autodep,
|
||||||
aa-enforce, and aa-complain tools to assist with profile authoring.
|
aa-enforce, and aa-complain tools to assist with profile authoring.
|
||||||
@ -339,7 +347,9 @@ Authors:
|
|||||||
seth.arnold@suse.de
|
seth.arnold@suse.de
|
||||||
|
|
||||||
%if %{with tomcat}
|
%if %{with tomcat}
|
||||||
|
|
||||||
%package -n tomcat_apparmor
|
%package -n tomcat_apparmor
|
||||||
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Summary: Tomcat 6 plugin for AppArmor change_hat
|
Summary: Tomcat 6 plugin for AppArmor change_hat
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libapparmor1 = %{version} tomcat6
|
Requires: libapparmor1 = %{version} tomcat6
|
||||||
@ -357,7 +367,9 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with pam}
|
%if %{with pam}
|
||||||
|
|
||||||
%package -n pam_apparmor
|
%package -n pam_apparmor
|
||||||
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Summary: PAM module to for AppArmor change_hat
|
Summary: PAM module to for AppArmor change_hat
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
|
|
||||||
@ -375,7 +387,9 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with dbus}
|
%if %{with dbus}
|
||||||
|
|
||||||
%package dbus
|
%package dbus
|
||||||
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Summary: Audit dispatcher for sending AppArmor events over DBUS
|
Summary: Audit dispatcher for sending AppArmor events over DBUS
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
|
|
||||||
@ -390,7 +404,9 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with editor}
|
%if %{with editor}
|
||||||
|
|
||||||
%package profile-editor
|
%package profile-editor
|
||||||
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Summary: AppArmor profile editor
|
Summary: AppArmor profile editor
|
||||||
Group: Productivity/Editors/Other
|
Group: Productivity/Editors/Other
|
||||||
|
|
||||||
@ -404,7 +420,9 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with gnome}
|
%if %{with gnome}
|
||||||
|
|
||||||
%package -n apparmorapplet-gnome
|
%package -n apparmorapplet-gnome
|
||||||
|
License: GPLv2 ; LGPLv2.1+
|
||||||
Summary: An AppArmor event notification applet for GNOME
|
Summary: An AppArmor event notification applet for GNOME
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
|
|
||||||
@ -431,6 +449,7 @@ SubDomain.
|
|||||||
%if %{with gnome}
|
%if %{with gnome}
|
||||||
%lang_package -n apparmorapplet-gnome
|
%lang_package -n apparmorapplet-gnome
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
%patch -p1
|
||||||
@ -674,6 +693,7 @@ fi
|
|||||||
%{perl_vendorarch}/LibAppArmor.pm
|
%{perl_vendorarch}/LibAppArmor.pm
|
||||||
|
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
|
|
||||||
%files -n python-apparmor
|
%files -n python-apparmor
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/LibAppArmor-2.5.1-py2.7.egg-info
|
%{python_sitearch}/LibAppArmor-2.5.1-py2.7.egg-info
|
||||||
@ -681,12 +701,14 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with ruby}
|
%if %{with ruby}
|
||||||
|
|
||||||
%files -n ruby-apparmor
|
%files -n ruby-apparmor
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/%{rb_sitearch}/*
|
%{_prefix}/%{rb_sitearch}/*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with pam}
|
%if %{with pam}
|
||||||
|
|
||||||
%files -n pam_apparmor
|
%files -n pam_apparmor
|
||||||
%defattr(444,root,root,755)
|
%defattr(444,root,root,755)
|
||||||
%attr(555,root,root) %{_libdir}/security/pam_apparmor.so
|
%attr(555,root,root) %{_libdir}/security/pam_apparmor.so
|
||||||
@ -694,6 +716,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with tomcat}
|
%if %{with tomcat}
|
||||||
|
|
||||||
%files -n tomcat_apparmor
|
%files -n tomcat_apparmor
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{CATALINA_HOME}/lib/%{JAR_FILE}
|
%{CATALINA_HOME}/lib/%{JAR_FILE}
|
||||||
@ -702,6 +725,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with apache}
|
%if %{with apache}
|
||||||
|
|
||||||
%files -n apache2-mod_apparmor
|
%files -n apache2-mod_apparmor
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{apache_module_path}/mod_apparmor.so
|
%{apache_module_path}/mod_apparmor.so
|
||||||
@ -710,12 +734,14 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with dbus}
|
%if %{with dbus}
|
||||||
|
|
||||||
%files dbus
|
%files dbus
|
||||||
%defattr(0750, root, root)
|
%defattr(0750, root, root)
|
||||||
%{_bindir}/apparmor-dbus
|
%{_bindir}/apparmor-dbus
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with editor}
|
%if %{with editor}
|
||||||
|
|
||||||
%files profile-editor
|
%files profile-editor
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_datadir}/applications/%{name}-profile-editor.desktop
|
%{_datadir}/applications/%{name}-profile-editor.desktop
|
||||||
@ -729,6 +755,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with gnome}
|
%if %{with gnome}
|
||||||
|
|
||||||
%files -n apparmorapplet-gnome
|
%files -n apparmorapplet-gnome
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/bonobo/servers/*.server
|
%{_libdir}/bonobo/servers/*.server
|
||||||
@ -790,13 +817,17 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n libapparmor1 -p /sbin/ldconfig
|
%post -n libapparmor1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libapparmor1 -p /sbin/ldconfig
|
%postun -n libapparmor1 -p /sbin/ldconfig
|
||||||
%if %{with tomcat}
|
%if %{with tomcat}
|
||||||
|
|
||||||
%post -n tomcat_apparmor -p /sbin/ldconfig
|
%post -n tomcat_apparmor -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n tomcat_apparmor -p /sbin/ldconfig
|
%postun -n tomcat_apparmor -p /sbin/ldconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with pam}
|
%if %{with pam}
|
||||||
|
|
||||||
%post -n pam_apparmor
|
%post -n pam_apparmor
|
||||||
pam-config -a --apparmor
|
pam-config -a --apparmor
|
||||||
pam-config --update
|
pam-config --update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user