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