X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc-docs.spec;h=7fe633562d68beb4aaf9a650e56745e0e91195c0;hb=bd051c829da0055a5d7396f96738beefe6b1be70;hp=d9d7fa01d4078bd6312760d1a33df4481379b30e;hpb=854f8c0417cf4f2a8baa1d7889ebb8e400c03831;p=myplc.git diff --git a/myplc-docs.spec b/myplc-docs.spec index d9d7fa0..7fe6335 100644 --- a/myplc-docs.spec +++ b/myplc-docs.spec @@ -1,11 +1,6 @@ -# -# $Id$ -# -%define url $URL$ - %define name myplc-docs %define version 5.0 -%define taglevel 5 +%define taglevel 13 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -22,7 +17,7 @@ BuildArch: noarch Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %{SCMURL} BuildRequires: docbook-dtds, docbook-utils-pdf @@ -40,21 +35,27 @@ http://svn.planet-lab.org/wiki/MyPLCUserGuide %build rm -rf $RPM_BUILD_ROOT -if [ -d PLCAPI ] ; then pushd PLCAPI ; else pushd plcapi; fi +# using the new lowercase names, and handling legacy +[ -d plcapi ] || ln -s PLCAPI plcapi +[ -d monitor ] || ln -s Monitor monitor +[ -d nodemanager ] || ln -s NodeManager nodemanager +[ -d myplc ] || ln -s MyPLC myplc + +pushd plcapi # beware that making the pdf file somehow overwrites the html make -C doc PLCAPI.pdf rm -f doc/PLCAPI.html make -C doc PLCAPI.html popd -if [ -d NodeManager ] ; then pushd NodeManager; else pushd nodemanager ; fi +pushd nodemanager # beware that making the pdf file somehow overwrites the html make -C doc NMAPI.pdf rm -f doc/NMAPI.html make -C doc NMAPI.html popd -if [ -d Monitor ] ; then pushd Monitor; else pushd monitor; fi +pushd monitor # beware that making the pdf file somehow overwrites the html make -C docs Monitor.pdf rm -f docs/Monitor.html @@ -64,18 +65,18 @@ popd %install for ext in pdf html; do - install -D -m 444 PLCAPI/doc/PLCAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.$ext - install -D -m 444 NodeManager/doc/NMAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.$ext - install -D -m 444 Monitor/docs/Monitor.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.$ext + install -D -m 444 plcapi/doc/PLCAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.$ext + install -D -m 444 nodemanager/doc/NMAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.$ext + install -D -m 444 monitor/docs/Monitor.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.$ext done -./MyPLC/docbook2drupal.sh "PLC API Documentation (%{pldistro})" \ +./myplc/docbook2drupal.sh "PLC API Documentation (%{pldistro})" \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.html \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.php -./MyPLC/docbook2drupal.sh "Node Manager API Documentation (%{pldistro})" \ +./myplc/docbook2drupal.sh "Node Manager API Documentation (%{pldistro})" \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.html \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.php -./MyPLC/docbook2drupal.sh "Monitor API Documentation (%{pldistro})" \ +./myplc/docbook2drupal.sh "Monitor API Documentation (%{pldistro})" \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.html \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.php @@ -87,6 +88,33 @@ rm -rf $RPM_BUILD_ROOT /var/www/html/planetlab/doc/ %changelog +* Mon Jan 24 2011 Thierry Parmentelat - myplc-5.0-13 +- no semantic change - just fixed specfile for git URL + +* Wed Dec 01 2010 Thierry Parmentelat - myplc-5.0-12 +- needed for plcapi-5.0-19, i.e. tag permissions based on roles + +* Mon Oct 04 2010 Baris Metin - myplc-5.0-11 +- add missing files to rpm package + +* Mon Oct 04 2010 Thierry Parmentelat - myplc-5.0-10 +- mtail.py -s for SFA +- spot-aliesm.py is a utility script for sanity checks of the PLC db when running refreshpeer+sfa + +* Thu Jul 15 2010 Thierry Parmentelat - myplc-5.0-9 +- avoid duplication of the plc-config binary in both myplc and myplc-config rpms + +* Mon Jul 12 2010 Thierry Parmentelat - myplc-5.0-8 +- plc-config-tty now has a validator on booleans +- e.g. entering 'True' now is rejected rather than silently recording 'false' + +* Tue Jul 06 2010 Baris Metin - MyPLC-5.0-7 +- disable mod_wsgi + +* Mon Jul 05 2010 Baris Metin - MyPLC-5.0-6 +- module name changes +- start wsgi support + * Tue Jun 22 2010 Thierry Parmentelat - MyPLC-5.0-5 - new setting PLC_RESERVATION_GRANULARITY