2001-07-20 22:43:11 +04:00
|
|
|
%define _prefix /home/tinderbox2
|
2001-02-15 23:40:30 +03:00
|
|
|
|
2001-04-05 21:48:23 +04:00
|
|
|
# auto generate the version number based on the output of the date
|
|
|
|
# command.
|
|
|
|
|
2001-08-03 00:02:17 +04:00
|
|
|
%define _version %(eval "date '+%Y%m%d'")
|
2001-04-05 21:48:23 +04:00
|
|
|
|
2001-02-15 23:40:30 +03:00
|
|
|
Summary: Development monitoring tool
|
|
|
|
Name: tinderbox2-local-conf
|
2001-04-05 21:48:23 +04:00
|
|
|
Version: %{_version}
|
2001-02-15 23:40:30 +03: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 18:13:42 +03:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/log/tinderbox2
|
2001-02-15 23:40:30 +03:00
|
|
|
|
|
|
|
cd $RPM_BUILD_ROOT/%{_prefix}
|
|
|
|
tar zxf %{_sourcedir}/tinderbox2_local_conf.tar.gz
|
|
|
|
|
|
|
|
%clean
|
2001-02-27 18:13:42 +03:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2001-02-15 23:40:30 +03:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2001-07-20 22:43:11 +04:00
|
|
|
%defattr(-,apache,apache)
|
2001-02-15 23:40:30 +03:00
|
|
|
%{_prefix}/local_conf/*
|
2001-02-27 18:13:42 +03:00
|
|
|
/var/log/tinderbox2
|