|
|
0413734 |
%define target avr
|
|
|
0413734 |
|
|
|
0413734 |
Name: %{target}-binutils
|
|
|
74a08b6 |
Version: 2.18
|
|
|
92d2ea6 |
Release: 4%{?dist}
|
|
|
0413734 |
Summary: Cross Compiling GNU binutils targeted at %{target}
|
|
|
0413734 |
Group: Development/Tools
|
|
|
6ce68d1 |
License: GPLv2+
|
|
|
0413734 |
URL: http://www.gnu.org/software/binutils/
|
|
|
0413734 |
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{version}.tar.bz2
|
|
|
0413734 |
Source1: README.fedora
|
|
|
ada9984 |
Patch0: binutils-2.16.1-open.patch
|
|
|
e4137a9 |
Patch1: binutils-2.17-makeinfo-version-check.patch
|
|
|
74a08b6 |
Patch2: patch-newdevices.patch
|
|
|
74a08b6 |
Patch3: patch-newsections.patch
|
|
|
74a08b6 |
Patch4: patch-coff-avr.patch
|
|
|
0413734 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
|
|
|
6a4beed |
BuildRequires: gawk texinfo
|
|
|
0413734 |
|
|
|
0413734 |
%description
|
|
|
0413734 |
This is a Cross Compiling version of GNU binutils, which can be used to
|
|
|
0413734 |
assemble and link binaries for the %{target} platform, instead of for the
|
|
|
0413734 |
native %{_arch} platform.
|
|
|
0413734 |
|
|
|
0413734 |
|
|
|
0413734 |
%prep
|
|
|
0413734 |
%setup -q -c
|
|
|
ada9984 |
pushd binutils-%{version}
|
|
|
ada9984 |
%patch0 -p1 -z .open
|
|
|
e4137a9 |
%patch1 -p1
|
|
|
74a08b6 |
%patch2 -p0
|
|
|
74a08b6 |
%patch3 -p0
|
|
|
74a08b6 |
%patch4 -p0
|
|
|
ada9984 |
popd
|
|
|
0413734 |
cp %{SOURCE1} .
|
|
|
0413734 |
|
|
|
0413734 |
|
|
|
0413734 |
%build
|
|
|
0413734 |
mkdir -p build
|
|
|
0413734 |
pushd build
|
|
|
0413734 |
CFLAGS="$RPM_OPT_FLAGS" ../binutils-%{version}/configure --prefix=%{_prefix} \
|
|
|
0413734 |
--libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \
|
|
|
0413734 |
--target=%{target} --disable-werror --disable-nls
|
|
|
0413734 |
make %{?_smp_mflags}
|
|
|
0413734 |
popd build
|
|
|
0413734 |
|
|
|
0413734 |
|
|
|
0413734 |
%install
|
|
|
0413734 |
rm -rf $RPM_BUILD_ROOT
|
|
|
0413734 |
pushd build
|
|
|
0413734 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
0413734 |
popd build
|
|
|
0413734 |
# these are for win targets only
|
|
|
0413734 |
rm $RPM_BUILD_ROOT%{_mandir}/man1/%{target}-{dlltool,nlmconv,windres}.1
|
|
|
0413734 |
# we don't want these as we are a cross version
|
|
|
0413734 |
rm -r $RPM_BUILD_ROOT%{_infodir}
|
|
|
0413734 |
rm $RPM_BUILD_ROOT%{_libdir}/libiberty.a
|
|
|
0413734 |
|
|
|
0413734 |
|
|
|
0413734 |
%clean
|
|
|
0413734 |
rm -rf $RPM_BUILD_ROOT
|
|
|
0413734 |
|
|
|
0413734 |
|
|
|
0413734 |
%files
|
|
|
0413734 |
%defattr(-,root,root,-)
|
|
|
0413734 |
%doc binutils-%{version}/COPYING binutils-%{version}/COPYING.LIB
|
|
|
0413734 |
%doc binutils-%{version}/README README.fedora
|
|
|
0413734 |
%{_prefix}/%{target}
|
|
|
0413734 |
%{_bindir}/%{target}-*
|
|
|
0413734 |
%{_mandir}/man1/%{target}-*.1.gz
|
|
|
0413734 |
|
|
|
0413734 |
|
|
|
0413734 |
%changelog
|
|
|
92d2ea6 |
* Sat Feb 28 2009 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 2.18-4
|
|
|
92d2ea6 |
- Rebase patch-coff-avr.patch (Fix F11 rebuild breakdown).
|
|
|
92d2ea6 |
|
|
|
fb15f50 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-3
|
|
|
fb15f50 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
fb15f50 |
|
|
|
2fc8727 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.18-2
|
|
|
2fc8727 |
- Autorebuild for GCC 4.3
|
|
|
2fc8727 |
|
|
|
74a08b6 |
* Thu Jan 24 2008 John Voltz <ninevoltz@metalink.net> 2.18-1
|
|
|
74a08b6 |
- Bump to binutils 2.18 and add coff-avr patch for VMLAB (on Wine)
|
|
|
74a08b6 |
|
|
|
e4137a9 |
* Sun Dec 2 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.17-5
|
|
|
e4137a9 |
- Fix building with texinfo version > 4.9 (4.11 for example)
|
|
|
e4137a9 |
|
|
|
ada9984 |
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.17-4
|
|
|
6ce68d1 |
- Update License tag for new Licensing Guidelines compliance
|
|
|
ada9984 |
- Fix building with new glibc open checking
|
|
|
6ce68d1 |
|
|
|
0413734 |
* Sat Apr 7 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.17-3
|
|
|
0413734 |
- Use mkdir -p instead of mkdir, to fix rpmbuild --short-circuit (bz 234750)
|
|
|
0413734 |
|
|
|
0413734 |
* Fri Apr 6 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.17-2
|
|
|
0413734 |
- Several specfile improvements / fixes (bz 234750)
|
|
|
0413734 |
|
|
|
0413734 |
* Sun Apr 1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.17-1
|
|
|
0413734 |
- Revert to GNU 2.17 release as using GNU releases are better for non linux
|
|
|
0413734 |
targets
|
|
|
0413734 |
- Add --disable-nls, to disable translations, so that we don't use the native
|
|
|
0413734 |
PO files, as using the PO files of the (different version) native binutils,
|
|
|
0413734 |
can lead to all kinda problems when translating formatstrings.
|
|
|
0413734 |
- Don't use %%configure but DIY, to avoid unwanted side effects of %%configure
|
|
|
0413734 |
|
|
|
0413734 |
* Sun Apr 1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.17.50.0.12-1
|
|
|
0413734 |
- Bump to 2.17.50.0.12, to sync with rawhide / Fedora 7
|
|
|
0413734 |
- "Dynamicly Generate" README.fedora so that macros can be used
|
|
|
0413734 |
|
|
|
0413734 |
* Thu Mar 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.17.50.0.9-1
|
|
|
0413734 |
- Bump to 2.17.50.0.9
|
|
|
0413734 |
- Use %%configure instead of ./configure
|
|
|
0413734 |
- Various fixups
|
|
|
0413734 |
|
|
|
0413734 |
* Wed Mar 28 2007 Koos Termeulen koostermeulen@gmail.com 2.17-1
|
|
|
0413734 |
- New version and some changes after unofficial review by Hans de Goede
|
|
|
0413734 |
|
|
|
0413734 |
* Wed Mar 21 2007 Koos Termeulen koostermeulen@gmail.com 2.16.1-1
|
|
|
0413734 |
- Initial release
|