]>
Commit | Line | Data |
---|---|---|
7cfc6460 JB |
1 | Summary: MinGW32 Binary Utility Development Utilities - runtime libraries |
2 | Summary(pl.UTF-8): Zestaw narzędzi MinGW32 - biblioteki uruchomieniowe | |
3dbe179e | 3 | Name: crossmingw32-runtime |
e79d2f92 ŁK |
4 | Version: 3.20.2 |
5 | %define runver 3.20-2 | |
02956c9f | 6 | %define runsrc mingwrt-%{runver}-mingw32 |
282e264e | 7 | Release: 1 |
3dbe179e JB |
8 | Epoch: 1 |
9 | License: Free | |
10 | Group: Development/Libraries | |
e79d2f92 ŁK |
11 | Source0: http://downloads.sourceforge.net/mingw/%{runsrc}-src.tar.lzma |
12 | # Source0-md5: 428174262d9b9c201a2180490d629b8a | |
30cdd931 | 13 | Patch0: %{name}-stdinc.patch |
3dbe179e | 14 | URL: http://www.mingw.org/ |
04a3bc3a | 15 | BuildRequires: autoconf |
22e52151 | 16 | BuildRequires: automake |
30cdd931 AF |
17 | BuildRequires: crossmingw32-binutils |
18 | BuildRequires: crossmingw32-gcc | |
19 | BuildRequires: crossmingw32-w32api | |
1213f0a0 | 20 | BuildRequires: dos2unix |
cbf4bf21 JK |
21 | Requires: crossmingw32-binutils >= 2.15.91.0.2-2 |
22 | Requires: crossmingw32-w32api >= 3.1 | |
17c488de | 23 | Obsoletes: crossmingw32-platform |
3dbe179e JB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
509ceed2 | 26 | %define target i386-mingw32 |
27 | %define target_platform i386-pc-mingw32 | |
28 | %define _prefix /usr/%{target} | |
29 | %define _libdir %{_prefix}/lib | |
3dbe179e JB |
30 | |
31 | # strip fails on static COFF files | |
32 | %define no_install_post_strip 1 | |
33 | ||
34 | %description | |
35 | crossmingw32 is a complete cross-compiling development system for | |
36 | building stand-alone Microsoft Windows applications under Linux using | |
7cfc6460 | 37 | the MinGW32 build libraries. This includes a binutils, gcc with g++ |
3dbe179e JB |
38 | and objc, and libstdc++, all cross targeted to i386-mingw32, along |
39 | with supporting Win32 libraries in 'coff' format from free sources. | |
40 | ||
41 | This package contains MinGW32 runtime includes and libraries. | |
42 | ||
93ef0e0c JR |
43 | %description -l pl.UTF-8 |
44 | crossmingw32 jest kompletnym systemem do kompilacji skrośnej, | |
45 | pozwalającym budować aplikacje MS Windows pod Linuksem używając | |
7cfc6460 | 46 | bibliotek MinGW32. System składa się z binutils, gcc z g++ i objc, |
93ef0e0c | 47 | libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz |
0708bafe | 48 | z bibliotek w formacie COFF. |
3dbe179e | 49 | |
93ef0e0c | 50 | Ten pakiet zawiera pliki nagłówkowe i biblioteki uruchomieniowe |
3dbe179e JB |
51 | MinGW32. |
52 | ||
53 | %prep | |
30cdd931 | 54 | %setup -q -n %{runsrc} |
02956c9f | 55 | dos2unix Makefile.in configure.in mkinstalldirs */Makefile.in |
cbf4bf21 | 56 | %patch0 -p1 |
30cdd931 AF |
57 | |
58 | %build | |
22e52151 | 59 | cp /usr/share/automake/config.sub . |
30cdd931 | 60 | %{__autoconf} |
30cdd931 AF |
61 | ./configure \ |
62 | --prefix=%{_prefix} \ | |
63 | --host=%{target} \ | |
64 | --build=%{_target_platform} | |
8a6fbd77 TP |
65 | %{__make} -C mingwex |
66 | %{__make} | |
3dbe179e JB |
67 | |
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
3dbe179e | 70 | |
02956c9f ŁK |
71 | # makefile expects dir before creating it |
72 | install -d $RPM_BUILD_ROOT%{_prefix}/bin | |
30cdd931 AF |
73 | %{__make} install \ |
74 | prefix=$RPM_BUILD_ROOT%{_prefix} | |
75 | ||
76 | %if %{!?debug:1}0 | |
8a6fbd77 | 77 | %{target}-strip $RPM_BUILD_ROOT%{_bindir}/*.dll |
30cdd931 AF |
78 | %{target}-strip -g $RPM_BUILD_ROOT%{_libdir}/*.a |
79 | %endif | |
3dbe179e | 80 | |
6d3ab3e5 JB |
81 | %{__rm} -r $RPM_BUILD_ROOT%{_mandir} |
82 | ||
3dbe179e JB |
83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %files | |
87 | %defattr(644,root,root,755) | |
f0cc8172 | 88 | %doc CONTRIBUTORS ChangeLog DISCLAIMER README TODO readme.txt |
c0dc01ed JB |
89 | %{_bindir}/mingwm10.dll |
90 | %{_includedir}/*.h | |
91 | %{_includedir}/sys | |
92 | %{_libdir}/CRT_*.o | |
93 | %{_libdir}/binmode.o | |
94 | %{_libdir}/crt*.o | |
95 | %{_libdir}/dllcrt*.o | |
96 | %{_libdir}/gcrt*.o | |
97 | %{_libdir}/txtmode.o | |
98 | %{_libdir}/libcoldname.a | |
99 | %{_libdir}/libcrtdll.a | |
100 | %{_libdir}/libgmon.a | |
101 | %{_libdir}/libm.a | |
102 | %{_libdir}/libmingw*.a | |
103 | %{_libdir}/libmoldname*.a | |
104 | %{_libdir}/libmsvcr*.a |