2 # $Id: PLCWWW.spec 1206 2008-03-03 15:49:07Z thierry $
4 %define module_taglevel_varname subversion
6 %define version onelab.4.2
9 %define release %{subversion}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
11 Summary: PlanetLab Central (PLC) Web Pages
16 Group: Applications/Systems
17 Source0: %{name}-%{version}.tar.gz
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
22 Packager: OneLab <support@one-lab.org>
23 Distribution: PlanetLab %{version}
24 URL: http://svn.one-lab.org/svn/new_plc_www/
26 # We use set everywhere
27 #Requires: httpd >= 2.0
29 Requires: postgresql >= 8.0
30 Requires: bootcd >= 3.3
31 Requires: PLCAPI >= 4.0
33 # on centos5, when rebuilding the full monty, we get:
34 # Error: Missing Dependency: perl(GD) is needed by package PLCWWW
35 # and the perl-GD rpm is nowhere to be found
39 The plcwww packages provides the web pages that run on
40 top of the PLCAPI component to provide the Web User Interface to the
42 This package was formerly embedded together with MyPLC, but there
43 clearly is a need for separate upgrade of this component.
49 echo "There is no build stage for this component"
50 echo "All files just need to be installed as is from the codebase"
53 rm -rf $RPM_BUILD_ROOT
59 echo "* PLCWWW: Installing web pages"
60 mkdir -p $RPM_BUILD_ROOT/var/www/html
61 # let's be conservative and exclude codebase files, though there should not be any
62 rsync -a --exclude \*.spec --exclude .svn --exclude CVS ./ $RPM_BUILD_ROOT/var/www/html/
64 echo "* PLCWWW: Installing drupal config for httpd"
65 install -D -m 644 drupal.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/drupal.conf
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(-,root,root,-)
73 /etc/httpd/conf.d/drupal.conf
76 * Mon Mar 03 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - PLCWWW-4.2-7 PLCWWW-4.2-8
79 * Fri Feb 15 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - PLCWWW-4.2-6 PLCWWW-4.2-7
80 - should fix yum.conf on nodes after install
82 * Thu Feb 14 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - PLCWWW-4.2-5 PLCWWW-4.2-6
83 - uses different path for getbootmedium results - should be safer
85 * Sun Feb 10 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - PLCWWW-4.2-4 PLCWWW-4.2-5
86 - comon icon replaced with the one from the comon website
88 * Fri Feb 08 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - PLCWWW-4.2-3 PLCWWW-4.2-4
89 - displays rpms in the about page
91 * Thu Feb 07 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - PLCWWW-4.2-2 PLCWWW-4.2-3
92 - safer, reference-less, way to implement layout mechnism - see
93 - settings.php for details
94 - setting types properly displayed according to user's role
95 - setting deletion : fixed (was still using code from slice attribute)
96 - more comon buttons : in the nodes and peers index pages
97 - comon_button knows about peer_id
99 * Tue Jan 22 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - PLCWWW-4.2-1 PLCWWW-4.2-2
100 - merged the PlanetLabConf from Princeton's tag PLCWWW-4.1-1
102 * Mon Apr 16 2007 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> -