X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc-docs.spec;h=19aad78b7fb269997402ecad31039d397e4f0b8c;hb=dcbb4c4592f80a30029343af74877a22ba612cca;hp=7fe633562d68beb4aaf9a650e56745e0e91195c0;hpb=bd051c829da0055a5d7396f96738beefe6b1be70;p=myplc.git diff --git a/myplc-docs.spec b/myplc-docs.spec index 7fe6335..19aad78 100644 --- a/myplc-docs.spec +++ b/myplc-docs.spec @@ -1,6 +1,6 @@ %define name myplc-docs %define version 5.0 -%define taglevel 13 +%define taglevel 17 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -36,10 +36,10 @@ http://svn.planet-lab.org/wiki/MyPLCUserGuide rm -rf $RPM_BUILD_ROOT # using the new lowercase names, and handling legacy +[ -d myplc ] || ln -s MyPLC myplc [ -d plcapi ] || ln -s PLCAPI plcapi -[ -d monitor ] || ln -s Monitor monitor [ -d nodemanager ] || ln -s NodeManager nodemanager -[ -d myplc ] || ln -s MyPLC myplc +[ -d monitor ] || ln -s Monitor monitor pushd plcapi # beware that making the pdf file somehow overwrites the html @@ -55,19 +55,24 @@ rm -f doc/NMAPI.html make -C doc NMAPI.html popd +# not everyone rebuilds monitor, so make it optional +if [ -d monitor ] ; then pushd monitor # beware that making the pdf file somehow overwrites the html make -C docs Monitor.pdf rm -f docs/Monitor.html make -C docs Monitor.html popd +fi %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 + if [ -d monitor ] ; then install -D -m 444 monitor/docs/Monitor.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.$ext + fi done ./myplc/docbook2drupal.sh "PLC API Documentation (%{pldistro})" \ @@ -76,9 +81,11 @@ done ./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 +if [ -d monitor ] ; then ./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 +fi %clean rm -rf $RPM_BUILD_ROOT @@ -88,6 +95,19 @@ rm -rf $RPM_BUILD_ROOT /var/www/html/planetlab/doc/ %changelog +* Tue Mar 22 2011 Thierry Parmentelat - myplc-5.0-17 +- fixed changelog, no change from 5.0-16 + +* Mon Mar 21 2011 Thierry Parmentelat - myplc-5.0-16 +- requires ed for the plc.d/packages step +- sirius initscript to handle stop and restart + +* Fri Feb 04 2011 Thierry Parmentelat - myplc-5.0-15 +- ignore steps in db-config.d if they have a '.' or '~' in their name + +* Wed Jan 26 2011 Thierry Parmentelat - myplc-5.0-14 +- can redo myplc-docs without the doc for monitor + * Mon Jan 24 2011 Thierry Parmentelat - myplc-5.0-13 - no semantic change - just fixed specfile for git URL