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