6 %define name myplc-docs
10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 Summary: PlanetLab Central (PLC) online documentation
17 Group: Applications/Systems
18 Source0: %{name}-%{version}.tar.gz
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
23 Packager: PlanetLab Central <support@planet-lab.org>
24 Distribution: PlanetLab %{plrelease}
25 URL: %(echo %{url} | cut -d ' ' -f 2)
27 BuildRequires: docbook-dtds, docbook-utils-pdf
29 %define debug_package %{nil}
31 %description This package contains the online documentation for MyPLC,
32 in the form of the reference manuals for the two APIs provided: PLCAPI
33 and NMAPI. A general introduction to the MyPLC system can be found at
34 http://svn.planet-lab.org/wiki/MyPLCUserGuide
40 rm -rf $RPM_BUILD_ROOT
43 # beware that making the pdf file somehow overwrites the html
44 make -C doc PLCAPI.pdf
46 make -C doc PLCAPI.html
50 # beware that making the pdf file somehow overwrites the html
53 make -C doc NMAPI.html
58 for ext in pdf html; do
59 install -D -m 444 PLCAPI/doc/PLCAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.$ext
60 install -D -m 444 NodeManager/doc/NMAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.$ext
63 ./MyPLC/docbook2drupal.sh "PLC API Documentation (%{pldistro})" \
64 $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.html \
65 $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.php
66 ./MyPLC/docbook2drupal.sh "Node Manager API Documentation (%{pldistro})" \
67 $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.html \
68 $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.php
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(-,root,root,-)
75 /var/www/html/planetlab/doc/
78 * Tue May 20 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - MyPLC-4.2-15
79 - Removed proper ops from planetflow slice.
81 * Wed May 14 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - MyPLC-4.2-14
82 - myplc-native requires myplc-docs
83 - fixed doc build by locating locally installed DTDs at build-time
85 * Sun May 11 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - MyPLC-4.2-13
86 - turn myplc-docs off for now
88 * Sat May 10 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - MyPLC-4.2-12
89 - figures in doc package
91 * Fri May 09 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - MyPLC-4.2-11
92 - no more doc packaged outside of myplc-docs - doc/ cleaned up
93 - chroot packaging does not have docs anymore
94 - 'cvs' and 'dev' not required from myplc-native anymore
95 - cosmetic change in kml output
98 %define module_current_branch 4.2