mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
- Working towards having this applet in OpenSUSE 10.3
This commit is contained in:
parent
f246dded28
commit
37cf7f900b
@ -1,6 +1,6 @@
|
||||
<oaf_info>
|
||||
<oaf_server iid="OAFIID:AppArmorApplet_Factory" type="exe"
|
||||
location="@BINDIR@/apparmorapplet">
|
||||
location="@LIBEXECDIR@/apparmorapplet">
|
||||
<oaf_attribute name="repo_ids" type="stringv">
|
||||
<item value="IDL:Bonobo/GenericFactory:1.0"/>
|
||||
<item value="IDL:Bonobo/Unknown:1.0"/>
|
||||
|
@ -33,5 +33,5 @@ serverdir = $(libdir)/bonobo/servers
|
||||
server_in_files = AppArmor_Monitor_Factory.server.in
|
||||
server_DATA = AppArmor_Monitor_Factory.server
|
||||
AppArmor_Monitor_Factory.server:
|
||||
sed -e "s|\@BINDIR\@|$(bindir)|" < AppArmor_Monitor_Factory.server.in > AppArmor_Monitor_Factory.server
|
||||
sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" < AppArmor_Monitor_Factory.server.in > AppArmor_Monitor_Factory.server
|
||||
|
||||
|
@ -0,0 +1,37 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: apparmorapplet-gnome
|
||||
Version: 0.6
|
||||
Release: 1
|
||||
URL: http://forge.novell.com/modules/xfmod/project/?apparmor
|
||||
BuildRequires: gnome-common gnome-desktop-devel gnome-panel-devel
|
||||
%if %suse_version > 1010
|
||||
BuildRequires: dbus-1-glib-devel
|
||||
%else
|
||||
BuildRequires: dbus-1-devel dbus-1-glib
|
||||
%endif
|
||||
Group: System/GUI/Gnome
|
||||
Requires: apparmor-dbus
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
-
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
|
||||
%configure --libexecdir=%{_prefix}/lib/apparmorapplet
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user