File: slat.spec.in

package info (click to toggle)
slat 2.0-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,712 kB
  • ctags: 1,286
  • sloc: ansic: 3,079; sh: 1,013; yacc: 291; lex: 211; makefile: 63
file content (74 lines) | stat: -rw-r--r-- 1,810 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Name:		@PACKAGE@
Version:	@VERSION@
Release:	1
Source:		%{name}-%{version}.tar.gz
Vendor:		The MITRE Corporation

URL:		http://www.mitre.org/tech/selinux
Packager:	The MITRE Corporation <http://www.mitre.org/>
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

Summary:	Tools for information flow analysis of SELinux policies
License:	GPL
Group:		System Environment/Base

PreReq:		/sbin/install-info
BuildRequires:	libsepol-devel

%description
Security-Enhanced Linux Analysis Tools (slat) provide a systematic way
to determine if security goals are achieved by a given SELinux policy
configuration.  In particular, slat is concerned with information flow
security goals, which describe desired paths by which information
moves throughout a system.  We provide a simple syntax in which to
express these goals, and tools that check a policy configuration
against the goals.

%package devel 
Summary: Slat Labeled Transition System formula libraries and headers
License: GPL
Group: Development/Libraries

%description devel
This package includes the header files and static libraries that are
needed to build software that uses the formulas for a SLAT Labeled
Transition System.

%prep
%setup -q

%build
%configure
make

%install
rm -rf %{buildroot}
%makeinstall

%clean
rm -rf %{buildroot}

%post
if [ -f %{_infodir}/%{name}.info.gz ]; then
  /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
fi

%postun
if [ $1 -eq 0 ]; then
  if [ -f %{_infodir}/%{name}.info.gz ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
  fi
fi

%files
%defattr (-, root, root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_bindir}/*
%{_mandir}/man1/*
%{_infodir}/*
%{_datadir}/%{name}/*

%files devel
%defattr (-, root, root)
%{_libdir}/*
%{_includedir}/%{name}/*