]>
Commit | Line | Data |
---|---|---|
a7b75def | 1 | Summary: Mingw32 GNU binary utility development utilities - DirectX 8.0 API |
ef067cd0 | 2 | Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU 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 | |
14 | URL: http://www.mingw.org/ | |
2f7bd017 | 15 | BuildRequires: unzip |
cedbc633 | 16 | Requires: crossmingw32-runtime |
a7b75def | 17 | Provides: crossmingw32-w32api-dx |
18 | Obsoletes: crossmingw32-w32api-dx | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %define target i386-mingw32 | |
22 | %define target_platform i386-pc-mingw32 | |
23 | %define arch %{_prefix}/%{target} | |
24 | ||
25 | %define __unzip unzip -q -o | |
26 | # strip fails on static COFF files | |
27 | %define no_install_post_strip 1 | |
28 | ||
29 | %description | |
30 | crossmingw32 is a complete cross-compiling development system for | |
31 | building stand-alone Microsoft Windows applications under Linux using | |
32 | the Mingw32 build libraries. This includes a binutils, gcc with g++ | |
33 | and objc, and libstdc++, all cross targeted to i386-mingw32, along | |
34 | with supporting Win32 libraries in 'coff' format from free sources. | |
35 | ||
36 | This package contains DirectX 8.0 API includes and libraries. | |
37 | ||
ef067cd0 JR |
38 | %description -l pl.UTF-8 |
39 | crossmingw32 jest kompletnym systemem do kompilacji skrośnej, | |
40 | pozwalającym budować aplikacje MS Windows pod Linuksem używając | |
41 | bibliotek mingw32. System składa się z binutils, gcc z g++ i objc, | |
42 | libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz | |
a7b75def | 43 | z bibliotek w formacie COFF. |
44 | ||
ef067cd0 | 45 | Ten pakiet zawiera pliki nagłówkowe i biblioteki API DirectX 8.0. |
a7b75def | 46 | |
47 | %prep | |
48 | %setup -q -c | |
49 | mkdir extras | |
50 | cd extras | |
51 | tar zxf %{SOURCE1} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | install -d $RPM_BUILD_ROOT%{arch}/{include,lib} | |
56 | ||
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) | |
69 | %{arch}/include/* | |
70 | %{arch}/lib/* |