source: ProjectBuilder/projects/linuxcoe/pbconf/RC1_4-1_2008_02_17/linuxcoe-sd-data-centos/rpm/linuxcoe-sd-data-centos.spec@ 384

Last change on this file since 384 was 384, checked in by Bruno Cornec, 16 years ago

Adds all pb projects under the projects dir (from svn+ssh://svn.project-builder.org/mondo/svn/project-builder)

File size: 1.7 KB
Line 
1Summary: LinuxCOE SystemDesigner web interface -- CentOS Overlay
2Name: PBPKG
3Version: PBVER
4Release: PBTAGPBSUF
5License: GPL
6URL: http://linuxcoe.sourceforge.net/
7Group: 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#
13Source: PBSRC
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
16BuildArch: noarch
17Provides: linuxcoe-sd-overlay
18Requires: linuxcoe-sd-base, PBDEP
19
20%description
21LinuxCOE SystemDesigner is a unifying web application that allows
22a user to repeatably install, configure, and maintain different
23Linux system installations. It's CGI-based interface provides means
24to generate boot images for network or local media based installations,
25save profiles that store custom installation preferences for later re-use,
26and retrofit already deployed systems by overlaying other value-add components.
27
28This package adds CentOS 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
34export httpdcfgdir=PBHTTPDCONF
35export docrootdir=PBHTTPDDOCROOT
36export httpd_user=PBHTTPDUSER
37export httpd_group=PBHTTPDGROUP
38export webalias=PBWEBALIAS
39
40# macro configure doesn't work. (Do not put a percent before the word)
41./configure --prefix=PBROOTINSTALL
42make
43
44%install
45%{__rm} -rf %{buildroot}
46make 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
54PBROOTINSTALL/data/*
55PBROOTINSTALL/depots/*
56PBROOTINSTALL/osvend.d/*
57PBROOTINSTALL/html/docs/*
58PBROOTINSTALL/html/bundles/*
59
60%changelog
61PBLOG
Note: See TracBrowser for help on using the repository browser.