]> git.pld-linux.org Git - packages/crossmingw64-headers.git/blob - crossmingw64-headers.spec
- BR: subversion for 'svnversion' in %%prep.
[packages/crossmingw64-headers.git] / crossmingw64-headers.spec
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:        2
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    4121
10 Source0:        mingw64-headers.tar.xz
11 # Source0-md5:  42973598fe4b8fbe86f062967e591a91
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-pc-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 Mingw64 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 mingw64. 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 if [ "`svnversion -n`" != "%{_rev}" ]; then
45         exit 1
46 fi
47 cp include/ChangeLog ChangeLog.headers
48 cp direct-x/ChangeLog ChangeLog.direct-x-headers
49
50 %build
51 ./configure \
52         --prefix=%{_prefix} \
53         --build=%{_target_platform} \
54         --host=%{target} \
55         --with-sdk=all
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc ChangeLog ChangeLog.direct-x-headers ChangeLog.headers
71 %{arch}/include
This page took 0.055951 seconds and 3 git commands to generate.