]> git.pld-linux.org Git - packages/Maverik.git/blobdiff - Maverik.spec
- massive attack: source-md5
[packages/Maverik.git] / Maverik.spec
index f0265ba9f75d656ca6431e7b607eb92db11ca004..fd4195a6c83a119c1e9ae0139e8d2195c738b345 100644 (file)
@@ -1,42 +1,51 @@
 Summary:       A vr micro-Kernel
+Summary(pl):   Mikroj±dro VR
 Name:          Maverik
-Version:       5.1
+Version:       5.2
 Release:       1
-Copyright:     GPL
+License:       GPL
 Group:         Development/Libraries
-Vendor:                Advanced Interfaces Group
-Source0:       ftp://aig.cs.man.ac.uk/pub/aig/Maverik/%{name}-%{version}.tar.gz
-Source1:       ftp://aig.cs.man.ac.uk/pub/aig/Maverik/%{name}Demos-%{version}.tar.gz
-Source2:       Maverik-5.1-1.rpm-extras.tgz
-Patch:         Maverik-5.1-1-linux.patch
-URL:           http://hegel.cs.man.ac.uk/systems/Maverik/
-Buildroot:     /tmp/%{name}-%{version}-root
+# download page: http://aig.cs.man.ac.uk/maverik/download.php
+Source0:       http://aig.cs.man.ac.uk/maverik/%{name}-%{version}.tar.gz
+# Source0-md5: e7cbd5f8f84674d21b268bd7eea22874
+# version 6.2: http://aig.cs.man.ac.uk/maverik/maverik-demos-6.2.tar.gz
+Source1:       http://aig.cs.man.ac.uk/maverik/%{name}Demos-%{version}.tar.gz
+# Source1-md5: a9c3d7815f8bb02661f3ada6778a1b8e
+Source2:       %{name}-5.1-1.rpm-extras.tgz
+# Source2-md5: c6bd7b4fa670c32a545939d080862803
+Patch0:                %{name}-5.1-1-linux.patch
+URL:           http://aig.cs.man.ac.uk/maverik/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
-
+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.
+
+%description -l pl
+GNU Maverik jest ¶rodowiskiem przeznaczonym do rozwoju aplikacji VR.
+Dostarcza zoptymalizowane zarz±dzanie grafik± itp. Nowo¶ci± w GNU
+Mavericu jest bezpo¶rednie u¿ywanie struktur danych aplikacji przez co
+mo¿liwe jest znaczne przyspieszenie dzia³ania przez optymalizacjê
+aplikacji u¿ywaj±cej Maverika.
 
 %package demos
 Summary:       Maverik Demos
+Summary(pl):   Dema Maverika
 Group:         Development/Libraries
 Requires:      %{name} = %{version}
 
 %description demos
 Maverik demos. AIGLab, EscapeCity and LegibleCity.
 
+%description demos -l pl
+Dema Maverika: AIGLab, EscapeCity i LegibleCity.
+
 %prep
-%setup -q
-%setup -q -T -D -b 1
-%setup -q -T -D -a 2
+%setup -q -b1 -a2
 %patch -p 1
 
 for i in doc/MFS/man3/*; do
@@ -49,7 +58,7 @@ done
 #export OS_TYPE="Linux"
 #export MAV_HOME=`pwd`
 #source setup_env
-( ./setup --VRML97 --MESAPATH=/usr/X11R6 ; make ; make clean)
+( ./setup --VRML97 --MESAPATH=%{_prefix}/X11R6 ; make ; make clean)
 
 #export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${RPM_BUILD_DIR}/Maverik-3.0b4/lib/Linux
 #(cd examples; make)
@@ -62,44 +71,35 @@ done
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/%{_prefix}/src/examples/%{name}-%{version}
-install -d $RPM_BUILD_ROOT/{%{_libdir},%{_includedir}/Maverik,%{_mandir}/man3}
-
-install -s lib/*.so $RPM_BUILD_ROOT/%{_libdir}/
-install incl/* $RPM_BUILD_ROOT/%{_includedir}/Maverik/
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/Maverik,%{_mandir}/man3}
 
-cp -a examples/* $RPM_BUILD_ROOT/%{_prefix}/src/examples/%{name}-%{version}/
-cp -a demos $RPM_BUILD_ROOT/%{_prefix}/src/examples/%{name}-%{version}/
+install lib/*.so $RPM_BUILD_ROOT%{_libdir}
+install incl/* $RPM_BUILD_ROOT%{_includedir}/Maverik
 
-find $RPM_BUILD_ROOT/%{_prefix}/src/examples/%{name}-%{version} -type f \
-       -exec strip --strip-unneeded {} \; || :
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 # manual
-install doc/MFS/man3/* $RPM_BUILD_ROOT/%{_mandir}/man3/
-
-
-
-gzip -9nf $RPM_BUILD_ROOT/%{_mandir}/man3/* README.rpm README FAQ VERSIONS \
-       doc/MPG/ps/mpg.ps doc/MFS/ps/mfs.ps
+install doc/MFS/man3/* $RPM_BUILD_ROOT%{_mandir}/man3/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,755)
-%doc {README.rpm,README,FAQ,VERSIONS}.gz
-%doc doc/MPG/ps/mpg.ps.gz doc/MFS/ps/mfs.ps.gz doc/MFS/html
-%attr(755, root, root) %{_libdir}/*.so
-%dir %{_includedir}/Maverik
-%attr(644, root, root) %{_includedir}/Maverik/*
-%attr(644, root, root) %{_mandir}/man3/*
-%dir %{_prefix}/src/examples/%{name}-%{version}
-%{_prefix}/src/examples/%{name}-%{version}/MPG
-%{_prefix}/src/examples/%{name}-%{version}/kernel
-%{_prefix}/src/examples/%{name}-%{version}/misc
-%{_prefix}/src/examples/%{name}-%{version}/Makefile
-%{_prefix}/src/examples/%{name}-%{version}/README
+%defattr(644,root,root,755)
+%doc README.rpm README FAQ VERSIONS
+%doc doc/MPG/ps/mpg.ps doc/MFS/ps/mfs.ps doc/MFS/html
+%attr(755,root,root) %{_libdir}/*.so
+%{_includedir}/Maverik
+%attr(644,root,root) %{_mandir}/man3/*
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/MPG
+%{_examplesdir}/%{name}-%{version}/kernel
+%{_examplesdir}/%{name}-%{version}/misc
+%{_examplesdir}/%{name}-%{version}/Makefile
+%{_examplesdir}/%{name}-%{version}/README
 
 %files demos
-%defattr(-,root,root,755)
-%{_prefix}/src/examples/%{name}-%{version}/demos
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}/demos
This page took 0.071645 seconds and 4 git commands to generate.