]>
Commit | Line | Data |
---|---|---|
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 | |
3 | Name: crossmingw64-headers | |
4 | Version: 2.0 | |
5 | Release: 9 | |
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/stable/v2.x/mingw-w64-headers mingw64-headers | |
9 | %define _rev 5515 | |
10 | Source0: mingw64-headers.tar.xz | |
11 | # Source0-md5: 1268ff4bed4aab11c5604281f7741987 | |
12 | URL: http://mingw-w64.sourceforge.net/ | |
13 | BuildRequires: automake | |
14 | BuildRequires: subversion | |
15 | AutoReqProv: no | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _enable_debug_packages 0 | |
19 | ||
20 | %define target x86_64-w64-mingw32 | |
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 MinGW-W64 build libraries. This includes a binutils, gcc with g++ | |
27 | and objc, and libstdc++, all cross targeted to x86_64-pc-mingw32, | |
28 | along with supporting Win64 libraries in PE32+ format from free | |
29 | sources. | |
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 MinGW-W64. System składa się z binutils, gcc z g++ i objc, | |
37 | libstdc++ - wszystkie generujące kod dla platformy x86_64-pc-mingw32, | |
38 | oraz z bibliotek w formacie PE32+. | |
39 | ||
40 | Ten pakiet zawiera pliki nagłówkowe dla Win64. | |
41 | ||
42 | %prep | |
43 | %setup -q -n mingw64-headers | |
44 | svn upgrade | |
45 | if [ "`svnversion -n`" != "%{_rev}" ]; then | |
46 | exit 1 | |
47 | fi | |
48 | cp -p include/ChangeLog ChangeLog.headers | |
49 | cp -p direct-x/ChangeLog ChangeLog.direct-x-headers | |
50 | ||
51 | %build | |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %{__automake} | |
55 | ./configure \ | |
56 | --prefix=%{_prefix} \ | |
57 | --build=%{_target_platform} \ | |
58 | --host=%{target} \ | |
59 | --enable-sdk=all | |
60 | ||
61 | %{__make} | |
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) | |
74 | %doc ChangeLog ChangeLog.direct-x-headers ChangeLog.headers | |
75 | %{arch}/include |