]> git.pld-linux.org Git - packages/crossmingw32-dx70.git/blob - crossmingw32-dx70.spec
51767acd45c51788108fb50de7d89eabac9fc303
[packages/crossmingw32-dx70.git] / crossmingw32-dx70.spec
1 Summary:        Mingw32 GNU binary utility development utilities - DirectX 7.0 API
2 Summary(pl.UTF-8):      Skrośne narzędzia programistyczne GNU dla Mingw32 - API DirectX 7.0
3 Name:           crossmingw32-dx70
4 Version:        7.0
5 Release:        4
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://alleg.sourceforge.net/files/dx70_mgw.zip
12 # Source0-md5:  8a57b4c81a296d75f75d7a9810ae59a0
13 Source1:        http://www.libsdl.org/extras/win32/common/directx-devel.tar.gz
14 # Source1-md5:  389a36e4d209c0a76bea7d7cb6315315
15 URL:            http://www.mingw.org/
16 BuildRequires:  unzip
17 Requires:       crossmingw32-runtime
18 Provides:       crossmingw32-dx = 7.0
19 Obsoletes:      crossmingw32-dx
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         target          i386-mingw32
23 %define         target_platform i386-pc-mingw32
24 %define         arch            %{_prefix}/%{target}
25
26 %define         __unzip         unzip -q -o
27 # strip fails on static COFF files
28 %define         no_install_post_strip 1
29
30 %description
31 crossmingw32 is a complete cross-compiling development system for
32 building stand-alone Microsoft Windows applications under Linux using
33 the Mingw32 build libraries. This includes a binutils, gcc with g++
34 and objc, and libstdc++, all cross targeted to i386-mingw32, along
35 with supporting Win32 libraries in 'coff' format from free sources.
36
37 This package contains DirectX 7.0 API includes and libraries.
38
39 %description -l pl.UTF-8
40 crossmingw32 jest kompletnym systemem do kompilacji skrośnej,
41 pozwalającym budować aplikacje MS Windows pod Linuksem używając
42 bibliotek mingw32. System składa się z binutils, gcc z g++ i objc,
43 libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz
44 z bibliotek w formacie COFF.
45
46 Ten pakiet zawiera pliki nagłówkowe i biblioteki API DirectX 7.0.
47
48 %prep
49 %setup -q -c
50 mkdir extras
51 cd extras
52 tar zxf %{SOURCE1}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{arch}/{include,lib}
57
58 mv -f lib/src/*.htm .
59 rm -rf lib/src
60 rm -rf include/src
61
62 cp -fa include/* $RPM_BUILD_ROOT%{arch}/include
63 cp -fa lib/* $RPM_BUILD_ROOT%{arch}/lib
64
65 cp extras/include/directx.h $RPM_BUILD_ROOT%{arch}/include
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc directx.htm
73 %{arch}/include/d3d*.h
74 %{arch}/include/d3d*.inl
75 %{arch}/include/ddraw.h
76 %{arch}/include/dinput*.h
77 %{arch}/include/dls1.h
78 %{arch}/include/dls2.h
79 %{arch}/include/dmdls.h
80 %{arch}/include/dmerror.h
81 %{arch}/include/dmksctrl.h
82 %{arch}/include/dmus*.h
83 %{arch}/include/dplay.h
84 %{arch}/include/dplobby.h
85 %{arch}/include/directx.h
86 %{arch}/include/dsetup.h
87 %{arch}/include/dsound.h
88 %{arch}/include/dvp.h
89 %{arch}/include/dxfile.h
90 %{arch}/include/dxsdk.inc
91 %{arch}/include/multimon.h
92 %{arch}/include/rmxfguid.h
93 %{arch}/include/rmxftmpl.h
94 %{arch}/include/rmxftmpl.x
95 %{arch}/lib/libd3dim.a
96 %{arch}/lib/libd3drm.a
97 %{arch}/lib/libd3dxof.a
98 %{arch}/lib/libddraw.a
99 %{arch}/lib/libdinput.a
100 %{arch}/lib/libdplayx.a
101 %{arch}/lib/libdsetup.a
102 %{arch}/lib/libdsound.a
103 %{arch}/lib/libdxguid.a
This page took 0.028719 seconds and 2 git commands to generate.