]> git.pld-linux.org Git - packages/Maverik.git/commitdiff
- partialy rewriter (source .. unknown).
authorkloczek <kloczek@pld-linux.org>
Mon, 26 Apr 1999 18:00:13 +0000 (18:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Maverik.spec -> 1.1

Maverik.spec [new file with mode: 0644]

diff --git a/Maverik.spec b/Maverik.spec
new file mode 100644 (file)
index 0000000..1bd16dc
--- /dev/null
@@ -0,0 +1,142 @@
+Summary:       A vr micro-Kernel
+Name:          Maverik
+Version:       4.3
+Release:       2
+Copyright:     GPL
+Group:         Developments/Libraries
+Source1:       ftp://aig.cs.man.ac.uk/pub/aig/Maverik/%{name}-%{version}.tar.gz
+Source1:       MaverikDemos-4.3.tar.gz
+Source2:       Maverik-4.3-1.rpm-extras.tgz
+Patch:         Maverik-4.3.1-linux.patch
+
+URL: http://aig.cs.man.ac.uk
+Vendor: Advanced Interfaces Group
+
+%description
+GNU Maverik is a framework and library for developing VR applications (it
+is not an end-user application). It provides optimised management of
+graphics and peripheral driving capabilities for a single user. A novel
+feature of GNU MAVERIK is its direct use of the applications own data
+structures. This means significant performance benefits can be achieved
+through application specific optmisations.
+
+Under GNU/Linux, GNU MAVERIK can use 3DFx VOODOO cards in pairs to drive stereo
+headsets. See the web pages (http://aig.cs.man.ac.uk) for more detail, and
+examples of applications written using GNU MAVERIK.
+
+Examples
+----------
+To run the examples, you will need to set the LD_LIBRARY_PATH to pick up
+the MAVERIK library. i.e.
+
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/Maverik/lib
+
+
+%package demos
+Summary: Maverik Demos
+Requires: Maverik = 4.3
+Group: Developments/libraries
+%description demos
+Maverik demos. AIGLab, EscapeCity and LegibleCity.
+
+%prep
+echo "prep"
+%setup
+%setup -T -D -b 1
+%setup -T -D -a 2
+%patch -p 1
+
+%build
+echo "building "
+#export OS_TYPE="Linux"
+#export MAV_HOME=`pwd`
+#source setup_env
+( ./setup --VRML97 --TIFF ; make ; make clean)
+
+#export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${RPM_BUILD_DIR}/Maverik-3.0b4/lib/Linux
+#(cd examples; make)
+
+# dont make examples they need incl and lib paths setting, and those
+# are different between our build and the installed build. Fix that
+# one day. For now a useful test for the user to try.
+#(cd examples ; make ; make clean)
+
+%install
+echo "install"
+
+install -d -m 755 -o 0 -g 0 /usr/lib/Maverik/Maverik-4.3/lib
+(cd lib; cp -pr * /usr/lib/Maverik/Maverik-4.3/lib)
+
+# include
+install -d -m 755 -o 0 -g 0 /usr/lib/Maverik/Maverik-4.3/incl
+cp -pr incl /usr/lib/Maverik/Maverik-4.3
+
+# examples
+cp -pr examples /usr/lib/Maverik/Maverik-4.3
+
+# bin
+install -d -m 755 -o 0 -g 0 /usr/lib/Maverik/Maverik-4.3/bin
+install -m 755 -o 0 set_mav_vsn /usr/lib/Maverik/Maverik-4.3/bin
+
+# src
+install -d -m 755 -o 0 -g 0 /usr/lib/Maverik/Maverik-4.3/src
+cp -pr src /usr/lib/Maverik/Maverik-4.3
+
+# demos (stub)
+install -d -m 755 -o 0 -g 0 /usr/lib/Maverik/Maverik-4.3/demos
+cp -pr demos /usr/lib/Maverik/Maverik-4.3
+
+# misc for remake
+install -m 755 -o 0 setup /usr/lib/Maverik/Maverik-4.3/setup
+install -m 755 -o 0 Makefile /usr/lib/Maverik/Maverik-4.3/Makefile
+
+# manual
+install -d -m 755 -o 0 -g 0 /usr/lib/Maverik/Maverik-4.3/man/man3
+#install -m 644 -o 0 Maverik.3 /usr/lib/Maverik/Maverik-4.3/man/man3
+cp -pr doc/MFS/man3 /usr/lib/Maverik/Maverik-4.3/man/
+install -m 644 -o 0 set_mav_vsn.3 /usr/lib/Maverik/Maverik-4.3/man/man3
+
+
+%files
+
+#%docdir /usr/lib/Maverik/Maverik-4.3/man
+%doc README.rpm README INSTALL FAQ VERSIONS COPYING doc/MPG/ps/mpg.ps
+
+%dir /usr/lib/Maverik/Maverik-4.3
+/usr/lib/Maverik/Maverik-4.3/bin
+/usr/lib/Maverik/Maverik-4.3/lib
+/usr/lib/Maverik/Maverik-4.3/incl
+/usr/lib/Maverik/Maverik-4.3/man
+/usr/lib/Maverik/Maverik-4.3/examples
+%dir /usr/lib/Maverik/Maverik-4.3/demos
+/usr/lib/Maverik/Maverik-4.3/demos/Makefile
+/usr/lib/Maverik/Maverik-4.3/demos/README
+
+%files demos
+/usr/lib/Maverik/Maverik-4.3/demos/AIGLab
+/usr/lib/Maverik/Maverik-4.3/demos/EscapeCity
+/usr/lib/Maverik/Maverik-4.3/demos/LegibleCity
+
+%post 
+/usr/lib/Maverik/Maverik-4.3/bin/set_mav_vsn -i 4.3
+echo ""
+echo "Examples"
+echo "----------"
+echo "To run the examples, you will need to set the LD_LIBRARY_PATH to pick up"
+echo "the MAVERIK library. i.e. (using the bash shell)"
+echo ""
+echo "      export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/Maverik/lib"
+echo ""
+%preun
+/usr/lib/Maverik/Maverik-4.3/bin/set_mav_vsn -e 4.3
+cp /usr/lib/Maverik/Maverik-4.3/bin/set_mav_vsn /tmp
+
+$postun
+if [ $1 != 0 ] ;
+then
+if [ ! -e /usr/lib/Maverik/incl ];
+then
+       /tmp/set_mav_vsn -i newest
+fi
+rm -f /tmp/set_mav_vsn
+fi
This page took 0.147724 seconds and 4 git commands to generate.