Summary: LinuxCOE SystemDesigner web interface -- Scientific Overlay
Name: PBPKG
Version: PBVER
Release: PBTAGPBSUF
License: GPL
URL: http://linuxcoe.sourceforge.net/
Group: PBGRP
# Copyright: 2000-2007 Hewlett-Packard Development Company, L.P
# Original Packager: Louis Bouchard <louis.bouchard@hp.com>
#
# Source Section
#
Source: PBSRC

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
BuildArch: noarch
Provides: linuxcoe-sd-overlay
Requires: linuxcoe-sd-base, PBDEP

%description
LinuxCOE SystemDesigner is a unifying web application that allows
a user to repeatably install, configure, and maintain different
Linux system installations. It's CGI-based interface provides means
to generate boot images for network or local media based installations,
save profiles that store custom installation preferences for later re-use,
and retrofit already deployed systems by overlaying other value-add components.

This package adds Scientific support as an overlay to LinuxCOE SystemDesigner
%prep
%setup -q

%build
# For the moment done here. Would be better to give it to pb. Needs discussion
export httpdcfgdir=PBHTTPDCONF
export docrootdir=PBHTTPDDOCROOT
export httpd_user=PBHTTPDUSER
export httpd_group=PBHTTPDGROUP
export webalias=PBWEBALIAS

# macro configure doesn't work. (Do not put a percent before the word)
./configure --prefix=PBROOTINSTALL
make

%install
%{__rm} -rf %{buildroot}
make DESTDIR="$RPM_BUILD_ROOT" install

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
PBROOTINSTALL/data/*
PBROOTINSTALL/depots/*
PBROOTINSTALL/osvend.d/*
PBROOTINSTALL/html/docs/*
PBROOTINSTALL/html/bundles/*

%changelog
PBLOG
