~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to deprecated/management/profile-editor/profileeditor.spec

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# norootforbuild
 
2
Name: apparmor-profile-editor
 
3
BuildRequires: wxGTK-devel gcc-c++ 
 
4
Version: 0.9
 
5
Release: 1
 
6
Vendor: Novell
 
7
Copyright: GPL
 
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
 
13
 
 
14
%description
 
15
AppArmor profile editor
 
16
 
 
17
%prep
 
18
%setup -q -n %{name}-%{version}
 
19
%build
 
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
 
25
make
 
26
 
 
27
%install
 
28
strip $RPM_BUILD_ROOT%{_prefix}/bin/* || :
 
29
rm -rf %{buildroot}
 
30
%makeinstall
 
31
 
 
32
%clean
 
33
rm -rf %{buildroot}
 
34
 
 
35
%post -p /sbin/ldconfig
 
36
%postun -p /sbin/ldconfig
 
37
%files
 
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
 
43
%changelog
 
44