]> git.pld-linux.org Git - packages/dotnet-tao.git/blame - dotnet-tao.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-tao.git] / dotnet-tao.spec
CommitLineData
f4083e1c 1Summary: Tao Framework
ed9bd92e 2Summary(pl.UTF-8): Framework Tao
fc243914 3Name: dotnet-tao
f4083e1c 4Version: 20050606
5Release: 1
6License: MIT
7Group: Libraries
fc243914 8Source0: tao-%{version}.tar.bz2
f4083e1c 9# Source0-md5: 170e143b8035644eb3c24db4cc7a2c3b
10URL: http://www.mono-project.com/Tao
87e06fb8 11BuildRequires: mono >= 1.1.7
4aecfe20 12BuildRequires: rpmbuild(monoautodeps)
87e06fb8 13Requires: mono >= 1.1.7
f4083e1c 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The Tao Framework for .NET is a collection of bindings to facilitate
18cross-platform game-related development utilizing the .NET platform.
19
20Currently included bindings are OpenGL 1.5, GLU 1.3, GLUT 3.7.6, WGL,
21various GL and WGL-related extensions, OpenAL 1.0, Cg 1.2.1, DevIL
221.6.6, SDL 1.2.7, and GLFW 2.4.2 (and some others).
23
24These bindings all function in a cross-platform and cross-runtime
25manner using Microsoft's .NET 1.0 and 1.1 runtimes on Windows and the
26Mono runtime on Windows and Linux. Other platforms and runtimes have
27not been tested, but, would most likely work with a minimal amount of
28changes.
29
30The bindings are also CLS-compliant, meaning that they can be used by
31any .NET language, including C# and Visual Basic .NET, amongst others.
32
505ded07
JR
33%description -l pl.UTF-8
34Framework Tao dla .NET jest kolekcją wiązań umożliwiającą
35międzyplatformowe tworzenie gier opartych na platformie .NET.
f4083e1c 36
505ded07
JR
37Aktualnie zawarte są wiązania do OpenGL 2.0, GLU 1.3, GLUT 3.7.6, WGL,
38różnych rozszerzeń GL i WGL, OpenAL 1.0, Cg 1.2.1, DevIL 1.6.6, SDL
f4083e1c 391.2.7 i GLFW 2.4.2 (i kilku innych).
40
505ded07
JR
41Wszystkie te wiązania zdatne są do użytku na wielu platformach
42sprzętowych i w wielu środowiskach uruchomieniowych. Obsługiwane jest
fc243914 43microsoftowe .NET 1.0 i 1.1 pod Windows oraz Mono pod Windows i
505ded07
JR
44Linuksem. Inne platformy i środowiska nie zostały przetestowane, lecz
45prawdopodobnie również będą działać z minimalną ilością zmian.
f4083e1c 46
505ded07
JR
47Wiązania są również zgodne z CLS, co znaczy, że mogą być używane przez
48różnorakie języki .NET, pośród nich na przykład C# i Visual Basic
f4083e1c 49.NET.
50
51%package examples
52Summary: Tao example programs
ed9bd92e 53Summary(pl.UTF-8): Przykładowe programy Tao
87e06fb8 54Group: Development/Libraries
f4083e1c 55Requires: %{name} = %{version}-%{release}
56
57%description examples
58Tao example programs.
59
505ded07
JR
60%description examples -l pl.UTF-8
61Przykładowe programy Tao.
f4083e1c 62
63%prep
fc243914 64%setup -q -n tao-%{version}
f4083e1c 65
66%build
67%{__make} mono-1.1
9970be0d
JB
68%{__make} -C src \
69 STRONG=1
f4083e1c 70
71%install
72rm -rf $RPM_BUILD_ROOT
fc243914 73install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
f4083e1c 74
75for i in dist/bin/*.dll
76do
87e06fb8 77 gacutil -root $RPM_BUILD_ROOT%{_prefix}/lib -package tao -i $i
f4083e1c 78done
79
fc243914 80cp -Rf examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
f4083e1c 81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
87%doc README.txt src/Tao.*/Tao.*.Readme.txt
87e06fb8
JB
88%attr(755,root,root) %{_prefix}/lib/mono/gac/*/*/*.dll
89%{_prefix}/lib/mono/gac/*/*/*.config
90%{_prefix}/lib/mono/tao
f4083e1c 91
92%files examples
93%defattr(644,root,root,755)
fc243914 94%{_examplesdir}/%{name}-%{version}
This page took 0.06706 seconds and 4 git commands to generate.