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