# This file is template for building RPM from SCAP content. # It can be used to build RPM from USGCB RHEL5 Desktop content. # %define content_name USGCB-rhel5desktop %define default_dir /usr/share/scap-content %define target_dir %{default_dir}/%{content_name} Name: scap-content-%{content_name} Version: 1.0.5.0 Release: 1%{?dist} Summary: USGCB: Guidance for Securing RHEL 5 Desktop Systems for IT Group: Applications/System License: Public Domain URL: http://usgcb.nist.gov/usgcb/rhel_content.html Source0: %{content_name}-%{version}.zip BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch %description This guide has been created to assist IT professionals in effectively securing systems running Red Hat Enterprise Linux 5 desktops. %prep %setup -q -c %{name}-%{version} %build # This section is intentionally left blank %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{target_dir} cp * $RPM_BUILD_ROOT%{target_dir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{target_dir} %changelog * Wed May 16 2012 Simon Lukasik 1.0.5.0-1 - Initial version