[384] | 1 | Name: PBPKG
|
---|
| 2 | Version: PBVER
|
---|
| 3 | Release: PBTAGPBSUF
|
---|
[734] | 4 | Summary: LinuxCOE SystemDesigner web interface
|
---|
| 5 |
|
---|
| 6 | Group: PBGRP
|
---|
[384] | 7 | License: GPL
|
---|
| 8 | URL: http://linuxcoe.sourceforge.net/
|
---|
| 9 | Source: PBSRC
|
---|
[734] | 10 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
---|
[384] | 11 |
|
---|
| 12 | BuildArch: noarch
|
---|
[734] | 13 | #BuildRequires: ??
|
---|
| 14 | Requires: PBDEP
|
---|
| 15 | Provides: PBPROVIDE
|
---|
[384] | 16 |
|
---|
| 17 | %description
|
---|
| 18 | LinuxCOE SystemDesigner is a unifying web application that allows
|
---|
| 19 | a user to repeatably install, configure, and maintain different
|
---|
| 20 | Linux system installations. It's CGI-based interface provides means
|
---|
| 21 | to generate boot images for network or local media based installations,
|
---|
| 22 | save profiles that store custom installation preferences for later re-use,
|
---|
| 23 | and retrofit already deployed systems by overlaying other value-add components.
|
---|
| 24 |
|
---|
[734] | 25 | %prep
|
---|
[384] | 26 |
|
---|
| 27 | %setup -q
|
---|
| 28 |
|
---|
| 29 | %build
|
---|
[734] | 30 | ./configure \
|
---|
| 31 | webalias="PBwebalias" \
|
---|
| 32 | webworkdir="PBwebworkdir" \
|
---|
| 33 | httpdcfgdir="PBhttpdcfgdir" \
|
---|
| 34 | httpd_user="PBhttpd_user" \
|
---|
| 35 | httpd_group="PBhttpd_group" \
|
---|
| 36 | sudoers_cfg="PBsudoers_cfg" \
|
---|
| 37 | --prefix=PBprefix \
|
---|
| 38 | --sysconfdir=PBsysconfdir \
|
---|
| 39 | --localstatedir=%{_var} \
|
---|
| 40 | --without-MKISOFS \
|
---|
| 41 | --without-PERLMOD \
|
---|
| 42 | --without-PALO \
|
---|
| 43 | --without-SENDMAIL \
|
---|
| 44 | --without-APACHECTL \
|
---|
| 45 | --without-SUDO
|
---|
[384] | 46 |
|
---|
| 47 | %install
|
---|
[734] | 48 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 49 | make DESTDIR=$RPM_BUILD_ROOT install
|
---|
[384] | 50 |
|
---|
[734] | 51 | # scriptlets
|
---|
[384] | 52 |
|
---|
| 53 | %clean
|
---|
| 54 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 55 |
|
---|
| 56 | %files
|
---|
[734] | 57 | %defattr(-,root,root,-)
|
---|
| 58 | %config(noreplace) PBsysconfdir/linuxcoe.rc
|
---|
| 59 | %config(noreplace) PBsysconfdir/includes/LinuxCOE-SystemDesigner.conf
|
---|
| 60 | %config(noreplace) PBsysconfdir/includes/config.state
|
---|
| 61 | %config(noreplace) PBsysconfdir/includes/sudoers
|
---|
| 62 | %config(noreplace) /etc/logrotate.d/LinuxCOE-SystemDesigner
|
---|
[384] | 63 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
---|
[734] | 64 | %{_var}/cache/PBPROVIDE
|
---|
| 65 | %{_var}/lib/PBPROVIDE
|
---|
| 66 | %{_var}/log/PBPROVIDE
|
---|
| 67 | PBprefix
|
---|
[384] | 68 |
|
---|
| 69 | %changelog
|
---|
| 70 | PBLOG
|
---|