| 1 |
# Spec file for the Juggler documentation. |
|---|
| 2 |
# Run with the environment variable DOCBOOK_ROOT set to the DocBook |
|---|
| 3 |
# distribution needed for rendering this documentation. This package can be |
|---|
| 4 |
# downloaded from the following page: |
|---|
| 5 |
# |
|---|
| 6 |
# http://www.vrjuggler.org/view/Juggler/WritingDocumentationUsingDocBook |
|---|
| 7 |
|
|---|
| 8 |
%define name vrjuggler-docs |
|---|
| 9 |
%define global_version 2.3.11 |
|---|
| 10 |
%define global_release 1 |
|---|
| 11 |
%define srcdir vrjuggler-%{global_version}-%{global_release}-src |
|---|
| 12 |
%define file_name %{srcdir}.tar.bz2 |
|---|
| 13 |
|
|---|
| 14 |
%define vpr_version 2.1.4 |
|---|
| 15 |
%define vpr_release %{global_release} |
|---|
| 16 |
%define tweek_version 1.3.2 |
|---|
| 17 |
%define tweek_release %{global_release} |
|---|
| 18 |
%define jccl_version 1.3.3 |
|---|
| 19 |
%define jccl_release %{global_release} |
|---|
| 20 |
%define sonix_version 1.3.2 |
|---|
| 21 |
%define sonix_release %{global_release} |
|---|
| 22 |
%define gadgeteer_version 1.3.13 |
|---|
| 23 |
%define gadgeteer_release %{global_release} |
|---|
| 24 |
%define vrjuggler_version %{global_version} |
|---|
| 25 |
%define vrjuggler_release %{global_release} |
|---|
| 26 |
|
|---|
| 27 |
%define have_java %(if [ -x $JDK_HOME/bin/javac ] ; then echo 1; else echo 0; fi) |
|---|
| 28 |
|
|---|
| 29 |
%define vpr_version_dist 2.1 |
|---|
| 30 |
%define tweek_version_dist 1.3 |
|---|
| 31 |
%define jccl_version_dist 1.3 |
|---|
| 32 |
%define sonix_version_dist 1.3 |
|---|
| 33 |
%define gadgeteer_version_dist 1.3 |
|---|
| 34 |
%define vrjuggler_version_dist 2.3 |
|---|
| 35 |
|
|---|
| 36 |
Name: vrjuggler-docs |
|---|
| 37 |
Summary: Documentation for VR Juggler, the virtual platform for VR application development |
|---|
| 38 |
Version: %{global_version} |
|---|
| 39 |
Release: %{global_release} |
|---|
| 40 |
Source: %{file_name} |
|---|
| 41 |
URL: http://www.vrjuggler.org/ |
|---|
| 42 |
Group: Development/Libraries |
|---|
| 43 |
BuildRoot: %{_tmppath}/%{name}-%{global_version}-%{global_release}-buildroot |
|---|
| 44 |
License: GNU Free Documentation License |
|---|
| 45 |
BuildArch: noarch |
|---|
| 46 |
BuildRequires: doxygen |
|---|
| 47 |
BuildRequires: graphviz |
|---|
| 48 |
|
|---|
| 49 |
%description |
|---|
| 50 |
VR Juggler provides virtual reality (VR) software developers with a suite of |
|---|
| 51 |
application programming interfaces (APIs) that abstract, and hence simplify, |
|---|
| 52 |
all interface aspects of their program including the display surfaces, object |
|---|
| 53 |
tracking, selection and navigation, graphics rendering engines, and graphical |
|---|
| 54 |
user interfaces. An application written with VR Juggler is essentially |
|---|
| 55 |
independent of device, computer platform, and VR system. VR Juggler may be run |
|---|
| 56 |
with any combination of immersive technologies and computational hardware. |
|---|
| 57 |
|
|---|
| 58 |
%package -n vpr-docs |
|---|
| 59 |
Summary: Documentation for VPR, the VR Juggler Portable Runtime |
|---|
| 60 |
Version: %{vpr_version} |
|---|
| 61 |
Release: %{vpr_release} |
|---|
| 62 |
URL: http://www.vrjuggler.org/vapor/ |
|---|
| 63 |
Group: Development/C++ |
|---|
| 64 |
BuildArch: noarch |
|---|
| 65 |
BuildRequires: doxygen |
|---|
| 66 |
BuildRequires: graphviz |
|---|
| 67 |
|
|---|
| 68 |
%description -n vpr-docs |
|---|
| 69 |
The VR Juggler Portable Runtime (VPR) provides an object-oriented |
|---|
| 70 |
operating system abstraction layer that allows for easy development of |
|---|
| 71 |
cross-platform C++ applications. |
|---|
| 72 |
|
|---|
| 73 |
%package -n tweek-c++-docs |
|---|
| 74 |
Summary: Documentation for the Tweek C++ API |
|---|
| 75 |
Version: %{tweek_version} |
|---|
| 76 |
Release: %{tweek_release} |
|---|
| 77 |
URL: http://www.vrjuggler.org/tweek/ |
|---|
| 78 |
Group: Development/C++ |
|---|
| 79 |
BuildArch: noarch |
|---|
| 80 |
BuildRequires: doxygen |
|---|
| 81 |
BuildRequires: graphviz |
|---|
| 82 |
|
|---|
| 83 |
%description -n tweek-c++-docs |
|---|
| 84 |
The Tweek C++ API provides a wrapper around CORBA for writing applications |
|---|
| 85 |
based on the distributed model/view/controller system. In the scope of |
|---|
| 86 |
VR Juggler, such applications are usually immersive worlds that have a |
|---|
| 87 |
GUI that communicates with the immersive application through a network |
|---|
| 88 |
connection. |
|---|
| 89 |
|
|---|
| 90 |
%package -n tweek-java-docs |
|---|
| 91 |
Summary: Documentation for the Tweek Java API and GUI |
|---|
| 92 |
Version: %{tweek_version} |
|---|
| 93 |
Release: %{tweek_release} |
|---|
| 94 |
URL: http://www.vrjuggler.org/tweek/ |
|---|
| 95 |
Group: Development/Java |
|---|
| 96 |
BuildArch: noarch |
|---|
| 97 |
BuildRequires: jdk |
|---|
| 98 |
|
|---|
| 99 |
%description -n tweek-java-docs |
|---|
| 100 |
The Tweek Java API provides a wrapper around CORBA for writing applications |
|---|
| 101 |
based on the distributed model/view/controller system. In the scope of |
|---|
| 102 |
VR Juggler, such applications are usually immersive worlds that have a |
|---|
| 103 |
GUI that communicates with the immersive application through a network |
|---|
| 104 |
connection. The Tweek Java GUI provides an framework for creating such |
|---|
| 105 |
GUIs. Application programmers write JavaBeans that plug into the Tweek |
|---|
| 106 |
Java GUI. |
|---|
| 107 |
|
|---|
| 108 |
%package -n jccl-c++-docs |
|---|
| 109 |
Summary: Documentation for the JCCL C++ API |
|---|
| 110 |
Version: %{jccl_version} |
|---|
| 111 |
Release: %{jccl_release} |
|---|
| 112 |
URL: http://www.vrjuggler.org/jccl/ |
|---|
| 113 |
Group: Development/C++ |
|---|
| 114 |
BuildArch: noarch |
|---|
| 115 |
BuildRequires: doxygen |
|---|
| 116 |
BuildRequires: graphviz |
|---|
| 117 |
|
|---|
| 118 |
%description -n jccl-c++-docs |
|---|
| 119 |
The JCCL C++ API provides a dynamic configuration system based on XML. |
|---|
| 120 |
|
|---|
| 121 |
%package -n jccl-java-docs |
|---|
| 122 |
Summary: The JCCL Java API |
|---|
| 123 |
Version: %{jccl_version} |
|---|
| 124 |
Release: %{jccl_release} |
|---|
| 125 |
URL: http://www.vrjuggler.org/jccl/ |
|---|
| 126 |
Group: Development/Java |
|---|
| 127 |
BuildArch: noarch |
|---|
| 128 |
BuildRequires: jdk |
|---|
| 129 |
|
|---|
| 130 |
%description -n jccl-java-docs |
|---|
| 131 |
The JCCL Java API provides a collection of JavaBeans that are used for |
|---|
| 132 |
reading and editing JCCL configuration (.jconf) files and config |
|---|
| 133 |
definition (.jdef) files. The JavaBeans are designed for use with and |
|---|
| 134 |
depend on the Tweek Java GUI. |
|---|
| 135 |
|
|---|
| 136 |
%package -n sonix-docs |
|---|
| 137 |
Summary: Documentation for Sonix |
|---|
| 138 |
Version: %{sonix_version} |
|---|
| 139 |
Release: %{sonix_release} |
|---|
| 140 |
URL: http://www.vrjuggler.org/sonix/ |
|---|
| 141 |
Group: Development/C++ |
|---|
| 142 |
BuildArch: noarch |
|---|
| 143 |
BuildRequires: doxygen |
|---|
| 144 |
BuildRequires: graphviz |
|---|
| 145 |
|
|---|
| 146 |
%description -n sonix-docs |
|---|
| 147 |
Sonix is a dynamically reconfigurable wrapper around audio APIs. |
|---|
| 148 |
|
|---|
| 149 |
%package -n gadgeteer-docs |
|---|
| 150 |
Summary: Documentation for Gadgeteer |
|---|
| 151 |
Version: %{gadgeteer_version} |
|---|
| 152 |
Release: %{gadgeteer_release} |
|---|
| 153 |
URL: http://www.vrjuggler.org/gadgeteer/ |
|---|
| 154 |
Group: Development/C++ |
|---|
| 155 |
BuildArch: noarch |
|---|
| 156 |
BuildRequires: doxygen |
|---|
| 157 |
BuildRequires: graphviz |
|---|
| 158 |
|
|---|
| 159 |
%description -n gadgeteer-docs |
|---|
| 160 |
Gadgeteer is an extensible, highly configurable, cluster-ready input |
|---|
| 161 |
device management for use with virtual reality applications. Users can |
|---|
| 162 |
write Device drivers that are loaded dynamically. |
|---|
| 163 |
|
|---|
| 164 |
%package -n vrjconfig-docs |
|---|
| 165 |
Summary: Documentation for VRJConfig, the VR Juggler configuration editor |
|---|
| 166 |
Version: %{vrjuggler_version} |
|---|
| 167 |
Release: %{vrjuggler_release} |
|---|
| 168 |
URL: http://www.vrjuggler.org/vrjuggler/ |
|---|
| 169 |
Group: Development/Java |
|---|
| 170 |
BuildArch: noarch |
|---|
| 171 |
BuildRequires: jdk |
|---|
| 172 |
|
|---|
| 173 |
%description -n vrjconfig-docs |
|---|
| 174 |
VRJConfig is a Java-based GUI for editing VR Juggler configurations. It |
|---|
| 175 |
is actually a JavaBean that plugs into the Tweek Java GUI. |
|---|
| 176 |
|
|---|
| 177 |
%prep |
|---|
| 178 |
rm -rf %{buildroot} |
|---|
| 179 |
# For now don't keep unpacking |
|---|
| 180 |
%setup -q -n %{srcdir} |
|---|
| 181 |
./configure.pl |
|---|
| 182 |
|
|---|
| 183 |
%build |
|---|
| 184 |
%if %{have_java} |
|---|
| 185 |
make DIRS="modules/tweek modules/jackal modules/jackal/plugins" |
|---|
| 186 |
make -f Makefile.docs TWEEK_BASE_DIR=`pwd`/instlinks TWEEK_VERSION=%{tweek_version_dist} JCCL_BASE_DIR=`pwd`/instlinks JCCL_VERSION=%{jccl_version_dist} all |
|---|
| 187 |
%else |
|---|
| 188 |
make -f Makefile.docs JAVADOC_SUBDIR= all |
|---|
| 189 |
%endif |
|---|
| 190 |
|
|---|
| 191 |
%install |
|---|
| 192 |
%if %{have_java} |
|---|
| 193 |
make -f Makefile.docs webroot=%{buildroot} install |
|---|
| 194 |
%else |
|---|
| 195 |
make -f Makefile.docs JAVADOC_SUBDIR= webroot=%{buildroot} install |
|---|
| 196 |
%endif |
|---|
| 197 |
# This file is not part of the documentation, it is for the website. |
|---|
| 198 |
rm -f %{buildroot}/tweek/1.2/beanlist.xsd |
|---|
| 199 |
# Ignore the Juggler build system documentation. |
|---|
| 200 |
rm -rf %{buildroot}/docs |
|---|
| 201 |
mkdir -p %{buildroot}%{_docdir} |
|---|
| 202 |
mv %{buildroot}/vapor/%{vpr_version_dist} %{buildroot}%{_docdir}/vpr-%{vpr_version} |
|---|
| 203 |
mv %{buildroot}/tweek/%{tweek_version_dist} %{buildroot}%{_docdir}/tweek-%{tweek_version} |
|---|
| 204 |
mv %{buildroot}/jccl/%{jccl_version_dist} %{buildroot}%{_docdir}/jccl-%{jccl_version} |
|---|
| 205 |
mv %{buildroot}/sonix/%{sonix_version_dist} %{buildroot}%{_docdir}/sonix-%{sonix_version} |
|---|
| 206 |
mv %{buildroot}/gadgeteer/%{gadgeteer_version_dist} %{buildroot}%{_docdir}/gadgeteer-%{gadgeteer_version} |
|---|
| 207 |
mv %{buildroot}/vrjuggler/%{vrjuggler_version_dist} %{buildroot}%{_docdir}/vrjuggler-%{vrjuggler_version} |
|---|
| 208 |
|
|---|
| 209 |
%clean |
|---|
| 210 |
rm -rf %{buildroot} |
|---|
| 211 |
|
|---|
| 212 |
%files -n vpr-docs |
|---|
| 213 |
%defattr(-, root, root) |
|---|
| 214 |
%{_docdir}/vpr-%{vpr_version} |
|---|
| 215 |
|
|---|
| 216 |
%files -n tweek-c++-docs |
|---|
| 217 |
%defattr(-, root, root) |
|---|
| 218 |
%{_docdir}/tweek-%{tweek_version}/programmer.guide |
|---|
| 219 |
%{_docdir}/tweek-%{tweek_version}/programmer.reference.cxx |
|---|
| 220 |
|
|---|
| 221 |
%if %have_java |
|---|
| 222 |
%files -n tweek-java-docs |
|---|
| 223 |
%defattr(-, root, root) |
|---|
| 224 |
%{_docdir}/tweek-%{tweek_version}/programmer.reference.java |
|---|
| 225 |
%endif |
|---|
| 226 |
|
|---|
| 227 |
%files -n jccl-c++-docs |
|---|
| 228 |
%defattr(-, root, root) |
|---|
| 229 |
%{_docdir}/jccl-%{jccl_version}/programmer.reference |
|---|
| 230 |
|
|---|
| 231 |
%if %have_java |
|---|
| 232 |
%files -n jccl-java-docs |
|---|
| 233 |
%{_docdir}/jccl-%{jccl_version}/programmer.reference.java |
|---|
| 234 |
%endif |
|---|
| 235 |
|
|---|
| 236 |
%files -n sonix-docs |
|---|
| 237 |
%defattr(-, root, root) |
|---|
| 238 |
%{_docdir}/sonix-%{sonix_version} |
|---|
| 239 |
|
|---|
| 240 |
%files -n gadgeteer-docs |
|---|
| 241 |
%defattr(-, root, root) |
|---|
| 242 |
%{_docdir}/gadgeteer-%{gadgeteer_version} |
|---|
| 243 |
|
|---|
| 244 |
%files |
|---|
| 245 |
%defattr(-, root, root) |
|---|
| 246 |
%{_docdir}/vrjuggler-%{vrjuggler_version}/getting.started.guide |
|---|
| 247 |
%{_docdir}/vrjuggler-%{vrjuggler_version}/programmer.guide |
|---|
| 248 |
%{_docdir}/vrjuggler-%{vrjuggler_version}/programmer.reference |
|---|
| 249 |
|
|---|
| 250 |
%if %have_java |
|---|
| 251 |
%files -n vrjconfig-docs |
|---|
| 252 |
%defattr(-, root, root) |
|---|
| 253 |
%{_docdir}/vrjuggler-%{vrjuggler_version}/programmer.reference.java |
|---|
| 254 |
%endif |
|---|
| 255 |
|
|---|
| 256 |
%changelog |
|---|
| 257 |
* Wed Apr 18 2007 Patrick Hartling <patrick@infiscape.com> 2.3.0-1 |
|---|
| 258 |
- Roll versions after VR Juggler 2.2 branch creation. |
|---|
| 259 |
|
|---|
| 260 |
* Thu Mar 15 2007 Patrick Hartling |
|---|
| 261 |
- Depend on jdk instead of j2sdk. |
|---|
| 262 |
|
|---|
| 263 |
* Sat Apr 22 2006 Patrick Hartling |
|---|
| 264 |
- Initial version. |
|---|