2
Name: apparmor-profile-editor
3
BuildRequires: wxGTK-devel gcc-c++
8
Summary: AppArmor profile editor
9
Group: Application/Editors
10
Packager: mbarringer@suse.de
11
BuildRoot: %{_tmppath}/%{name}-root
12
Source: apparmor-profile-editor-0.9.tar.gz
15
AppArmor profile editor
18
%setup -q -n %{name}-%{version}
20
autoreconf --force --install
21
export CFLAGS="$RPM_OPT_FLAGS -DSCI_LEXER -DLINK_LEXERS -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -D__WX"
22
export CXXFLAGS="$RPM_OPT_FLAGS -DSCI_LEXER -DLINK_LEXERS -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -D__WX"
23
%{?suse_update_config:%{suse_update_config -f}}
24
./configure --prefix=%{_prefix} --disable-debug --enable-debug=no
28
strip $RPM_BUILD_ROOT%{_prefix}/bin/* || :
35
%post -p /sbin/ldconfig
36
%postun -p /sbin/ldconfig
38
%defattr(-, root, root)
39
%{_prefix}/bin/profileeditor
40
%{_prefix}/share/doc/profileeditor/AppArmorProfileEditor.htb
41
%dir %{_prefix}/share/doc/profileeditor
42
%doc AUTHORS COPYING ChangeLog NEWS README TODO