]> git.pld-linux.org Git - packages/crossmingw64-headers.git/blame - crossmingw64-headers.spec
- BR: subversion for 'svnversion' in %%prep.
[packages/crossmingw64-headers.git] / crossmingw64-headers.spec
CommitLineData
93245430
PS
1Summary: Cross Mingw64 GNU development utilities - headers
2Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla Mingw64 - pliki nagłowkowe
3Name: crossmingw64-headers
4Version: 1.0
37a2cc10 5Release: 2
93245430
PS
6License: ZPL v2.1 with parts on Public Domain, BSD and LGPL.
7Group: Development/Tools
8# svn co https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/branches/releases/v1.0/mingw-w64-headers mingw64-headers
37a2cc10
PS
9%define _rev 4121
10Source0: mingw64-headers.tar.xz
11# Source0-md5: 42973598fe4b8fbe86f062967e591a91
93245430
PS
12URL: http://mingw-w64.sourceforge.net/
13BuildRequires: automake
e9f4217b 14BuildRequires: subversion
9b07c7b1 15AutoReqProv: no
93245430
PS
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
9b07c7b1
PS
18%define _enable_debug_packages 0
19
93245430
PS
20%define target x86_64-pc-mingw32
21%define arch %{_prefix}/%{target}
22
23%description
24crossmingw64 is a complete cross-compiling development system for
25building stand-alone Microsoft Windows applications under Linux using
26the Mingw64 build libraries. This includes a binutils, gcc with g++
27and objc, and libstdc++, all cross targeted to x86_64-pc-mingw32,
9b07c7b1
PS
28along with supporting Win64 libraries in PE32+ format from free
29sources.
93245430
PS
30
31This package contains cross targeted headers for Win64.
32
33%description -l pl.UTF-8
34crossmingw64 jest kompletnym systemem do skrośnej kompilacji,
35pozwalającym budować aplikacje MS Windows pod Linuksem używając
36bibliotek mingw64. System składa się z binutils, gcc z g++ i objc,
37libstdc++ - wszystkie generujące kod dla platformy x86_64-pc-mingw32,
9b07c7b1 38oraz z bibliotek w formacie PE32+.
93245430
PS
39
40Ten pakiet zawiera pliki nagłówkowe dla Win64.
41
42%prep
43%setup -q -n mingw64-headers
44if [ "`svnversion -n`" != "%{_rev}" ]; then
45 exit 1
46fi
9b07c7b1
PS
47cp include/ChangeLog ChangeLog.headers
48cp direct-x/ChangeLog ChangeLog.direct-x-headers
93245430
PS
49
50%build
51./configure \
52 --prefix=%{_prefix} \
53 --build=%{_target_platform} \
54 --host=%{target} \
55 --with-sdk=all
56
9b07c7b1 57%{__make}
93245430
PS
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
9b07c7b1 70%doc ChangeLog ChangeLog.direct-x-headers ChangeLog.headers
93245430 71%{arch}/include
This page took 0.138925 seconds and 4 git commands to generate.