]> git.pld-linux.org Git - packages/crossmingw32ce-binutils.git/blame - crossmingw32ce-binutils.spec
- updated gettext BR
[packages/crossmingw32ce-binutils.git] / crossmingw32ce-binutils.spec
CommitLineData
6f6931c6 1Summary: Cross Mingw32CE GNU binary utility development utilities - binutils
e4d77882
ER
2Summary(es.UTF-8): Utilitarios para desarrollo de binarios de la GNU - Mingw32CE binutils
3Summary(fr.UTF-8): Utilitaires de développement binaire de GNU - Mingw32CE binutils
4Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla Mingw32CE - binutils
5Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - Mingw32CE binutils
6Summary(tr.UTF-8): GNU geliştirme araçları - Mingw32CE binutils
d630396d 7Name: crossmingw32ce-binutils
081cad52
ER
8Version: 2.17.50
9Release: 0.1
d630396d
ER
10License: GPL
11Group: Development/Tools
081cad52
ER
12#Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
13# https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk/cegcc/src/binutils
14Source0: binutils-20070226.907.tar.bz2
15# Source0-md5: cf3b51a289913f1e2052dc5165fe8f60
d630396d
ER
16URL: http://sources.redhat.com/binutils/
17BuildRequires: automake
18BuildRequires: bash
19BuildRequires: bison
20BuildRequires: flex
40e95b3b 21BuildRequires: gettext-tools
d630396d
ER
22# not necessary unless we patch .texi docs; but they are not packaged here anyway
23#BuildRequires: texinfo >= 4.2
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
081cad52 26%define target arm-wince-mingw32ce
d630396d
ER
27%define arch %{_prefix}/%{target}
28
29%description
30crossmingw32ce is a complete cross-compiling development system for
6f6931c6
JB
31building stand-alone Microsoft Windows CE applications under Linux
32using the Mingw32CE build libraries. This includes a binutils, gcc
33with g++ and objc, and libstdc++, all cross targeted to
34i386-mingw32ce, along with supporting Win32 CE libraries in 'coff'
35format from free sources.
d630396d
ER
36
37This package contains cross targeted binutils.
38
3cff44ec
JR
39%description -l pl.UTF-8
40crossmingw32ce jest kompletnym systemem do kroskompilacji, pozwalającym
41budować aplikacje MS Windows CE pod Linuksem używając bibliotek
42mingw32ce. System składa się z binutils, gcc z g++ i objc, libstdc++ -
43wszystkie generujące kod dla platformy i386-mingw32ce, oraz z bibliotek
6f6931c6 44w formacie COFF.
d630396d 45
3cff44ec 46Ten pakiet zawiera binutils generujące skrośnie binaria dla Win32 CE.
d630396d
ER
47
48%prep
081cad52 49%setup -q -n binutils
d630396d
ER
50
51%build
52cp /usr/share/automake/config.sub .
53
54# Because of a bug in binutils-2.9.1, a cross libbfd.so* is not named
55# lib<target>bfd.so*. To prevent confusion with native binutils, we
56# forget about shared libraries right now, and do not install libbfd.a
57# [the same applies to binutils 2.10.1.0.4]
58
59# ldscripts won't be generated properly if SHELL is not bash...
60CFLAGS="%{rpmcflags}" \
61LDFLAGS="%{rpmldflags}" \
62CONFIG_SHELL="/bin/bash" \
63./configure \
64 --disable-shared \
65 --disable-nls \
66 --prefix=%{_prefix} \
67 --libdir=%{_libdir} \
68 --mandir=%{_mandir} \
69 --infodir=%{_infodir} \
70 --host=%{_target_platform} \
71 --build=%{_target_platform} \
72 --target=%{target}
73
74%{__make} all \
75 tooldir=%{_prefix}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
80%{__make} install \
81 INSTALL='$$s/install-sh -c' \
82 prefix=$RPM_BUILD_ROOT%{_prefix} \
83 mandir=$RPM_BUILD_ROOT%{_mandir} \
84 infodir=$RPM_BUILD_ROOT%{_infodir} \
85 libdir=$RPM_BUILD_ROOT%{_libdir}
86
87# remove this man page unless we cross-build for netware platform.
88# however, this should be done in Makefiles.
89rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*nlmconv.1
90
91# libiberty.a is ELF not PE
92rm -f $RPM_BUILD_ROOT%{arch}/lib/libiberty.a
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%files
98%defattr(644,root,root,755)
99%doc README
100%dir %{arch}
101%dir %{arch}/lib
102%dir %{arch}/bin
103%attr(755,root,root) %{arch}/bin/*
104%{arch}/lib/ldscripts
105%attr(755,root,root) %{_bindir}/%{target}-*
106%{_mandir}/man1/%{target}-*
This page took 0.070369 seconds and 4 git commands to generate.