2001-07-20 18:43:11 +00:00
|
|
|
%define _prefix /home/tinderbox2
|
2001-02-15 20:40:30 +00:00
|
|
|
|
2001-04-05 17:48:23 +00:00
|
|
|
# auto generate the version number based on the output of the date
|
|
|
|
# command.
|
|
|
|
|
2001-08-02 20:02:17 +00:00
|
|
|
%define _version %(eval "date '+%Y%m%d'")
|
2001-04-05 17:48:23 +00:00
|
|
|
|
2001-02-15 20:40:30 +00:00
|
|
|
Summary: Development monitoring tool
|
|
|
|
Name: tinderbox2-local-conf
|
2001-04-05 17:48:23 +00:00
|
|
|
Version: %{_version}
|
2001-02-15 20:40:30 +00:00
|
|
|
Release: 1
|
|
|
|
Copyright: MPL
|
|
|
|
Group: Development/Tools
|
|
|
|
Source: tar://tinderbox2_local_conf.tar.gz
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
Buildroot: /var/tmp/%{name}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
The local configuration files for tinderbox2. This package customizes
|
|
|
|
tinderbox2 for the local use. The tinderbox2 package is genaric, this
|
|
|
|
package contains all the discriptions of the local system.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
# empty prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
#empty build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_prefix}
|
2001-02-27 15:13:42 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/log/tinderbox2
|
2001-02-15 20:40:30 +00:00
|
|
|
|
|
|
|
cd $RPM_BUILD_ROOT/%{_prefix}
|
|
|
|
tar zxf %{_sourcedir}/tinderbox2_local_conf.tar.gz
|
|
|
|
|
|
|
|
%clean
|
2001-02-27 15:13:42 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2001-02-15 20:40:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2001-07-20 18:43:11 +00:00
|
|
|
%defattr(-,apache,apache)
|
2001-02-15 20:40:30 +00:00
|
|
|
%{_prefix}/local_conf/*
|
2001-02-27 15:13:42 +00:00
|
|
|
/var/log/tinderbox2
|