]>
Commit | Line | Data |
---|---|---|
18d0de13 JB |
1 | Summary: Cross MinGW-W64 GNU development utilities - headers |
2 | Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla MinGW-W64 - pliki nagłówkowe | |
93245430 | 3 | Name: crossmingw64-headers |
f686ae86 | 4 | Version: 2.0 |
005ab58c | 5 | Release: 10 |
93245430 PS |
6 | License: ZPL v2.1 with parts on Public Domain, BSD and LGPL. |
7 | Group: Development/Tools | |
f686ae86 | 8 | # svn co https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/stable/v2.x/mingw-w64-headers mingw64-headers |
de114dec | 9 | %define _rev 5515 |
37a2cc10 | 10 | Source0: mingw64-headers.tar.xz |
de114dec | 11 | # Source0-md5: 1268ff4bed4aab11c5604281f7741987 |
005ab58c | 12 | Patch0: %{name}-stddef-max_align_t.patch |
93245430 PS |
13 | URL: http://mingw-w64.sourceforge.net/ |
14 | BuildRequires: automake | |
e9f4217b | 15 | BuildRequires: subversion |
9b07c7b1 | 16 | AutoReqProv: no |
93245430 PS |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
9b07c7b1 PS |
19 | %define _enable_debug_packages 0 |
20 | ||
18d0de13 | 21 | %define target x86_64-w64-mingw32 |
93245430 PS |
22 | %define arch %{_prefix}/%{target} |
23 | ||
24 | %description | |
25 | crossmingw64 is a complete cross-compiling development system for | |
26 | building stand-alone Microsoft Windows applications under Linux using | |
18d0de13 | 27 | the MinGW-W64 build libraries. This includes a binutils, gcc with g++ |
93245430 | 28 | and objc, and libstdc++, all cross targeted to x86_64-pc-mingw32, |
9b07c7b1 PS |
29 | along with supporting Win64 libraries in PE32+ format from free |
30 | sources. | |
93245430 PS |
31 | |
32 | This package contains cross targeted headers for Win64. | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | crossmingw64 jest kompletnym systemem do skrośnej kompilacji, | |
36 | pozwalającym budować aplikacje MS Windows pod Linuksem używając | |
18d0de13 | 37 | bibliotek MinGW-W64. System składa się z binutils, gcc z g++ i objc, |
93245430 | 38 | libstdc++ - wszystkie generujące kod dla platformy x86_64-pc-mingw32, |
9b07c7b1 | 39 | oraz z bibliotek w formacie PE32+. |
93245430 PS |
40 | |
41 | Ten pakiet zawiera pliki nagłówkowe dla Win64. | |
42 | ||
43 | %prep | |
44 | %setup -q -n mingw64-headers | |
7b565c77 | 45 | svn upgrade |
93245430 PS |
46 | if [ "`svnversion -n`" != "%{_rev}" ]; then |
47 | exit 1 | |
48 | fi | |
005ab58c | 49 | %patch0 -p1 |
74240a9a JB |
50 | cp -p include/ChangeLog ChangeLog.headers |
51 | cp -p direct-x/ChangeLog ChangeLog.direct-x-headers | |
93245430 PS |
52 | |
53 | %build | |
d3f9ce4d JR |
54 | %{__aclocal} |
55 | %{__autoconf} | |
56 | %{__automake} | |
93245430 PS |
57 | ./configure \ |
58 | --prefix=%{_prefix} \ | |
59 | --build=%{_target_platform} \ | |
60 | --host=%{target} \ | |
f686ae86 | 61 | --enable-sdk=all |
93245430 | 62 | |
9b07c7b1 | 63 | %{__make} |
93245430 PS |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
9b07c7b1 | 76 | %doc ChangeLog ChangeLog.direct-x-headers ChangeLog.headers |
93245430 | 77 | %{arch}/include |