]>
Commit | Line | Data |
---|---|---|
67db48a8 JB |
1 | Summary: MinGW32 binary utility development utilities - DirectX 5.0 API |
2 | Summary(pl.UTF-8): Skrośne narzędzia programistyczne dla MinGW32 - API DirectX 5.0 | |
6cfeddd6 | 3 | Name: crossmingw32-dx50 |
4 | Version: 5.0 | |
0e72f89f | 5 | Release: 2 |
6cfeddd6 | 6 | Epoch: 1 |
7 | License: Free (libs), (c) Microsoft Corporation (headers) | |
8 | Group: Development/Libraries | |
9 | # headers are Copyright (C) 19xx Microsoft Corporation - what about license??? | |
10 | # (even if distributable, are they "Free"?!) | |
11 | Source0: http://www.libsdl.org/extras/win32/common/directx-devel.tar.gz | |
b463c9f2 | 12 | # Source0-md5: 389a36e4d209c0a76bea7d7cb6315315 |
6cfeddd6 | 13 | URL: http://www.libsdl.org/extras/win32/common/ |
0e72f89f | 14 | Requires: crossmingw32-runtime |
a3418250 JB |
15 | Provides: crossmingw32-dx = 5.0 |
16 | Obsoletes: crossmingw32-dx | |
6cfeddd6 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %define target i386-mingw32 | |
20 | %define target_platform i386-pc-mingw32 | |
21 | %define arch %{_prefix}/%{target} | |
22 | ||
23 | %define __unzip unzip -q -o | |
24 | # strip fails on static COFF files | |
25 | %define no_install_post_strip 1 | |
26 | ||
27 | %description | |
28 | crossmingw32 is a complete cross-compiling development system for | |
29 | building stand-alone Microsoft Windows applications under Linux using | |
67db48a8 | 30 | the MinGW32 build libraries. This includes a binutils, gcc with g++ |
6cfeddd6 | 31 | and objc, and libstdc++, all cross targeted to i386-mingw32, along |
32 | with supporting Win32 libraries in 'coff' format from free sources. | |
33 | ||
34 | This package contains DirectX 5.0 API includes and libraries. | |
35 | ||
54165771 JR |
36 | %description -l pl.UTF-8 |
37 | crossmingw32 jest kompletnym systemem do kompilacji skrośnej, | |
38 | pozwalającym budować aplikacje MS Windows pod Linuksem używając | |
67db48a8 | 39 | bibliotek minGW32. System składa się z binutils, gcc z g++ i objc, |
54165771 | 40 | libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz |
6cfeddd6 | 41 | z bibliotek w formacie COFF. |
42 | ||
54165771 | 43 | Ten pakiet zawiera pliki nagłówkowe i biblioteki API DirectX 5.0. |
6cfeddd6 | 44 | |
45 | %prep | |
46 | %setup -q -c | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | install -d $RPM_BUILD_ROOT%{arch}/{include,lib} | |
51 | ||
52 | cp -fa include/* $RPM_BUILD_ROOT%{arch}/include | |
53 | cp -fa lib/* $RPM_BUILD_ROOT%{arch}/lib | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
08311fae JB |
60 | %{arch}/include/d3dtypes.h |
61 | %{arch}/include/ddraw.h | |
62 | %{arch}/include/dinput.h | |
63 | %{arch}/include/dsound.h | |
64 | %{arch}/include/directx.h | |
65 | %{arch}/lib/libdsound.a | |
66 | %{arch}/lib/libddraw.a | |
67 | %{arch}/lib/libdplayx.a | |
68 | %{arch}/lib/libdinput.a | |
69 | %{arch}/lib/libdxguid.a |