]> git.pld-linux.org Git - packages/crossmingw64-binutils.git/blame - crossmingw64-binutils.spec
- updated gettext BR
[packages/crossmingw64-binutils.git] / crossmingw64-binutils.spec
CommitLineData
4be5a36a 1Summary: Cross Mingw64 GNU binary utility development utilities - binutils
fde3b73b
ER
2Summary(es.UTF-8): Utilitarios para desarrollo de binarios de la GNU - Mingw64 binutils
3Summary(fr.UTF-8): Utilitaires de développement binaire de GNU - Mingw64 binutils
4Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla Mingw64 - binutils
5Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - Mingw64 binutils
6Summary(tr.UTF-8): GNU geliştirme araçları - Mingw64 binutils
4be5a36a 7Name: crossmingw64-binutils
ad1482d7 8Version: 2.23.51.0.8
d4012efb 9Release: 1
acdaca36 10License: GPL v3+
4be5a36a 11Group: Development/Tools
fea334d0 12Source0: http://www.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
ad1482d7 13# Source0-md5: 52db235c4e05928827a37ae1e8213bc7
4be5a36a
PS
14URL: http://sources.redhat.com/binutils/
15BuildRequires: automake
16BuildRequires: bash
17BuildRequires: bison
18BuildRequires: flex
1208bb3c 19BuildRequires: gettext-tools
ad60f287 20BuildRequires: zlib-devel
4be5a36a
PS
21# not necessary unless we patch .texi docs; but they are not packaged here anyway
22#BuildRequires: texinfo >= 4.2
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
5649cd08 25%define target x86_64-w64-mingw32
4be5a36a
PS
26%define arch %{_prefix}/%{target}
27
28%description
29crossmingw64 is a complete cross-compiling development system for
30building stand-alone Microsoft Windows applications under Linux using
31the Mingw64 build libraries. This includes a binutils, gcc with g++
6a72769a 32and objc, and libstdc++, all cross targeted to x86_64-mingw32, along
aa145bb6 33with supporting Win64 libraries in 'coff' format from free sources.
4be5a36a
PS
34
35This package contains cross targeted binutils.
36
199293ba
JR
37%description -l pl.UTF-8
38crossmingw64 jest kompletnym systemem do kroskompilacji, pozwalającym
39budować aplikacje MS Windows pod Linuksem używając bibliotek mingw64.
40System składa się z binutils, gcc z g++ i objc, libstdc++ - wszystkie
6a72769a 41generujące kod dla platformy x86_64-mingw32, oraz z bibliotek w formacie
4be5a36a
PS
42COFF.
43
199293ba 44Ten pakiet zawiera binutils generujące skrośnie binaria dla Win64.
4be5a36a
PS
45
46%prep
47%setup -q -n binutils-%{version}
4be5a36a
PS
48
49%build
4be5a36a
PS
50# ldscripts won't be generated properly if SHELL is not bash...
51CFLAGS="%{rpmcflags}" \
52LDFLAGS="%{rpmldflags}" \
53CONFIG_SHELL="/bin/bash" \
54./configure \
55 --disable-shared \
56 --disable-nls \
57 --prefix=%{_prefix} \
58 --libdir=%{_libdir} \
f680cc16 59 --libexecdir=%{_libdir} \
4be5a36a
PS
60 --mandir=%{_mandir} \
61 --infodir=%{_infodir} \
88c638fd 62 --with-sysroot=%{arch} \
4be5a36a
PS
63 --host=%{_target_platform} \
64 --build=%{_target_platform} \
65 --target=%{target}
66
f680cc16 67%{__make} all
4be5a36a
PS
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
72%{__make} install \
f680cc16 73 DESTDIR=$RPM_BUILD_ROOT
4be5a36a
PS
74
75# remove this man page unless we cross-build for netware platform.
76# however, this should be done in Makefiles.
88c638fd 77rm $RPM_BUILD_ROOT%{_mandir}/man1/*nlmconv.1
4be5a36a
PS
78
79# libiberty.a is ELF not PE
88c638fd 80rm $RPM_BUILD_ROOT%{_libdir}/libiberty.a
4be5a36a
PS
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
87%doc README
88%dir %{arch}
89%dir %{arch}/lib
90%dir %{arch}/bin
91%attr(755,root,root) %{arch}/bin/*
92%{arch}/lib/ldscripts
93%attr(755,root,root) %{_bindir}/%{target}-*
94%{_mandir}/man1/%{target}-*
This page took 0.138693 seconds and 4 git commands to generate.