]> git.pld-linux.org Git - packages/Maverik.git/blame - Maverik.spec
- dropped pre-cvs changelog
[packages/Maverik.git] / Maverik.spec
CommitLineData
fdbafa9e 1Summary: A VR micro-Kernel
907bca15 2Summary(pl.UTF-8): Mikrojądro VR
45a08a3b 3Name: Maverik
a5d0aa9b 4Version: 6.2
595b51d4 5Release: 1
4c0696a0 6License: GPL
9d47ae8c 7Group: Development/Libraries
fdbafa9e 8#Source0Download: http://aig.cs.man.ac.uk/maverik/download.php
a5d0aa9b
SP
9Source0: http://aig.cs.man.ac.uk/maverik/maverik-%{version}.tar.gz
10# Source0-md5: b15b290f5a0c8c6c21a2f5c47ad8be37
a5d0aa9b
SP
11Source1: http://aig.cs.man.ac.uk/maverik/maverik-demos-%{version}.tar.gz
12# Source1-md5: cb31b5e61c6c390edb564c61a96e3eaf
19c02221 13Source2: %{name}-5.1-1.rpm-extras.tgz
8d599ed2 14# Source2-md5: c6bd7b4fa670c32a545939d080862803
19c02221 15Patch0: %{name}-5.1-1-linux.patch
f16ab8cd 16URL: http://aig.cs.man.ac.uk/maverik/
cc876b4c 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45a08a3b 18
19%description
4c0696a0 20GNU Maverik is a framework and library for developing VR applications
21(it is not an end-user application). It provides optimised management
22of graphics and peripheral driving capabilities for a single user. A
23novel feature of GNU MAVERIK is its direct use of the applications own
24data structures. This means significant performance benefits can be
25achieved through application specific optmisations.
45a08a3b 26
70737c37
JR
27%description -l pl.UTF-8
28GNU Maverik jest środowiskiem przeznaczonym do rozwoju aplikacji VR.
29Dostarcza zoptymalizowane zarządzanie grafiką itp. Nowością w GNU
30Mavericu jest bezpośrednie używanie struktur danych aplikacji przez co
31możliwe jest znaczne przyspieszenie działania przez optymalizację
32aplikacji używającej Maverika.
45a08a3b 33
45a08a3b 34%package demos
fd45442d 35Summary: Maverik Demos
907bca15 36Summary(pl.UTF-8): Dema Maverika
9d47ae8c 37Group: Development/Libraries
fdbafa9e 38Requires: %{name} = %{version}-%{release}
fd45442d 39
45a08a3b 40%description demos
41Maverik demos. AIGLab, EscapeCity and LegibleCity.
42
70737c37 43%description demos -l pl.UTF-8
69b695f3 44Dema Maverika: AIGLab, EscapeCity i LegibleCity.
7aed7831 45
45a08a3b 46%prep
a5d0aa9b 47%setup -q -n maverik-%{version} -b1 -a2
ded994f1 48%patch0 -p 1
45a08a3b 49
f6e1aef5 50for i in doc/MFS/man3/*; do
51 if [ -L $i ]; then
52 echo ".so `ls -l $i | awk '{print $11}'; rm -f $i`" > $i
53 fi
54done
55
45a08a3b 56%build
45a08a3b 57#export OS_TYPE="Linux"
58#export MAV_HOME=`pwd`
59#source setup_env
fdbafa9e
JB
60./setup \
61 --VRML97 \
62 --MESAPATH=%{_prefix}/X11R6
63%{__make}
64%{__make} clean
45a08a3b 65
66#export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${RPM_BUILD_DIR}/Maverik-3.0b4/lib/Linux
fdbafa9e 67#%{__make} -C examples
45a08a3b 68
69# dont make examples they need incl and lib paths setting, and those
70# are different between our build and the installed build. Fix that
71# one day. For now a useful test for the user to try.
fdbafa9e 72#%{__make} -C examples ; %{__make} -C examples clean
45a08a3b 73
74%install
a62ed473 75rm -rf $RPM_BUILD_ROOT
69b695f3
JB
76install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/Maverik,%{_mandir}/man3}
45a08a3b 78
69b695f3
JB
79install lib/*.so $RPM_BUILD_ROOT%{_libdir}
80install incl/* $RPM_BUILD_ROOT%{_includedir}/Maverik
45a08a3b 81
69b695f3
JB
82cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
83cp -a demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45a08a3b 84
a62ed473 85# manual
f16ab8cd 86install doc/MFS/man3/* $RPM_BUILD_ROOT%{_mandir}/man3/
a62ed473
JR
87
88%clean
89rm -rf $RPM_BUILD_ROOT
fd45442d 90
91%files
4c0696a0 92%defattr(644,root,root,755)
f16ab8cd
JB
93%doc README.rpm README FAQ VERSIONS
94%doc doc/MPG/ps/mpg.ps doc/MFS/ps/mfs.ps doc/MFS/html
69b695f3
JB
95%attr(755,root,root) %{_libdir}/*.so
96%{_includedir}/Maverik
fdbafa9e 97%{_mandir}/man3/*
69b695f3
JB
98%dir %{_examplesdir}/%{name}-%{version}
99%{_examplesdir}/%{name}-%{version}/MPG
100%{_examplesdir}/%{name}-%{version}/kernel
101%{_examplesdir}/%{name}-%{version}/misc
102%{_examplesdir}/%{name}-%{version}/Makefile
103%{_examplesdir}/%{name}-%{version}/README
fd45442d 104
105%files demos
4c0696a0 106%defattr(644,root,root,755)
69b695f3 107%{_examplesdir}/%{name}-%{version}/demos
This page took 0.082024 seconds and 4 git commands to generate.