Summary: LinuxCOE SystemDesigner documentation
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
Requires: linuxcoe-sd-base
BuildRequires: 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 provides the documentation for the SystemDesigner web application.

%prep
%setup -q

%build
# macro configure doesn't work with noarch. (Do not put a percent berfore the word)
export httpdcfgdir=PBHTTPDCONF
export docrootdir=PBHTTPDDOCROOT
export httpd_user=PBHTTPDUSER
export httpd_group=PBHTTPDGROUP
export webalias=PBWEBALIAS

./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 NEWS README
PBROOTINSTALL/html/docs
PBROOTINSTALL/html/themes

%changelog
PBLOG
