[mingw-binutils: 2/26] Initial import.

epienbro epienbro at fedoraproject.org
Tue Mar 6 16:00:58 UTC 2012


commit e3393a471856b29c99ecaa1af414cfd37672f354
Author: Richard W.M. Jones <rjones at fedoraproject.org>
Date:   Thu Nov 6 13:50:25 2008 +0000

    Initial import.

 .cvsignore            |    1 +
 import.log            |    1 +
 mingw32-binutils.spec |   87 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 4 files changed, 90 insertions(+), 0 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..29e5fa7 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+binutils-2.18.50-20080109-2-src.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..afdc46c
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+mingw32-binutils-2_18_50_20080109_2-8_fc9:HEAD:mingw32-binutils-2.18.50_20080109_2-8.fc9.src.rpm:1225979077
diff --git a/mingw32-binutils.spec b/mingw32-binutils.spec
new file mode 100644
index 0000000..0505945
--- /dev/null
+++ b/mingw32-binutils.spec
@@ -0,0 +1,87 @@
+%define binutils_version 2.18.50
+%define mingw32_binutils_version 20080109-2
+%define mingw32_binutils_rpmvers %{expand:%(echo %{mingw32_binutils_version} | tr - _)} 
+
+Name:           mingw32-binutils
+Version:        %{binutils_version}_%{mingw32_binutils_rpmvers}
+Release:        8%{?dist}
+Summary:        MinGW Windows binutils
+
+License:        GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+
+Group:          Development/Libraries
+URL:            http://www.mingw.org/
+Source0:        http://dl.sourceforge.net/sourceforge/mingw/binutils-%{binutils_version}-%{mingw32_binutils_version}-src.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  flex
+BuildRequires:  bison
+BuildRequires:  texinfo
+BuildRequires:  mingw32-filesystem >= 26
+
+Requires:       mingw32-filesystem >= 26
+
+Provides:       mingw-binutils = %{version}
+Obsoletes:      mingw-binutils < 2.18.50_20080109_2-8
+
+
+%description
+MinGW Windows binutils (utilities like 'strip', 'as', 'ld') which
+understand Windows executables and DLLs.
+
+
+%prep
+%setup -q -n binutils-%{binutils_version}
+
+
+%build
+mkdir -p build
+cd build
+CFLAGS="$RPM_OPT_FLAGS" \
+../configure \
+  --build=%_build --host=%_host \
+  --target=%{_mingw32_target} \
+  --verbose --disable-nls \
+  --without-included-gettext \
+  --disable-win32-registry \
+  --disable-werror \
+  --with-sysroot=%{_mingw32_sysroot} \
+  --prefix=%{_prefix} --bindir=%{_bindir} \
+  --includedir=%{_includedir} --libdir=%{_libdir} \
+  --mandir=%{_mandir} --infodir=%{_infodir}
+
+make all
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd build
+make DESTDIR=$RPM_BUILD_ROOT install
+
+# These files conflict with ordinary binutils.
+rm -rf $RPM_BUILD_ROOT%{_infodir}
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root)
+%{_mandir}/man1/*
+%{_bindir}/i686-pc-mingw32-*
+%{_prefix}/i686-pc-mingw32/bin
+%{_prefix}/i686-pc-mingw32/lib/ldscripts
+
+
+%changelog
+* Wed Sep 24 2008 Richard W.M. Jones <rjones at redhat.com> - 2.18.50_20080109_2-8
+- Rename mingw -> mingw32.
+- BR mingw32-filesystem >= 26.
+
+* Thu Sep  4 2008 Richard W.M. Jones <rjones at redhat.com> - 2.18.50_20080109_2-7
+- Use mingw-filesystem.
+
+* Mon Jul  7 2008 Richard W.M. Jones <rjones at redhat.com> - 2.18.50_20080109_2-5
+- Initial RPM release, largely based on earlier work from several sources.
diff --git a/sources b/sources
index e69de29..9b8004e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b03863598b784394a0de6be60eab37aa  binutils-2.18.50-20080109-2-src.tar.gz


More information about the mingw mailing list