X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLCWWW.spec;h=93544f4974c71ae2f77616503739f97e1155e663;hb=9c2c95763677a4f5045bc039f680e56752861f4b;hp=f4724b410f00def6490ec2fa1d409e69eb8176a6;hpb=ba1db01078f414acb4c2280df2ebfd0cabe97b41;p=plewww.git diff --git a/PLCWWW.spec b/PLCWWW.spec index f4724b4..93544f4 100644 --- a/PLCWWW.spec +++ b/PLCWWW.spec @@ -1,12 +1,13 @@ # -# $Id: PLCWWW.spec 1206 2008-03-03 15:49:07Z thierry $ +# $Id$ # -%define module_taglevel_varname subversion %define name PLCWWW -%define version 4.2 -%define subversion 8 +%define version PLE.5.0 +%define taglevel 0 -%define release %{subversion}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +# no need to mention pldistro as this module differs in both distros +#%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define release %{taglevel}%{?date:.%{date}} Summary: PlanetLab Central (PLC) Web Pages Name: %{name} @@ -23,20 +24,20 @@ Packager: OneLab Distribution: PlanetLab %{version} URL: http://svn.one-lab.org/svn/new_plc_www/ +# We use set everywhere +#Requires: httpd >= 2.0 +Requires: php >= 5.0 +Requires: postgresql >= 8.0 +Requires: PLCAPI >= 5.0 + +# on centos5, when rebuilding the full monty, we get: +# Error: Missing Dependency: perl(GD) is needed by package PLCWWW +# and the perl-GD rpm is nowhere to be found +AutoReqProv: no + %description -The plcwww packages provides the web pages that run on -top of the PLCAPI component to provide the Web User Interface to the -PLC installation. -This package was formerly embedded together with MyPLC, but there -clearly is a need for separate upgrade of this component. - -# I was getting a dependency to /usr/local/bin/perl -# I tried the following trick, to no avail -# as per http://www.rpm.org/max-rpm/s1-rpm-depend-auto-depend.html -# AutoReqProv: no -# in fact it turned out plot-latlong/plot-latlong used to read -#! /usr/local/bin/perl -# so I just needed to fix that +The PLCWWW package is made of the web pages that run on top of the +PLCAPI component to provide the Web Interface to MyPLC users. %prep %setup -q @@ -52,13 +53,13 @@ rm -rf $RPM_BUILD_ROOT # plcwww # -echo "* PLCWWW: Installing web pages" +echo "* PLEWWW: Installing web pages" mkdir -p $RPM_BUILD_ROOT/var/www/html # let's be conservative and exclude codebase files, though there should not be any rsync -a --exclude \*.spec --exclude .svn --exclude CVS ./ $RPM_BUILD_ROOT/var/www/html/ -echo "* PLCWWW: Installing drupal config for httpd" -install -D -m 644 drupal.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/drupal.conf +echo "* PLEWWW: Installing config for httpd" +install -D -m 644 planetlab.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/planetlab.conf %clean rm -rf $RPM_BUILD_ROOT @@ -66,9 +67,18 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /var/www/html -/etc/httpd/conf.d/drupal.conf +/etc/httpd/conf.d/planetlab.conf %changelog +* Fri Apr 25 2008 Thierry Parmentelat - PLCWWW-onelab.4.2-11 +- everyone is welcome to add nodes + +* Thu Apr 24 2008 Thierry Parmentelat - PLCWWW-onelab.4.2-10 +- node-specific bootcd images to include arch in their name + +* Wed Apr 23 2008 Thierry Parmentelat - PLCWWW-onelab.4.2-9 +- remove explicit dep to bootcd as the rpm name has changed + * Mon Mar 03 2008 Thierry Parmentelat - PLCWWW-4.2-7 PLCWWW-4.2-8 - noarch