| 1 | Summary: LinuxCOE SystemDesigner web interface -- Scientific Overlay |
|---|
| 2 | Name: PBPKG |
|---|
| 3 | Version: PBVER |
|---|
| 4 | Release: PBTAGPBSUF |
|---|
| 5 | License: GPL |
|---|
| 6 | URL: http://linuxcoe.sourceforge.net/ |
|---|
| 7 | Group: PBGRP |
|---|
| 8 | # Copyright: 2000-2007 Hewlett-Packard Development Company, L.P |
|---|
| 9 | # Original Packager: Louis Bouchard <louis.bouchard@hp.com> |
|---|
| 10 | # |
|---|
| 11 | # Source Section |
|---|
| 12 | # |
|---|
| 13 | Source: PBSRC |
|---|
| 14 | |
|---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) |
|---|
| 16 | BuildArch: noarch |
|---|
| 17 | Provides: linuxcoe-sd-overlay |
|---|
| 18 | Requires: linuxcoe-sd-base, PBDEP |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | LinuxCOE SystemDesigner is a unifying web application that allows |
|---|
| 22 | a user to repeatably install, configure, and maintain different |
|---|
| 23 | Linux system installations. It's CGI-based interface provides means |
|---|
| 24 | to generate boot images for network or local media based installations, |
|---|
| 25 | save profiles that store custom installation preferences for later re-use, |
|---|
| 26 | and retrofit already deployed systems by overlaying other value-add components. |
|---|
| 27 | |
|---|
| 28 | This package adds Scientific support as an overlay to LinuxCOE SystemDesigner |
|---|
| 29 | %prep |
|---|
| 30 | %setup -q |
|---|
| 31 | |
|---|
| 32 | %build |
|---|
| 33 | # For the moment done here. Would be better to give it to pb. Needs discussion |
|---|
| 34 | export httpdcfgdir=PBHTTPDCONF |
|---|
| 35 | export docrootdir=PBHTTPDDOCROOT |
|---|
| 36 | export httpd_user=PBHTTPDUSER |
|---|
| 37 | export httpd_group=PBHTTPDGROUP |
|---|
| 38 | export webalias=PBWEBALIAS |
|---|
| 39 | |
|---|
| 40 | # macro configure doesn't work. (Do not put a percent before the word) |
|---|
| 41 | ./configure --prefix=PBROOTINSTALL |
|---|
| 42 | make |
|---|
| 43 | |
|---|
| 44 | %install |
|---|
| 45 | %{__rm} -rf %{buildroot} |
|---|
| 46 | make DESTDIR="$RPM_BUILD_ROOT" install |
|---|
| 47 | |
|---|
| 48 | %clean |
|---|
| 49 | %{__rm} -rf $RPM_BUILD_ROOT |
|---|
| 50 | |
|---|
| 51 | %files |
|---|
| 52 | %defattr(-,root,root) |
|---|
| 53 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README |
|---|
| 54 | PBROOTINSTALL/data/* |
|---|
| 55 | PBROOTINSTALL/depots/* |
|---|
| 56 | PBROOTINSTALL/osvend.d/* |
|---|
| 57 | PBROOTINSTALL/html/docs/* |
|---|
| 58 | PBROOTINSTALL/html/bundles/* |
|---|
| 59 | |
|---|
| 60 | %changelog |
|---|
| 61 | PBLOG |
|---|