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