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