root/trunk/ovaldi/oval-definitions.spec

Revision 227, 1.1 kB (checked in by jtang, 5 months ago)

Created a package for OVAL definitions.

Line 
1 Name: oval-definitions
2 Version: 20080731
3 License: BSD
4 BuildRoot: %{_tmppath}/oval-definitions-%{version}
5 Release: 0
6 Source: oval.xml.zip
7 Summary: Definitions for the Open Vulnerability and Assessment Language
8 Group: System/Configuration/Other
9 BuildArch: noarch
10 BuildRequires: unzip
11
12 %description
13 "OVAL definitions" are machine-readable, gold standard tests that
14 definitively determine whether the specified software vulnerability,
15 configuration issue, program, or patch is present on a system.
16
17 The content of OVAL is a result of the collaborative efforts of MITRE
18 and the OVAL Board, along with broad participation from the information
19 security community.
20
21 This package provides the OVAL definitions for Linux.
22
23 %prep
24 %setup -q -n oval_repository
25
26 %build
27
28 %install
29 mkdir -m 700 -p $RPM_BUILD_ROOT/usr/share/ovaldi
30 install -m 644 oval.xml $RPM_BUILD_ROOT/usr/share/ovaldi/linux.definitions.xml
31
32 %clean
33 rm -rf ${RPM_BUILD_ROOT}
34
35 %files
36 %defattr(-,root,root,-)
37 /usr/share/ovaldi
38
39 %changelog
40 * Wed Jul 31 2008 J. Tang <selinux@tresys.com> 20080706
41 * Packaged OVAL definitions file into a convenient RPM.
Note: See TracBrowser for help on using the browser.