]> git.pld-linux.org Git - packages/crossmingw32-dx80.git/blob - crossmingw32-dx80.spec
c6df972f9e31a027da59216eec1ebc076cf2c517
[packages/crossmingw32-dx80.git] / crossmingw32-dx80.spec
1 Summary:        Mingw32 GNU binary utility development utilities - DirectX 8.0 API
2 Summary(pl):    Skro¶ne narzêdzia programistyczne GNU dla Mingw32 - API DirectX 8.0
3 Name:           crossmingw32-dx80
4 Version:        8.0
5 Release:        1
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/
15 Provides:       crossmingw32-w32api-dx
16 Obsoletes:      crossmingw32-w32api-dx
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
30 the Mingw32 build libraries. This includes a binutils, gcc with g++
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 8.0 API includes and libraries.
35
36 %description -l pl
37 crossmingw32 jest kompletnym systemem do kompilacji skro¶nej,
38 pozwalaj±cym budowaæ aplikacje MS Windows pod Linuksem u¿ywaj±c
39 bibliotek mingw32. System sk³ada siê z binutils, gcc z g++ i objc,
40 libstdc++ - wszystkie generuj±ce kod dla platformy i386-mingw32, oraz
41 z bibliotek w formacie COFF.
42
43 Ten pakiet zawiera pliki nag³ówkowe i biblioteki API DirectX 8.0.
44
45 %prep
46 %setup -q -c
47 mkdir extras
48 cd extras
49 tar zxf %{SOURCE1}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{arch}/{include,lib}
54
55 rm -rf lib/src
56
57 cp -fa include/* $RPM_BUILD_ROOT%{arch}/include
58 cp -fa lib/* $RPM_BUILD_ROOT%{arch}/lib
59
60 cp extras/include/directx.h $RPM_BUILD_ROOT%{arch}/include
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %{arch}/include/*
68 %{arch}/lib/*
This page took 0.042976 seconds and 2 git commands to generate.