1 | Name: PBPKG
|
---|
2 | Version: PBVER
|
---|
3 | Release: PBTAGPBSUF
|
---|
4 | Summary: LinuxCOE SystemDesigner web interface
|
---|
5 |
|
---|
6 | Group: PBGRP
|
---|
7 | License: GPL
|
---|
8 | URL: http://linuxcoe.sourceforge.net/
|
---|
9 | Source: PBSRC
|
---|
10 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
---|
11 |
|
---|
12 | BuildArch: noarch
|
---|
13 | #BuildRequires: ??
|
---|
14 | Requires: PBDEP
|
---|
15 | Provides: PBPROVIDE
|
---|
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 |
|
---|
25 | %prep
|
---|
26 |
|
---|
27 | %setup -q
|
---|
28 |
|
---|
29 | %build
|
---|
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
|
---|
46 |
|
---|
47 | %install
|
---|
48 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
49 | make DESTDIR=$RPM_BUILD_ROOT install
|
---|
50 |
|
---|
51 | # scriptlets
|
---|
52 |
|
---|
53 | %clean
|
---|
54 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
55 |
|
---|
56 | %files
|
---|
57 | %defattr(-,root,root,-)
|
---|
58 | %config(noreplace) PBsysconfdir/linuxcoe.rc
|
---|
59 | %config(noreplace) PBsysconfdir/includes/LinuxCOE-SystemDesigner
|
---|
60 | %config(noreplace) PBsysconfdir/includes/LinuxCOE-SystemDesigner.conf
|
---|
61 | %config(noreplace) PBsysconfdir/includes/config.state
|
---|
62 | %config(noreplace) PBsysconfdir/includes/sudoers
|
---|
63 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
---|
64 | %attr(-,PBhttpd_user,PBhttpd_group) %{_var}/cache/PBPROVIDE
|
---|
65 | %{_var}/lib/PBPROVIDE
|
---|
66 | %attr(-,PBhttpd_user,PBhttpd_group) %{_var}/log/PBPROVIDE
|
---|
67 | PBprefix
|
---|
68 |
|
---|
69 | %post
|
---|
70 | PBprefix/bin/post-actions -i
|
---|
71 |
|
---|
72 | %postun
|
---|
73 | PBprefix/bin/post-actions -u
|
---|
74 |
|
---|
75 | %changelog
|
---|
76 | PBLOG
|
---|