]>
Commit | Line | Data |
---|---|---|
a75d9b51 JB |
1 | Summary: MinGW32 binary utility development utilities - DirectX 8.0 API |
2 | Summary(pl.UTF-8): Skrośne narzędzia programistyczne dla MinGW32 - API DirectX 8.0 | |
a7b75def | 3 | Name: crossmingw32-dx80 |
4 | Version: 8.0 | |
cedbc633 | 5 | Release: 2 |
a7b75def | 6 | License: Free (libs), (c) Microsoft Corporation (headers) |
7 | Group: Development/Libraries | |
8 | # headers are Copyright (C) 19xx Microsoft Corporation - what about license??? | |
9 | # (even if distributable, are they "Free"?!) | |
10 | Source0: http://alleg.sourceforge.net/files/dx80_mgw.zip | |
11 | # Source0-md5: 56989db41e494786220ed4e4788af929 | |
12 | Source1: http://www.libsdl.org/extras/win32/common/directx-devel.tar.gz | |
13 | # Source1-md5: 389a36e4d209c0a76bea7d7cb6315315 | |
2f7bd017 | 14 | BuildRequires: unzip |
cedbc633 | 15 | Requires: crossmingw32-runtime |
d534eb4c JB |
16 | Provides: crossmingw32-dx = 8.0 |
17 | Obsoletes: crossmingw32-dx | |
a7b75def | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %define target i386-mingw32 | |
21 | %define target_platform i386-pc-mingw32 | |
22 | %define arch %{_prefix}/%{target} | |
23 | ||
24 | %define __unzip unzip -q -o | |
25 | # strip fails on static COFF files | |
26 | %define no_install_post_strip 1 | |
27 | ||
28 | %description | |
29 | crossmingw32 is a complete cross-compiling development system for | |
30 | building stand-alone Microsoft Windows applications under Linux using | |
a75d9b51 | 31 | the MinGW32 build libraries. This includes a binutils, gcc with g++ |
a7b75def | 32 | and objc, and libstdc++, all cross targeted to i386-mingw32, along |
33 | with supporting Win32 libraries in 'coff' format from free sources. | |
34 | ||
35 | This package contains DirectX 8.0 API includes and libraries. | |
36 | ||
ef067cd0 JR |
37 | %description -l pl.UTF-8 |
38 | crossmingw32 jest kompletnym systemem do kompilacji skrośnej, | |
39 | pozwalającym budować aplikacje MS Windows pod Linuksem używając | |
a75d9b51 | 40 | bibliotek MinGW32. System składa się z binutils, gcc z g++ i objc, |
ef067cd0 | 41 | libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz |
a7b75def | 42 | z bibliotek w formacie COFF. |
43 | ||
ef067cd0 | 44 | Ten pakiet zawiera pliki nagłówkowe i biblioteki API DirectX 8.0. |
a7b75def | 45 | |
46 | %prep | |
47 | %setup -q -c | |
48 | mkdir extras | |
49 | cd extras | |
50 | tar zxf %{SOURCE1} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | install -d $RPM_BUILD_ROOT%{arch}/{include,lib} | |
55 | ||
d534eb4c | 56 | rm -rf include/src |
a7b75def | 57 | rm -rf lib/src |
58 | ||
59 | cp -fa include/* $RPM_BUILD_ROOT%{arch}/include | |
60 | cp -fa lib/* $RPM_BUILD_ROOT%{arch}/lib | |
61 | ||
62 | cp extras/include/directx.h $RPM_BUILD_ROOT%{arch}/include | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
d534eb4c JB |
69 | %{arch}/include/d3d*.h |
70 | %{arch}/include/d3d*.inl | |
71 | %{arch}/include/ddraw*.h | |
72 | %{arch}/include/ddstream.h | |
73 | %{arch}/include/dinput*.h | |
74 | %{arch}/include/directx.h | |
75 | %{arch}/include/dls1.h | |
76 | %{arch}/include/dls2.h | |
77 | %{arch}/include/dmdls.h | |
78 | %{arch}/include/dmerror.h | |
79 | %{arch}/include/dmksctrl.h | |
80 | %{arch}/include/dmo*.h | |
81 | %{arch}/include/dmplugin.h | |
82 | %{arch}/include/dmus*.h | |
83 | %{arch}/include/dpaddr.h | |
84 | %{arch}/include/dplay*.h | |
85 | %{arch}/include/dplobby*.h | |
86 | %{arch}/include/dsetup.h | |
87 | %{arch}/include/dshow.h | |
88 | %{arch}/include/dshowasf.h | |
89 | %{arch}/include/dsound.h | |
90 | %{arch}/include/dv.h | |
91 | %{arch}/include/dvdevcod.h | |
92 | %{arch}/include/dvdmedia.h | |
93 | %{arch}/include/dvoice.h | |
94 | %{arch}/include/dvp.h | |
95 | %{arch}/include/dx7todx8.h | |
96 | %{arch}/include/dxerr8.h | |
97 | %{arch}/include/dxfile.h | |
98 | %{arch}/include/dxsdk.inc | |
99 | %{arch}/include/dxtrans.h | |
100 | %{arch}/include/dxva.h | |
101 | %{arch}/include/multimon.h | |
102 | %{arch}/include/rmxfguid.h | |
103 | %{arch}/include/rmxftmpl.h | |
104 | %{arch}/lib/libd3d8.a | |
105 | %{arch}/lib/libd3dx8d.a | |
106 | %{arch}/lib/libd3dxof.a | |
107 | %{arch}/lib/libddraw.a | |
108 | %{arch}/lib/libdinput.a | |
109 | %{arch}/lib/libdinput8.a | |
110 | %{arch}/lib/libdplayx.a | |
111 | %{arch}/lib/libdpnaddr.a | |
112 | %{arch}/lib/libdpnet.a | |
113 | %{arch}/lib/libdpnlobby.a | |
114 | %{arch}/lib/libdpvoice.a | |
115 | %{arch}/lib/libdsetup.a | |
116 | %{arch}/lib/libdsound.a | |
117 | %{arch}/lib/libdxguid.a |