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