[rtems-crossrpms commit] Rework.
Ralf Corsepius
ralf at rtems.org
Thu Apr 26 17:01:35 UTC 2012
Module: rtems-crossrpms
Branch: master
Commit: adab9e698c00334a9b4ebb1c332f89a9c4035230
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=adab9e698c00334a9b4ebb1c332f89a9c4035230
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Thu Apr 26 15:02:24 2012 +0200
Rework.
---
mingw32/i686/Makefile.am | 121 ++++++++++----------
mingw32/i686/Makefile.in | 101 ++++++++---------
mingw32/i686/i686-pc-mingw32-binutils-helper.spec | 25 ----
.../i686/i686-pc-mingw32-binutils-helper.spec.in | 25 ----
mingw32/i686/i686-pc-mingw32-curses-helper.spec | 26 ----
mingw32/i686/i686-pc-mingw32-curses-helper.spec.in | 26 ----
mingw32/i686/i686-pc-mingw32-expat-helper.spec | 26 ----
mingw32/i686/i686-pc-mingw32-expat-helper.spec.in | 26 ----
mingw32/i686/i686-pc-mingw32-gcc-helper.spec | 25 ----
mingw32/i686/i686-pc-mingw32-gcc-helper.spec.in | 25 ----
mingw32/i686/i686-pc-mingw32-gmp-helper.spec | 26 ----
mingw32/i686/i686-pc-mingw32-gmp-helper.spec.in | 26 ----
mingw32/i686/i686-pc-mingw32-libs-helper.spec | 25 ----
mingw32/i686/i686-pc-mingw32-libs-helper.spec.in | 25 ----
mingw32/i686/i686-pc-mingw32-mpc-helper.spec | 26 ----
mingw32/i686/i686-pc-mingw32-mpc-helper.spec.in | 26 ----
mingw32/i686/i686-pc-mingw32-mpfr-helper.spec | 26 ----
mingw32/i686/i686-pc-mingw32-mpfr-helper.spec.in | 26 ----
mingw32/i686/i686-pc-mingw32-readline-helper.spec | 26 ----
.../i686/i686-pc-mingw32-readline-helper.spec.in | 26 ----
mingw32/i686/i686-pc-mingw32-termcap-helper.spec | 26 ----
.../i686/i686-pc-mingw32-termcap-helper.spec.in | 26 ----
mingw32/i686/i686-pc-mingw32-w32api-helper.spec | 25 ----
mingw32/i686/i686-pc-mingw32-w32api-helper.spec.in | 25 ----
mingw32/i686/i686-pc-mingw32-zlib-helper.spec | 26 ----
mingw32/i686/i686-pc-mingw32-zlib-helper.spec.in | 26 ----
mingw32/i686/mingw-gmp.add | 7 +-
mingw32/i686/mingw-gmp.spec | 9 +-
mingw32/i686/mingw-gmp.spec.in | 84 ++++++++++++++
mingw32/i686/mingw-mpc.add | 5 +-
mingw32/i686/mingw-mpc.spec | 7 +-
mingw32/i686/mingw-mpc.spec.in | 88 ++++++++++++++
mingw32/i686/mingw-mpfr.add | 7 +-
mingw32/i686/mingw-mpfr.spec | 9 +-
mingw32/i686/mingw-mpfr.spec.in | 86 ++++++++++++++
mingw32/i686/mingw32-binutils-helper.spec | 45 +++++++
mingw32/i686/mingw32-binutils-helper.spec.in | 45 +++++++
mingw32/i686/mingw32-curses-helper.spec | 48 ++++++++
mingw32/i686/mingw32-curses-helper.spec.in | 48 ++++++++
mingw32/i686/mingw32-expat-helper.spec | 48 ++++++++
mingw32/i686/mingw32-expat-helper.spec.in | 48 ++++++++
mingw32/i686/mingw32-gcc-helper.spec | 45 +++++++
mingw32/i686/mingw32-gcc-helper.spec.in | 45 +++++++
mingw32/i686/mingw32-gmp-helper.spec | 48 ++++++++
mingw32/i686/mingw32-gmp-helper.spec.in | 48 ++++++++
mingw32/i686/mingw32-libs-helper.spec | 45 +++++++
mingw32/i686/mingw32-libs-helper.spec.in | 45 +++++++
mingw32/i686/mingw32-mpc-helper.spec | 48 ++++++++
mingw32/i686/mingw32-mpc-helper.spec.in | 48 ++++++++
mingw32/i686/mingw32-mpfr-helper.spec | 48 ++++++++
mingw32/i686/mingw32-mpfr-helper.spec.in | 48 ++++++++
mingw32/i686/mingw32-readline-helper.spec | 48 ++++++++
mingw32/i686/mingw32-readline-helper.spec.in | 48 ++++++++
mingw32/i686/mingw32-termcap-helper.spec | 48 ++++++++
mingw32/i686/mingw32-termcap-helper.spec.in | 48 ++++++++
mingw32/i686/mingw32-zlib-helper.spec | 48 ++++++++
mingw32/i686/mingw32-zlib-helper.spec.in | 48 ++++++++
mingw32/x86_64/Makefile.am | 119 +++++++++----------
mingw32/x86_64/Makefile.in | 99 ++++++++---------
mingw32/x86_64/mingw-gmp.add | 7 +-
mingw32/x86_64/mingw-gmp.spec | 9 +-
mingw32/x86_64/mingw-gmp.spec.in | 84 ++++++++++++++
mingw32/x86_64/mingw-mpc.add | 5 +-
mingw32/x86_64/mingw-mpc.spec | 7 +-
mingw32/x86_64/mingw-mpc.spec.in | 88 ++++++++++++++
mingw32/x86_64/mingw-mpfr.add | 7 +-
mingw32/x86_64/mingw-mpfr.spec | 9 +-
mingw32/x86_64/mingw-mpfr.spec.in | 86 ++++++++++++++
...ls-helper.spec => mingw64-binutils-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-binutils-helper.spec.in | 34 ++++++
...rses-helper.spec => mingw64-curses-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-curses-helper.spec.in | 35 ++++++
...expat-helper.spec => mingw64-expat-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-expat-helper.spec.in | 35 ++++++
...w32-gcc-helper.spec => mingw64-gcc-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-gcc-helper.spec.in | 34 ++++++
...w32-gmp-helper.spec => mingw64-gmp-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-gmp-helper.spec.in | 35 ++++++
...2-libs-helper.spec => mingw64-libs-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-libs-helper.spec.in | 34 ++++++
...w32-mpc-helper.spec => mingw64-mpc-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-mpc-helper.spec.in | 35 ++++++
...2-mpfr-helper.spec => mingw64-mpfr-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-mpfr-helper.spec.in | 35 ++++++
...ne-helper.spec => mingw64-readline-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-readline-helper.spec.in | 35 ++++++
...cap-helper.spec => mingw64-termcap-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-termcap-helper.spec.in | 35 ++++++
...2-zlib-helper.spec => mingw64-zlib-helper.spec} | 21 +++-
mingw32/x86_64/mingw64-zlib-helper.spec.in | 35 ++++++
.../x86_64-w64-mingw32-binutils-helper.spec.in | 25 ----
.../x86_64-w64-mingw32-curses-helper.spec.in | 26 ----
.../x86_64/x86_64-w64-mingw32-expat-helper.spec.in | 26 ----
.../x86_64/x86_64-w64-mingw32-gcc-helper.spec.in | 25 ----
.../x86_64/x86_64-w64-mingw32-gmp-helper.spec.in | 26 ----
.../x86_64/x86_64-w64-mingw32-libs-helper.spec.in | 25 ----
.../x86_64/x86_64-w64-mingw32-mpc-helper.spec.in | 26 ----
.../x86_64/x86_64-w64-mingw32-mpfr-helper.spec.in | 26 ----
.../x86_64-w64-mingw32-readline-helper.spec.in | 26 ----
.../x86_64-w64-mingw32-termcap-helper.spec.in | 26 ----
.../x86_64/x86_64-w64-mingw32-w32api-helper.spec | 25 ----
.../x86_64-w64-mingw32-w32api-helper.spec.in | 25 ----
.../x86_64/x86_64-w64-mingw32-zlib-helper.spec.in | 26 ----
103 files changed, 2373 insertions(+), 1271 deletions(-)
diff --git a/mingw32/i686/Makefile.am b/mingw32/i686/Makefile.am
index 630f634..17568f6 100644
--- a/mingw32/i686/Makefile.am
+++ b/mingw32/i686/Makefile.am
@@ -1,78 +1,73 @@
# $Id$
-TARGET = i686-pc-mingw32
+TARGET = i686-w64-mingw32
include $(top_srcdir)/mkspec.am
GMP_VERS = 5.0.4
-GMP_RPMREL = 0.20120423.0
+GMP_RPMREL = 0.20120426.0
include ../gmp.am
MPC_VERS = 0.8.1
-MPC_RPMREL = 0.20120423.0
+MPC_RPMREL = 0.20120426.0
include ../mpc.am
MPFR_VERS = 2.4.2
-MPFR_RPMREL = 0.20120423.0
+MPFR_RPMREL = 0.20120426.0
include ../mpfr.am
- at rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in
- $(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-binutils-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-binutils-helper.spec
-
- at rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in
- $(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-curses-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-curses-helper.spec
-
- at rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in
- $(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-expat-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-expat-helper.spec
-
- at rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in
- $(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-gcc-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-gcc-helper.spec
-
- at rpmprefix@$(TARGET)-gmp-helper.spec: $(TARGET)-gmp-helper.spec.in
- $(MKSPEC) $(TARGET)-gmp-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-gmp-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-gmp-helper.spec
-
- at rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in
- $(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-libs-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-libs-helper.spec
-
- at rpmprefix@$(TARGET)-mpc-helper.spec: $(TARGET)-mpc-helper.spec.in
- $(MKSPEC) $(TARGET)-mpc-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-mpc-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-mpc-helper.spec
-
- at rpmprefix@$(TARGET)-mpfr-helper.spec: $(TARGET)-mpfr-helper.spec.in
- $(MKSPEC) $(TARGET)-mpfr-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-mpfr-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-mpfr-helper.spec
-
- at rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in
- $(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-readline-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-readline-helper.spec
-
- at rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in
- $(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-termcap-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-termcap-helper.spec
-
- at rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in
- $(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-w32api-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-w32api-helper.spec
-
- at rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in
- $(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-zlib-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-zlib-helper.spec
+ at rpmprefix@mingw32-binutils-helper.spec: mingw32-binutils-helper.spec.in
+ $(MKSPEC) mingw32-binutils-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-binutils-helper.spec
+noinst_DATA += @rpmprefix at mingw32-binutils-helper.spec
+
+ at rpmprefix@mingw32-curses-helper.spec: mingw32-curses-helper.spec.in
+ $(MKSPEC) mingw32-curses-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-curses-helper.spec
+noinst_DATA += @rpmprefix at mingw32-curses-helper.spec
+
+ at rpmprefix@mingw32-expat-helper.spec: mingw32-expat-helper.spec.in
+ $(MKSPEC) mingw32-expat-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-expat-helper.spec
+noinst_DATA += @rpmprefix at mingw32-expat-helper.spec
+
+ at rpmprefix@mingw32-gcc-helper.spec: mingw32-gcc-helper.spec.in
+ $(MKSPEC) mingw32-gcc-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-gcc-helper.spec
+noinst_DATA += @rpmprefix at mingw32-gcc-helper.spec
+
+ at rpmprefix@mingw32-gmp-helper.spec: mingw32-gmp-helper.spec.in
+ $(MKSPEC) mingw32-gmp-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-gmp-helper.spec
+noinst_DATA += @rpmprefix at mingw32-gmp-helper.spec
+
+ at rpmprefix@mingw32-libs-helper.spec: mingw32-libs-helper.spec.in
+ $(MKSPEC) mingw32-libs-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-libs-helper.spec
+noinst_DATA += @rpmprefix at mingw32-libs-helper.spec
+
+ at rpmprefix@mingw32-mpc-helper.spec: mingw32-mpc-helper.spec.in
+ $(MKSPEC) mingw32-mpc-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-mpc-helper.spec
+noinst_DATA += @rpmprefix at mingw32-mpc-helper.spec
+
+ at rpmprefix@mingw32-mpfr-helper.spec: mingw32-mpfr-helper.spec.in
+ $(MKSPEC) mingw32-mpfr-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-mpfr-helper.spec
+noinst_DATA += @rpmprefix at mingw32-mpfr-helper.spec
+
+ at rpmprefix@mingw32-readline-helper.spec: mingw32-readline-helper.spec.in
+ $(MKSPEC) mingw32-readline-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-readline-helper.spec
+noinst_DATA += @rpmprefix at mingw32-readline-helper.spec
+
+ at rpmprefix@mingw32-termcap-helper.spec: mingw32-termcap-helper.spec.in
+ $(MKSPEC) mingw32-termcap-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-termcap-helper.spec
+noinst_DATA += @rpmprefix at mingw32-termcap-helper.spec
+
+ at rpmprefix@mingw32-zlib-helper.spec: mingw32-zlib-helper.spec.in
+ $(MKSPEC) mingw32-zlib-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-zlib-helper.spec
+noinst_DATA += @rpmprefix at mingw32-zlib-helper.spec
diff --git a/mingw32/i686/Makefile.in b/mingw32/i686/Makefile.in
index 8191d61..da418ba 100644
--- a/mingw32/i686/Makefile.in
+++ b/mingw32/i686/Makefile.in
@@ -138,34 +138,32 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-TARGET = i686-pc-mingw32
+TARGET = i686-w64-mingw32
noinst_DATA = mingw-gmp.spec mingw-mpc.spec mingw-mpfr.spec \
- @rpmprefix@$(TARGET)-binutils-helper.spec \
- @rpmprefix@$(TARGET)-curses-helper.spec \
- @rpmprefix@$(TARGET)-expat-helper.spec \
- @rpmprefix@$(TARGET)-gcc-helper.spec \
- @rpmprefix@$(TARGET)-gmp-helper.spec \
- @rpmprefix@$(TARGET)-libs-helper.spec \
- @rpmprefix@$(TARGET)-mpc-helper.spec \
- @rpmprefix@$(TARGET)-mpfr-helper.spec \
- @rpmprefix@$(TARGET)-readline-helper.spec \
- @rpmprefix@$(TARGET)-termcap-helper.spec \
- @rpmprefix@$(TARGET)-w32api-helper.spec \
- @rpmprefix@$(TARGET)-zlib-helper.spec
+ @rpmprefix at mingw32-binutils-helper.spec \
+ @rpmprefix at mingw32-curses-helper.spec \
+ @rpmprefix at mingw32-expat-helper.spec \
+ @rpmprefix at mingw32-gcc-helper.spec \
+ @rpmprefix at mingw32-gmp-helper.spec \
+ @rpmprefix at mingw32-libs-helper.spec \
+ @rpmprefix at mingw32-mpc-helper.spec \
+ @rpmprefix at mingw32-mpfr-helper.spec \
+ @rpmprefix at mingw32-readline-helper.spec \
+ @rpmprefix at mingw32-termcap-helper.spec \
+ @rpmprefix at mingw32-zlib-helper.spec
CLEANFILES = mingw-gmp.spec.in mingw-gmp.spec mingw-mpc.spec.in \
mingw-mpc.spec mingw-mpfr.spec.in mingw-mpfr.spec \
- @rpmprefix@$(TARGET)-binutils-helper.spec \
- @rpmprefix@$(TARGET)-curses-helper.spec \
- @rpmprefix@$(TARGET)-expat-helper.spec \
- @rpmprefix@$(TARGET)-gcc-helper.spec \
- @rpmprefix@$(TARGET)-gmp-helper.spec \
- @rpmprefix@$(TARGET)-libs-helper.spec \
- @rpmprefix@$(TARGET)-mpc-helper.spec \
- @rpmprefix@$(TARGET)-mpfr-helper.spec \
- @rpmprefix@$(TARGET)-readline-helper.spec \
- @rpmprefix@$(TARGET)-termcap-helper.spec \
- @rpmprefix@$(TARGET)-w32api-helper.spec \
- @rpmprefix@$(TARGET)-zlib-helper.spec
+ @rpmprefix at mingw32-binutils-helper.spec \
+ @rpmprefix at mingw32-curses-helper.spec \
+ @rpmprefix at mingw32-expat-helper.spec \
+ @rpmprefix at mingw32-gcc-helper.spec \
+ @rpmprefix at mingw32-gmp-helper.spec \
+ @rpmprefix at mingw32-libs-helper.spec \
+ @rpmprefix at mingw32-mpc-helper.spec \
+ @rpmprefix at mingw32-mpfr-helper.spec \
+ @rpmprefix at mingw32-readline-helper.spec \
+ @rpmprefix at mingw32-termcap-helper.spec \
+ @rpmprefix at mingw32-zlib-helper.spec
EXTRA_DIST = mingw-gmp.add mingw-mpc.add mingw-mpfr.add
SPECSTRIP = $(top_srcdir)/specstrip --prefix=$(prefix) $(SPECSTRIP_OPTS)
MKSPEC = sed \
@@ -181,13 +179,13 @@ MKSPEC0 = sed \
-e "s/[@]rtems_api[@]/$(rtems_api)/g"
GMP_VERS = 5.0.4
-GMP_RPMREL = 0.20120423.0
+GMP_RPMREL = 0.20120426.0
GMP_SUBPACKAGES = $(srcdir)/mingw-gmp.add
MPC_VERS = 0.8.1
-MPC_RPMREL = 0.20120423.0
+MPC_RPMREL = 0.20120426.0
MPC_SUBPACKAGES = $(srcdir)/mingw-mpc.add
MPFR_VERS = 2.4.2
-MPFR_RPMREL = 0.20120423.0
+MPFR_RPMREL = 0.20120426.0
MPFR_SUBPACKAGES = $(srcdir)/mingw-mpfr.add
all: all-am
@@ -404,41 +402,38 @@ mingw-mpfr.spec.in: $(MPFR_SUBPACKAGES) Makefile.am
mingw-mpfr.spec: mingw-mpfr.spec.in
$(MKSPEC) mingw-mpfr.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in
- $(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-binutils-helper.spec: mingw32-binutils-helper.spec.in
+ $(MKSPEC) mingw32-binutils-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in
- $(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-curses-helper.spec: mingw32-curses-helper.spec.in
+ $(MKSPEC) mingw32-curses-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in
- $(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-expat-helper.spec: mingw32-expat-helper.spec.in
+ $(MKSPEC) mingw32-expat-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in
- $(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-gcc-helper.spec: mingw32-gcc-helper.spec.in
+ $(MKSPEC) mingw32-gcc-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-gmp-helper.spec: $(TARGET)-gmp-helper.spec.in
- $(MKSPEC) $(TARGET)-gmp-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-gmp-helper.spec: mingw32-gmp-helper.spec.in
+ $(MKSPEC) mingw32-gmp-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in
- $(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-libs-helper.spec: mingw32-libs-helper.spec.in
+ $(MKSPEC) mingw32-libs-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-mpc-helper.spec: $(TARGET)-mpc-helper.spec.in
- $(MKSPEC) $(TARGET)-mpc-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-mpc-helper.spec: mingw32-mpc-helper.spec.in
+ $(MKSPEC) mingw32-mpc-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-mpfr-helper.spec: $(TARGET)-mpfr-helper.spec.in
- $(MKSPEC) $(TARGET)-mpfr-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-mpfr-helper.spec: mingw32-mpfr-helper.spec.in
+ $(MKSPEC) mingw32-mpfr-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in
- $(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-readline-helper.spec: mingw32-readline-helper.spec.in
+ $(MKSPEC) mingw32-readline-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in
- $(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-termcap-helper.spec: mingw32-termcap-helper.spec.in
+ $(MKSPEC) mingw32-termcap-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in
- $(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@
-
- at rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in
- $(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw32-zlib-helper.spec: mingw32-zlib-helper.spec.in
+ $(MKSPEC) mingw32-zlib-helper.spec.in | $(SPECSTRIP) > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/mingw32/i686/i686-pc-mingw32-binutils-helper.spec b/mingw32/i686/i686-pc-mingw32-binutils-helper.spec
deleted file mode 100644
index 2653503..0000000
--- a/mingw32/i686/i686-pc-mingw32-binutils-helper.spec
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: i686-pc-mingw32-binutils-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS binutils helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-binutils
-Requires: mingw32-binutils
-Provides: i686-pc-mingw32-binutils
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-binutils-helper.spec.in b/mingw32/i686/i686-pc-mingw32-binutils-helper.spec.in
deleted file mode 100644
index a0e96f7..0000000
--- a/mingw32/i686/i686-pc-mingw32-binutils-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -binutils-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS binutils helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-binutils
-Requires: mingw32-binutils
-Provides: @rpmprefix@@tool_target at -binutils
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-curses-helper.spec b/mingw32/i686/i686-pc-mingw32-curses-helper.spec
deleted file mode 100644
index 8b2d72d..0000000
--- a/mingw32/i686/i686-pc-mingw32-curses-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-curses-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 curses libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-pdcurses
-Requires: mingw32-pdcurses
-Provides: i686-pc-mingw32-ncurses
-Provides: i686-pc-mingw32-ncurses-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-curses-helper.spec.in b/mingw32/i686/i686-pc-mingw32-curses-helper.spec.in
deleted file mode 100644
index 3c9c047..0000000
--- a/mingw32/i686/i686-pc-mingw32-curses-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -curses-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 curses libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-pdcurses
-Requires: mingw32-pdcurses
-Provides: @rpmprefix@@tool_target at -ncurses
-Provides: @rpmprefix@@tool_target at -ncurses-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-expat-helper.spec b/mingw32/i686/i686-pc-mingw32-expat-helper.spec
deleted file mode 100644
index fd4195e..0000000
--- a/mingw32/i686/i686-pc-mingw32-expat-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-expat-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 expat libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-expat
-Requires: mingw32-expat
-Provides: i686-pc-mingw32-expat
-Provides: i686-pc-mingw32-expat-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-expat-helper.spec.in b/mingw32/i686/i686-pc-mingw32-expat-helper.spec.in
deleted file mode 100644
index 56da446..0000000
--- a/mingw32/i686/i686-pc-mingw32-expat-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -expat-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 expat libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-expat
-Requires: mingw32-expat
-Provides: @rpmprefix@@tool_target at -expat
-Provides: @rpmprefix@@tool_target at -expat-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-gcc-helper.spec b/mingw32/i686/i686-pc-mingw32-gcc-helper.spec
deleted file mode 100644
index 2027c54..0000000
--- a/mingw32/i686/i686-pc-mingw32-gcc-helper.spec
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: i686-pc-mingw32-gcc-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS gcc helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-gcc
-Requires: mingw32-gcc
-Provides: i686-pc-mingw32-gcc
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-gcc-helper.spec.in b/mingw32/i686/i686-pc-mingw32-gcc-helper.spec.in
deleted file mode 100644
index e6308b2..0000000
--- a/mingw32/i686/i686-pc-mingw32-gcc-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -gcc-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS gcc helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-gcc
-Requires: mingw32-gcc
-Provides: @rpmprefix@@tool_target at -gcc
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-gmp-helper.spec b/mingw32/i686/i686-pc-mingw32-gmp-helper.spec
deleted file mode 100644
index 7b425fb..0000000
--- a/mingw32/i686/i686-pc-mingw32-gmp-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-gmp-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 gmp libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-gmp
-Requires: mingw32-gmp
-Provides: i686-pc-mingw32-gmp
-Provides: i686-pc-mingw32-gmp-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-gmp-helper.spec.in b/mingw32/i686/i686-pc-mingw32-gmp-helper.spec.in
deleted file mode 100644
index f126b98..0000000
--- a/mingw32/i686/i686-pc-mingw32-gmp-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -gmp-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 gmp libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-gmp
-Requires: mingw32-gmp
-Provides: @rpmprefix@@tool_target at -gmp
-Provides: @rpmprefix@@tool_target at -gmp-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-libs-helper.spec b/mingw32/i686/i686-pc-mingw32-libs-helper.spec
deleted file mode 100644
index 94e87bf..0000000
--- a/mingw32/i686/i686-pc-mingw32-libs-helper.spec
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: i686-pc-mingw32-libs-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-runtime
-Requires: mingw32-runtime
-Provides: i686-pc-mingw32-libs
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-libs-helper.spec.in b/mingw32/i686/i686-pc-mingw32-libs-helper.spec.in
deleted file mode 100644
index e540131..0000000
--- a/mingw32/i686/i686-pc-mingw32-libs-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -libs-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-runtime
-Requires: mingw32-runtime
-Provides: @rpmprefix@@tool_target at -libs
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-mpc-helper.spec b/mingw32/i686/i686-pc-mingw32-mpc-helper.spec
deleted file mode 100644
index 37183f1..0000000
--- a/mingw32/i686/i686-pc-mingw32-mpc-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-mpc-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 mpc libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-mpc
-Requires: mingw32-mpc
-Provides: i686-pc-mingw32-mpc
-Provides: i686-pc-mingw32-mpc-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-mpc-helper.spec.in b/mingw32/i686/i686-pc-mingw32-mpc-helper.spec.in
deleted file mode 100644
index b6ec35e..0000000
--- a/mingw32/i686/i686-pc-mingw32-mpc-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -mpc-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 mpc libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-mpc
-Requires: mingw32-mpc
-Provides: @rpmprefix@@tool_target at -mpc
-Provides: @rpmprefix@@tool_target at -mpc-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-mpfr-helper.spec b/mingw32/i686/i686-pc-mingw32-mpfr-helper.spec
deleted file mode 100644
index dbb660a..0000000
--- a/mingw32/i686/i686-pc-mingw32-mpfr-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-mpfr-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 mpfr libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-mpfr
-Requires: mingw32-mpfr
-Provides: i686-pc-mingw32-mpfr
-Provides: i686-pc-mingw32-mpfr-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-mpfr-helper.spec.in b/mingw32/i686/i686-pc-mingw32-mpfr-helper.spec.in
deleted file mode 100644
index 8180f79..0000000
--- a/mingw32/i686/i686-pc-mingw32-mpfr-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -mpfr-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 mpfr libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-mpfr
-Requires: mingw32-mpfr
-Provides: @rpmprefix@@tool_target at -mpfr
-Provides: @rpmprefix@@tool_target at -mpfr-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-readline-helper.spec b/mingw32/i686/i686-pc-mingw32-readline-helper.spec
deleted file mode 100644
index ae1cef2..0000000
--- a/mingw32/i686/i686-pc-mingw32-readline-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-readline-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 readline libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-readline
-Requires: mingw32-readline
-Provides: i686-pc-mingw32-readline
-Provides: i686-pc-mingw32-readline-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-readline-helper.spec.in b/mingw32/i686/i686-pc-mingw32-readline-helper.spec.in
deleted file mode 100644
index b72d0d3..0000000
--- a/mingw32/i686/i686-pc-mingw32-readline-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -readline-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 readline libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-readline
-Requires: mingw32-readline
-Provides: @rpmprefix@@tool_target at -readline
-Provides: @rpmprefix@@tool_target at -readline-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-termcap-helper.spec b/mingw32/i686/i686-pc-mingw32-termcap-helper.spec
deleted file mode 100644
index 8a04320..0000000
--- a/mingw32/i686/i686-pc-mingw32-termcap-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-termcap-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 termcap libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-termcap
-Requires: mingw32-termcap
-Provides: i686-pc-mingw32-termcap
-Provides: i686-pc-mingw32-termcap-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-termcap-helper.spec.in b/mingw32/i686/i686-pc-mingw32-termcap-helper.spec.in
deleted file mode 100644
index b1d3d07..0000000
--- a/mingw32/i686/i686-pc-mingw32-termcap-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -termcap-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 termcap libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-termcap
-Requires: mingw32-termcap
-Provides: @rpmprefix@@tool_target at -termcap
-Provides: @rpmprefix@@tool_target at -termcap-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-w32api-helper.spec b/mingw32/i686/i686-pc-mingw32-w32api-helper.spec
deleted file mode 100644
index ad4235b..0000000
--- a/mingw32/i686/i686-pc-mingw32-w32api-helper.spec
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: i686-pc-mingw32-w32api-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-w32api
-Requires: mingw32-w32api
-Provides: i686-pc-mingw32-w32api
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-w32api-helper.spec.in b/mingw32/i686/i686-pc-mingw32-w32api-helper.spec.in
deleted file mode 100644
index 0a8e448..0000000
--- a/mingw32/i686/i686-pc-mingw32-w32api-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -w32api-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-w32api
-Requires: mingw32-w32api
-Provides: @rpmprefix@@tool_target at -w32api
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-zlib-helper.spec b/mingw32/i686/i686-pc-mingw32-zlib-helper.spec
deleted file mode 100644
index 861dc89..0000000
--- a/mingw32/i686/i686-pc-mingw32-zlib-helper.spec
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: i686-pc-mingw32-zlib-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 zlib libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-zlib
-Requires: mingw32-zlib
-Provides: i686-pc-mingw32-zlib
-Provides: i686-pc-mingw32-zlib-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/i686-pc-mingw32-zlib-helper.spec.in b/mingw32/i686/i686-pc-mingw32-zlib-helper.spec.in
deleted file mode 100644
index 21a6e79..0000000
--- a/mingw32/i686/i686-pc-mingw32-zlib-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -zlib-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 zlib libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw32-zlib
-Requires: mingw32-zlib
-Provides: @rpmprefix@@tool_target at -zlib
-Provides: @rpmprefix@@tool_target at -zlib-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/i686/mingw-gmp.add b/mingw32/i686/mingw-gmp.add
index 40ae1ae..9e441e9 100644
--- a/mingw32/i686/mingw-gmp.add
+++ b/mingw32/i686/mingw-gmp.add
@@ -13,18 +13,19 @@ Release: @GMP_RPMREL@%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %gmp_rpmvers
Summary: MinGW gmp Libraries
-Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.xz
+Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -42,6 +43,7 @@ BuildRequires: m4
%package -n mingw32-gmp
Summary: MinGW32 gmp libraries
+Group: Development/Tools
%description -n mingw32-gmp
%{summary}
@@ -49,6 +51,7 @@ Summary: MinGW32 gmp libraries
%if %{?mingw_build_win64}0
%package -n mingw64-gmp
Summary: MinGW64 gmp libraries
+Group: Development/Tools
%description -n mingw64-gmp
%{summary}
diff --git a/mingw32/i686/mingw-gmp.spec b/mingw32/i686/mingw-gmp.spec
index 58ad2eb..d504933 100644
--- a/mingw32/i686/mingw-gmp.spec
+++ b/mingw32/i686/mingw-gmp.spec
@@ -9,22 +9,23 @@
%define gmp_rpmvers %{expand:%(echo 5.0.4 | tr - _)}
Name: mingw-gmp
-Release: 0.20120423.0%{?dist}
+Release: 0.20120426.0%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %gmp_rpmvers
Summary: MinGW gmp Libraries
-Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.xz
+Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -42,6 +43,7 @@ BuildRequires: m4
%package -n mingw32-gmp
Summary: MinGW32 gmp libraries
+Group: Development/Tools
%description -n mingw32-gmp
%{summary}
@@ -49,6 +51,7 @@ Summary: MinGW32 gmp libraries
%if %{?mingw_build_win64}0
%package -n mingw64-gmp
Summary: MinGW64 gmp libraries
+Group: Development/Tools
%description -n mingw64-gmp
%{summary}
diff --git a/mingw32/i686/mingw-gmp.spec.in b/mingw32/i686/mingw-gmp.spec.in
new file mode 100644
index 0000000..d504933
--- /dev/null
+++ b/mingw32/i686/mingw-gmp.spec.in
@@ -0,0 +1,84 @@
+#
+# Please send bugfixes or comments to
+# http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define gmp_version 5.0.4
+%define gmp_rpmvers %{expand:%(echo 5.0.4 | tr - _)}
+
+Name: mingw-gmp
+Release: 0.20120426.0%{?dist}
+License: GPL
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version: %gmp_rpmvers
+Summary: MinGW gmp Libraries
+
+Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.%{?el5:bz2}%{!?el5:xz}
+
+BuildRequires: mingw32-filesystem
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+
+%if 0%{?fedora} >= 17
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-binutils
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip %{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires: m4
+
+%description
+%{summary}
+
+%package -n mingw32-gmp
+Summary: MinGW32 gmp libraries
+Group: Development/Tools
+
+%description -n mingw32-gmp
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package -n mingw64-gmp
+Summary: MinGW64 gmp libraries
+Group: Development/Tools
+
+%description -n mingw64-gmp
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n gmp-%{gmp_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-gmp
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-gmp
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/i686/mingw-mpc.add b/mingw32/i686/mingw-mpc.add
index 98b0f7e..446d552 100644
--- a/mingw32/i686/mingw-mpc.add
+++ b/mingw32/i686/mingw-mpc.add
@@ -13,6 +13,7 @@ Release: @MPC_RPMREL@%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpc_rpmvers
@@ -26,7 +27,7 @@ BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
BuildRequires: mingw32-mpfr
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -46,6 +47,7 @@ BuildRequires: m4
%package -n mingw32-mpc
Summary: MinGW32 mpc libraries
+Group: Development/Tools
%description -n mingw32-mpc
%{summary}
@@ -53,6 +55,7 @@ Summary: MinGW32 mpc libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpc
Summary: MinGW64 mpc libraries
+Group: Development/Tools
%description -n mingw64-mpc
%{summary}
diff --git a/mingw32/i686/mingw-mpc.spec b/mingw32/i686/mingw-mpc.spec
index f5f1f1d..e1b4191 100644
--- a/mingw32/i686/mingw-mpc.spec
+++ b/mingw32/i686/mingw-mpc.spec
@@ -9,10 +9,11 @@
%define mpc_rpmvers %{expand:%(echo 0.8.1 | tr - _)}
Name: mingw-mpc
-Release: 0.20120423.0%{?dist}
+Release: 0.20120426.0%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpc_rpmvers
@@ -26,7 +27,7 @@ BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
BuildRequires: mingw32-mpfr
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -46,6 +47,7 @@ BuildRequires: m4
%package -n mingw32-mpc
Summary: MinGW32 mpc libraries
+Group: Development/Tools
%description -n mingw32-mpc
%{summary}
@@ -53,6 +55,7 @@ Summary: MinGW32 mpc libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpc
Summary: MinGW64 mpc libraries
+Group: Development/Tools
%description -n mingw64-mpc
%{summary}
diff --git a/mingw32/i686/mingw-mpc.spec.in b/mingw32/i686/mingw-mpc.spec.in
new file mode 100644
index 0000000..e1b4191
--- /dev/null
+++ b/mingw32/i686/mingw-mpc.spec.in
@@ -0,0 +1,88 @@
+#
+# Please send bugfixes or comments to
+# http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define mpc_version 0.8.1
+%define mpc_rpmvers %{expand:%(echo 0.8.1 | tr - _)}
+
+Name: mingw-mpc
+Release: 0.20120426.0%{?dist}
+License: GPL
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version: %mpc_rpmvers
+Summary: MinGW mpc Libraries
+
+Source0: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
+
+BuildRequires: mingw32-filesystem
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+BuildRequires: mingw32-gmp
+BuildRequires: mingw32-mpfr
+
+%if 0%{?fedora} >= 17
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-binutils
+BuildRequires: mingw64-gmp
+BuildRequires: mingw64-mpfr
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip %{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires: m4
+
+%description
+%{summary}
+
+%package -n mingw32-mpc
+Summary: MinGW32 mpc libraries
+Group: Development/Tools
+
+%description -n mingw32-mpc
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package -n mingw64-mpc
+Summary: MinGW64 mpc libraries
+Group: Development/Tools
+
+%description -n mingw64-mpc
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n mpc-%{mpc_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-mpc
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-mpc
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/i686/mingw-mpfr.add b/mingw32/i686/mingw-mpfr.add
index 5059ac3..aaedf7d 100644
--- a/mingw32/i686/mingw-mpfr.add
+++ b/mingw32/i686/mingw-mpfr.add
@@ -13,19 +13,20 @@ Release: @MPFR_RPMREL@%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpfr_rpmvers
Summary: MinGW mpfr Libraries
-Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.xz
+Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -44,6 +45,7 @@ BuildRequires: m4
%package -n mingw32-mpfr
Summary: MinGW32 mpfr libraries
+Group: Development/Tools
%description -n mingw32-mpfr
%{summary}
@@ -51,6 +53,7 @@ Summary: MinGW32 mpfr libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpfr
Summary: MinGW64 mpfr libraries
+Group: Development/Tools
%description -n mingw64-mpfr
%{summary}
diff --git a/mingw32/i686/mingw-mpfr.spec b/mingw32/i686/mingw-mpfr.spec
index bb9dd78..faeea4f 100644
--- a/mingw32/i686/mingw-mpfr.spec
+++ b/mingw32/i686/mingw-mpfr.spec
@@ -9,23 +9,24 @@
%define mpfr_rpmvers %{expand:%(echo 2.4.2 | tr - _)}
Name: mingw-mpfr
-Release: 0.20120423.0%{?dist}
+Release: 0.20120426.0%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpfr_rpmvers
Summary: MinGW mpfr Libraries
-Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.xz
+Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -44,6 +45,7 @@ BuildRequires: m4
%package -n mingw32-mpfr
Summary: MinGW32 mpfr libraries
+Group: Development/Tools
%description -n mingw32-mpfr
%{summary}
@@ -51,6 +53,7 @@ Summary: MinGW32 mpfr libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpfr
Summary: MinGW64 mpfr libraries
+Group: Development/Tools
%description -n mingw64-mpfr
%{summary}
diff --git a/mingw32/i686/mingw-mpfr.spec.in b/mingw32/i686/mingw-mpfr.spec.in
new file mode 100644
index 0000000..faeea4f
--- /dev/null
+++ b/mingw32/i686/mingw-mpfr.spec.in
@@ -0,0 +1,86 @@
+#
+# Please send bugfixes or comments to
+# http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define mpfr_version 2.4.2
+%define mpfr_rpmvers %{expand:%(echo 2.4.2 | tr - _)}
+
+Name: mingw-mpfr
+Release: 0.20120426.0%{?dist}
+License: GPL
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version: %mpfr_rpmvers
+Summary: MinGW mpfr Libraries
+
+Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.%{?el5:bz2}%{!?el5:xz}
+
+BuildRequires: mingw32-filesystem
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+BuildRequires: mingw32-gmp
+
+%if 0%{?fedora} >= 17
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-binutils
+BuildRequires: mingw64-gmp
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip %{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires: m4
+
+%description
+%{summary}
+
+%package -n mingw32-mpfr
+Summary: MinGW32 mpfr libraries
+Group: Development/Tools
+
+%description -n mingw32-mpfr
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package -n mingw64-mpfr
+Summary: MinGW64 mpfr libraries
+Group: Development/Tools
+
+%description -n mingw64-mpfr
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n mpfr-%{mpfr_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-mpfr
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-mpfr
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/i686/mingw32-binutils-helper.spec b/mingw32/i686/mingw32-binutils-helper.spec
new file mode 100644
index 0000000..c99bf55
--- /dev/null
+++ b/mingw32/i686/mingw32-binutils-helper.spec
@@ -0,0 +1,45 @@
+Name: mingw32-binutils-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw binutils helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-binutils
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-binutils-helper
+%else
+%global pkgname i686-pc-mingw32-binutils-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 binutils helper
+Group: Development
+Requires: mingw32-binutils
+Provides: i686-pc-mingw32-binutils
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-binutils
+Obsoletes: i686-pc-mingw32-binutils
+Provides: i686-pc-mingw32-binutils-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-binutils-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-binutils-helper.spec.in b/mingw32/i686/mingw32-binutils-helper.spec.in
new file mode 100644
index 0000000..85a493e
--- /dev/null
+++ b/mingw32/i686/mingw32-binutils-helper.spec.in
@@ -0,0 +1,45 @@
+Name: mingw32-binutils-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw binutils helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-binutils
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -binutils-helper
+%else
+%global pkgname i686-pc-mingw32-binutils-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 binutils helper
+Group: Development
+Requires: mingw32-binutils
+Provides: i686-pc-mingw32-binutils
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -binutils
+Obsoletes: i686-pc-mingw32-binutils
+Provides: i686-pc-mingw32-binutils-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-binutils-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-curses-helper.spec b/mingw32/i686/mingw32-curses-helper.spec
new file mode 100644
index 0000000..915d344
--- /dev/null
+++ b/mingw32/i686/mingw32-curses-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-curses-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw curses helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-pdcurses
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-curses-helper
+%else
+%global pkgname i686-pc-mingw32-curses-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 curses helper
+Group: Development
+Requires: mingw32-pdcurses
+Provides: i686-pc-mingw32-ncurses
+Provides: i686-pc-mingw32-ncurses-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-ncurses
+Obsoletes: i686-pc-mingw32-ncurses
+Provides: i686-w64-mingw32-ncurses-devel
+Obsoletes: i686-pc-mingw32-ncurses-devel
+Provides: i686-pc-mingw32-curses-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-curses-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-curses-helper.spec.in b/mingw32/i686/mingw32-curses-helper.spec.in
new file mode 100644
index 0000000..b01b0d3
--- /dev/null
+++ b/mingw32/i686/mingw32-curses-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-curses-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw curses helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-pdcurses
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -curses-helper
+%else
+%global pkgname i686-pc-mingw32-curses-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 curses helper
+Group: Development
+Requires: mingw32-pdcurses
+Provides: i686-pc-mingw32-ncurses
+Provides: i686-pc-mingw32-ncurses-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -ncurses
+Obsoletes: i686-pc-mingw32-ncurses
+Provides: @tool_target at -ncurses-devel
+Obsoletes: i686-pc-mingw32-ncurses-devel
+Provides: i686-pc-mingw32-curses-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-curses-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-expat-helper.spec b/mingw32/i686/mingw32-expat-helper.spec
new file mode 100644
index 0000000..a18210e
--- /dev/null
+++ b/mingw32/i686/mingw32-expat-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-expat-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw expat helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-expat
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-expat-helper
+%else
+%global pkgname i686-pc-mingw32-expat-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 expat helper
+Group: Development
+Requires: mingw32-expat
+Provides: i686-pc-mingw32-expat
+Provides: i686-pc-mingw32-expat-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-expat
+Obsoletes: i686-pc-mingw32-expat
+Provides: i686-w64-mingw32-expat-devel
+Obsoletes: i686-pc-mingw32-expat-devel
+Provides: i686-pc-mingw32-expat-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-expat-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-expat-helper.spec.in b/mingw32/i686/mingw32-expat-helper.spec.in
new file mode 100644
index 0000000..c1661ea
--- /dev/null
+++ b/mingw32/i686/mingw32-expat-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-expat-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw expat helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-expat
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -expat-helper
+%else
+%global pkgname i686-pc-mingw32-expat-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 expat helper
+Group: Development
+Requires: mingw32-expat
+Provides: i686-pc-mingw32-expat
+Provides: i686-pc-mingw32-expat-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -expat
+Obsoletes: i686-pc-mingw32-expat
+Provides: @tool_target at -expat-devel
+Obsoletes: i686-pc-mingw32-expat-devel
+Provides: i686-pc-mingw32-expat-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-expat-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-gcc-helper.spec b/mingw32/i686/mingw32-gcc-helper.spec
new file mode 100644
index 0000000..a626d2e
--- /dev/null
+++ b/mingw32/i686/mingw32-gcc-helper.spec
@@ -0,0 +1,45 @@
+Name: mingw32-gcc-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw gcc helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-gcc
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-gcc-helper
+%else
+%global pkgname i686-pc-mingw32-gcc-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 gcc helper
+Group: Development
+Requires: mingw32-gcc
+Provides: i686-pc-mingw32-gcc
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-gcc
+Obsoletes: i686-pc-mingw32-gcc
+Provides: i686-pc-mingw32-gcc-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-gcc-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-gcc-helper.spec.in b/mingw32/i686/mingw32-gcc-helper.spec.in
new file mode 100644
index 0000000..8a0b558
--- /dev/null
+++ b/mingw32/i686/mingw32-gcc-helper.spec.in
@@ -0,0 +1,45 @@
+Name: mingw32-gcc-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw gcc helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-gcc
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -gcc-helper
+%else
+%global pkgname i686-pc-mingw32-gcc-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 gcc helper
+Group: Development
+Requires: mingw32-gcc
+Provides: i686-pc-mingw32-gcc
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -gcc
+Obsoletes: i686-pc-mingw32-gcc
+Provides: i686-pc-mingw32-gcc-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-gcc-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-gmp-helper.spec b/mingw32/i686/mingw32-gmp-helper.spec
new file mode 100644
index 0000000..0af0072
--- /dev/null
+++ b/mingw32/i686/mingw32-gmp-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-gmp-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw gmp helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-gmp
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-gmp-helper
+%else
+%global pkgname i686-pc-mingw32-gmp-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 gmp helper
+Group: Development
+Requires: mingw32-gmp
+Provides: i686-pc-mingw32-gmp
+Provides: i686-pc-mingw32-gmp-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-gmp
+Obsoletes: i686-pc-mingw32-gmp
+Provides: i686-w64-mingw32-gmp-devel
+Obsoletes: i686-pc-mingw32-gmp-devel
+Provides: i686-pc-mingw32-gmp-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-gmp-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-gmp-helper.spec.in b/mingw32/i686/mingw32-gmp-helper.spec.in
new file mode 100644
index 0000000..970fffb
--- /dev/null
+++ b/mingw32/i686/mingw32-gmp-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-gmp-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw gmp helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-gmp
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -gmp-helper
+%else
+%global pkgname i686-pc-mingw32-gmp-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 gmp helper
+Group: Development
+Requires: mingw32-gmp
+Provides: i686-pc-mingw32-gmp
+Provides: i686-pc-mingw32-gmp-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -gmp
+Obsoletes: i686-pc-mingw32-gmp
+Provides: @tool_target at -gmp-devel
+Obsoletes: i686-pc-mingw32-gmp-devel
+Provides: i686-pc-mingw32-gmp-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-gmp-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-libs-helper.spec b/mingw32/i686/mingw32-libs-helper.spec
new file mode 100644
index 0000000..59ef1b7
--- /dev/null
+++ b/mingw32/i686/mingw32-libs-helper.spec
@@ -0,0 +1,45 @@
+Name: mingw32-libs-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw libs helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-runtime
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-libs-helper
+%else
+%global pkgname i686-pc-mingw32-libs-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 libs helper
+Group: Development
+Requires: mingw32-runtime
+Provides: i686-pc-mingw32-libs
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-libs
+Obsoletes: i686-pc-mingw32-libs
+Provides: i686-pc-mingw32-libs-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-libs-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-libs-helper.spec.in b/mingw32/i686/mingw32-libs-helper.spec.in
new file mode 100644
index 0000000..24a3fcb
--- /dev/null
+++ b/mingw32/i686/mingw32-libs-helper.spec.in
@@ -0,0 +1,45 @@
+Name: mingw32-libs-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw libs helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-runtime
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -libs-helper
+%else
+%global pkgname i686-pc-mingw32-libs-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 libs helper
+Group: Development
+Requires: mingw32-runtime
+Provides: i686-pc-mingw32-libs
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -libs
+Obsoletes: i686-pc-mingw32-libs
+Provides: i686-pc-mingw32-libs-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-libs-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-mpc-helper.spec b/mingw32/i686/mingw32-mpc-helper.spec
new file mode 100644
index 0000000..9a0c1c9
--- /dev/null
+++ b/mingw32/i686/mingw32-mpc-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-mpc-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw mpc helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-mpc
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-mpc-helper
+%else
+%global pkgname i686-pc-mingw32-mpc-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 mpc helper
+Group: Development
+Requires: mingw32-mpc
+Provides: i686-pc-mingw32-mpc
+Provides: i686-pc-mingw32-mpc-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-mpc
+Obsoletes: i686-pc-mingw32-mpc
+Provides: i686-w64-mingw32-mpc-devel
+Obsoletes: i686-pc-mingw32-mpc-devel
+Provides: i686-pc-mingw32-mpc-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-mpc-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-mpc-helper.spec.in b/mingw32/i686/mingw32-mpc-helper.spec.in
new file mode 100644
index 0000000..f19ba77
--- /dev/null
+++ b/mingw32/i686/mingw32-mpc-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-mpc-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw mpc helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-mpc
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -mpc-helper
+%else
+%global pkgname i686-pc-mingw32-mpc-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 mpc helper
+Group: Development
+Requires: mingw32-mpc
+Provides: i686-pc-mingw32-mpc
+Provides: i686-pc-mingw32-mpc-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -mpc
+Obsoletes: i686-pc-mingw32-mpc
+Provides: @tool_target at -mpc-devel
+Obsoletes: i686-pc-mingw32-mpc-devel
+Provides: i686-pc-mingw32-mpc-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-mpc-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-mpfr-helper.spec b/mingw32/i686/mingw32-mpfr-helper.spec
new file mode 100644
index 0000000..65be100
--- /dev/null
+++ b/mingw32/i686/mingw32-mpfr-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-mpfr-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw mpfr helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-mpfr
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-mpfr-helper
+%else
+%global pkgname i686-pc-mingw32-mpfr-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 mpfr helper
+Group: Development
+Requires: mingw32-mpfr
+Provides: i686-pc-mingw32-mpfr
+Provides: i686-pc-mingw32-mpfr-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-mpfr
+Obsoletes: i686-pc-mingw32-mpfr
+Provides: i686-w64-mingw32-mpfr-devel
+Obsoletes: i686-pc-mingw32-mpfr-devel
+Provides: i686-pc-mingw32-mpfr-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-mpfr-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-mpfr-helper.spec.in b/mingw32/i686/mingw32-mpfr-helper.spec.in
new file mode 100644
index 0000000..aadd196
--- /dev/null
+++ b/mingw32/i686/mingw32-mpfr-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-mpfr-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw mpfr helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-mpfr
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -mpfr-helper
+%else
+%global pkgname i686-pc-mingw32-mpfr-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 mpfr helper
+Group: Development
+Requires: mingw32-mpfr
+Provides: i686-pc-mingw32-mpfr
+Provides: i686-pc-mingw32-mpfr-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -mpfr
+Obsoletes: i686-pc-mingw32-mpfr
+Provides: @tool_target at -mpfr-devel
+Obsoletes: i686-pc-mingw32-mpfr-devel
+Provides: i686-pc-mingw32-mpfr-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-mpfr-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-readline-helper.spec b/mingw32/i686/mingw32-readline-helper.spec
new file mode 100644
index 0000000..6c8de9b
--- /dev/null
+++ b/mingw32/i686/mingw32-readline-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-readline-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw readline helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-readline
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-readline-helper
+%else
+%global pkgname i686-pc-mingw32-readline-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 readline helper
+Group: Development
+Requires: mingw32-readline
+Provides: i686-pc-mingw32-readline
+Provides: i686-pc-mingw32-readline-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-readline
+Obsoletes: i686-pc-mingw32-readline
+Provides: i686-w64-mingw32-readline-devel
+Obsoletes: i686-pc-mingw32-readline-devel
+Provides: i686-pc-mingw32-readline-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-readline-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-readline-helper.spec.in b/mingw32/i686/mingw32-readline-helper.spec.in
new file mode 100644
index 0000000..7d28bff
--- /dev/null
+++ b/mingw32/i686/mingw32-readline-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-readline-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw readline helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-readline
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -readline-helper
+%else
+%global pkgname i686-pc-mingw32-readline-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 readline helper
+Group: Development
+Requires: mingw32-readline
+Provides: i686-pc-mingw32-readline
+Provides: i686-pc-mingw32-readline-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -readline
+Obsoletes: i686-pc-mingw32-readline
+Provides: @tool_target at -readline-devel
+Obsoletes: i686-pc-mingw32-readline-devel
+Provides: i686-pc-mingw32-readline-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-readline-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-termcap-helper.spec b/mingw32/i686/mingw32-termcap-helper.spec
new file mode 100644
index 0000000..f0867f1
--- /dev/null
+++ b/mingw32/i686/mingw32-termcap-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-termcap-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw termcap helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-termcap
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-termcap-helper
+%else
+%global pkgname i686-pc-mingw32-termcap-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 termcap helper
+Group: Development
+Requires: mingw32-termcap
+Provides: i686-pc-mingw32-termcap
+Provides: i686-pc-mingw32-termcap-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-termcap
+Obsoletes: i686-pc-mingw32-termcap
+Provides: i686-w64-mingw32-termcap-devel
+Obsoletes: i686-pc-mingw32-termcap-devel
+Provides: i686-pc-mingw32-termcap-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-termcap-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-termcap-helper.spec.in b/mingw32/i686/mingw32-termcap-helper.spec.in
new file mode 100644
index 0000000..1fd1ddb
--- /dev/null
+++ b/mingw32/i686/mingw32-termcap-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-termcap-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw termcap helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-termcap
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -termcap-helper
+%else
+%global pkgname i686-pc-mingw32-termcap-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 termcap helper
+Group: Development
+Requires: mingw32-termcap
+Provides: i686-pc-mingw32-termcap
+Provides: i686-pc-mingw32-termcap-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -termcap
+Obsoletes: i686-pc-mingw32-termcap
+Provides: @tool_target at -termcap-devel
+Obsoletes: i686-pc-mingw32-termcap-devel
+Provides: i686-pc-mingw32-termcap-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-termcap-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-zlib-helper.spec b/mingw32/i686/mingw32-zlib-helper.spec
new file mode 100644
index 0000000..bafb3b0
--- /dev/null
+++ b/mingw32/i686/mingw32-zlib-helper.spec
@@ -0,0 +1,48 @@
+Name: mingw32-zlib-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw zlib helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-zlib
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname i686-w64-mingw32-zlib-helper
+%else
+%global pkgname i686-pc-mingw32-zlib-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 zlib helper
+Group: Development
+Requires: mingw32-zlib
+Provides: i686-pc-mingw32-zlib
+Provides: i686-pc-mingw32-zlib-devel
+
+%if 0%{?fedora} >= 17
+Provides: i686-w64-mingw32-zlib
+Obsoletes: i686-pc-mingw32-zlib
+Provides: i686-w64-mingw32-zlib-devel
+Obsoletes: i686-pc-mingw32-zlib-devel
+Provides: i686-pc-mingw32-zlib-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-zlib-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/i686/mingw32-zlib-helper.spec.in b/mingw32/i686/mingw32-zlib-helper.spec.in
new file mode 100644
index 0000000..3e37f56
--- /dev/null
+++ b/mingw32/i686/mingw32-zlib-helper.spec.in
@@ -0,0 +1,48 @@
+Name: mingw32-zlib-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw zlib helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw32-zlib
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global pkgname @tool_target at -zlib-helper
+%else
+%global pkgname i686-pc-mingw32-zlib-helper
+%endif
+
+%package -n %{pkgname}
+Summary: RTEMS mingw32 zlib helper
+Group: Development
+Requires: mingw32-zlib
+Provides: i686-pc-mingw32-zlib
+Provides: i686-pc-mingw32-zlib-devel
+
+%if 0%{?fedora} >= 17
+Provides: @tool_target at -zlib
+Obsoletes: i686-pc-mingw32-zlib
+Provides: @tool_target at -zlib-devel
+Obsoletes: i686-pc-mingw32-zlib-devel
+Provides: i686-pc-mingw32-zlib-helper = %{version}-%{release}
+Obsoletes: i686-pc-mingw32-zlib-helper < %{version}-%{release}
+%endif
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/Makefile.am b/mingw32/x86_64/Makefile.am
index ed5d80a..38bd8e4 100644
--- a/mingw32/x86_64/Makefile.am
+++ b/mingw32/x86_64/Makefile.am
@@ -5,74 +5,69 @@ TARGET = x86_64-w64-mingw32
include $(top_srcdir)/mkspec.am
GMP_VERS = 5.0.4
-GMP_RPMREL = 0.20120423.0
+GMP_RPMREL = 0.20120426.0
include ../gmp.am
MPC_VERS = 0.8.1
-MPC_RPMREL = 0.20120423.0
+MPC_RPMREL = 0.20120426.0
include ../mpc.am
MPFR_VERS = 2.4.2
-MPFR_RPMREL = 0.20120423.0
+MPFR_RPMREL = 0.20120426.0
include ../mpfr.am
- at rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in
- $(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-binutils-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-binutils-helper.spec
-
- at rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in
- $(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-curses-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-curses-helper.spec
-
- at rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in
- $(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-expat-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-expat-helper.spec
-
- at rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in
- $(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-gcc-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-gcc-helper.spec
-
- at rpmprefix@$(TARGET)-gmp-helper.spec: $(TARGET)-gmp-helper.spec.in
- $(MKSPEC) $(TARGET)-gmp-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-gmp-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-gmp-helper.spec
-
- at rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in
- $(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-libs-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-libs-helper.spec
-
- at rpmprefix@$(TARGET)-mpc-helper.spec: $(TARGET)-mpc-helper.spec.in
- $(MKSPEC) $(TARGET)-mpc-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-mpc-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-mpc-helper.spec
-
- at rpmprefix@$(TARGET)-mpfr-helper.spec: $(TARGET)-mpfr-helper.spec.in
- $(MKSPEC) $(TARGET)-mpfr-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-mpfr-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-mpfr-helper.spec
-
- at rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in
- $(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-readline-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-readline-helper.spec
-
- at rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in
- $(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-termcap-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-termcap-helper.spec
-
- at rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in
- $(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-w32api-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-w32api-helper.spec
-
- at rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in
- $(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-zlib-helper.spec
-noinst_DATA += @rpmprefix@$(TARGET)-zlib-helper.spec
+ at rpmprefix@mingw64-binutils-helper.spec: mingw64-binutils-helper.spec.in
+ $(MKSPEC) mingw64-binutils-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-binutils-helper.spec
+noinst_DATA += @rpmprefix at mingw64-binutils-helper.spec
+
+ at rpmprefix@mingw64-curses-helper.spec: mingw64-curses-helper.spec.in
+ $(MKSPEC) mingw64-curses-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-curses-helper.spec
+noinst_DATA += @rpmprefix at mingw64-curses-helper.spec
+
+ at rpmprefix@mingw64-expat-helper.spec: mingw64-expat-helper.spec.in
+ $(MKSPEC) mingw64-expat-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-expat-helper.spec
+noinst_DATA += @rpmprefix at mingw64-expat-helper.spec
+
+ at rpmprefix@mingw64-gcc-helper.spec: mingw64-gcc-helper.spec.in
+ $(MKSPEC) mingw64-gcc-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-gcc-helper.spec
+noinst_DATA += @rpmprefix at mingw64-gcc-helper.spec
+
+ at rpmprefix@mingw64-gmp-helper.spec: mingw64-gmp-helper.spec.in
+ $(MKSPEC) mingw64-gmp-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-gmp-helper.spec
+noinst_DATA += @rpmprefix at mingw64-gmp-helper.spec
+
+ at rpmprefix@mingw64-libs-helper.spec: mingw64-libs-helper.spec.in
+ $(MKSPEC) mingw64-libs-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-libs-helper.spec
+noinst_DATA += @rpmprefix at mingw64-libs-helper.spec
+
+ at rpmprefix@mingw64-mpc-helper.spec: mingw64-mpc-helper.spec.in
+ $(MKSPEC) mingw64-mpc-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-mpc-helper.spec
+noinst_DATA += @rpmprefix at mingw64-mpc-helper.spec
+
+ at rpmprefix@mingw64-mpfr-helper.spec: mingw64-mpfr-helper.spec.in
+ $(MKSPEC) mingw64-mpfr-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-mpfr-helper.spec
+noinst_DATA += @rpmprefix at mingw64-mpfr-helper.spec
+
+ at rpmprefix@mingw64-readline-helper.spec: mingw64-readline-helper.spec.in
+ $(MKSPEC) mingw64-readline-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-readline-helper.spec
+noinst_DATA += @rpmprefix at mingw64-readline-helper.spec
+
+ at rpmprefix@mingw64-termcap-helper.spec: mingw64-termcap-helper.spec.in
+ $(MKSPEC) mingw64-termcap-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-termcap-helper.spec
+noinst_DATA += @rpmprefix at mingw64-termcap-helper.spec
+
+ at rpmprefix@mingw64-zlib-helper.spec: mingw64-zlib-helper.spec.in
+ $(MKSPEC) mingw64-zlib-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-zlib-helper.spec
+noinst_DATA += @rpmprefix at mingw64-zlib-helper.spec
diff --git a/mingw32/x86_64/Makefile.in b/mingw32/x86_64/Makefile.in
index 6710807..d69327e 100644
--- a/mingw32/x86_64/Makefile.in
+++ b/mingw32/x86_64/Makefile.in
@@ -140,32 +140,30 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
TARGET = x86_64-w64-mingw32
noinst_DATA = mingw-gmp.spec mingw-mpc.spec mingw-mpfr.spec \
- @rpmprefix@$(TARGET)-binutils-helper.spec \
- @rpmprefix@$(TARGET)-curses-helper.spec \
- @rpmprefix@$(TARGET)-expat-helper.spec \
- @rpmprefix@$(TARGET)-gcc-helper.spec \
- @rpmprefix@$(TARGET)-gmp-helper.spec \
- @rpmprefix@$(TARGET)-libs-helper.spec \
- @rpmprefix@$(TARGET)-mpc-helper.spec \
- @rpmprefix@$(TARGET)-mpfr-helper.spec \
- @rpmprefix@$(TARGET)-readline-helper.spec \
- @rpmprefix@$(TARGET)-termcap-helper.spec \
- @rpmprefix@$(TARGET)-w32api-helper.spec \
- @rpmprefix@$(TARGET)-zlib-helper.spec
+ @rpmprefix at mingw64-binutils-helper.spec \
+ @rpmprefix at mingw64-curses-helper.spec \
+ @rpmprefix at mingw64-expat-helper.spec \
+ @rpmprefix at mingw64-gcc-helper.spec \
+ @rpmprefix at mingw64-gmp-helper.spec \
+ @rpmprefix at mingw64-libs-helper.spec \
+ @rpmprefix at mingw64-mpc-helper.spec \
+ @rpmprefix at mingw64-mpfr-helper.spec \
+ @rpmprefix at mingw64-readline-helper.spec \
+ @rpmprefix at mingw64-termcap-helper.spec \
+ @rpmprefix at mingw64-zlib-helper.spec
CLEANFILES = mingw-gmp.spec.in mingw-gmp.spec mingw-mpc.spec.in \
mingw-mpc.spec mingw-mpfr.spec.in mingw-mpfr.spec \
- @rpmprefix@$(TARGET)-binutils-helper.spec \
- @rpmprefix@$(TARGET)-curses-helper.spec \
- @rpmprefix@$(TARGET)-expat-helper.spec \
- @rpmprefix@$(TARGET)-gcc-helper.spec \
- @rpmprefix@$(TARGET)-gmp-helper.spec \
- @rpmprefix@$(TARGET)-libs-helper.spec \
- @rpmprefix@$(TARGET)-mpc-helper.spec \
- @rpmprefix@$(TARGET)-mpfr-helper.spec \
- @rpmprefix@$(TARGET)-readline-helper.spec \
- @rpmprefix@$(TARGET)-termcap-helper.spec \
- @rpmprefix@$(TARGET)-w32api-helper.spec \
- @rpmprefix@$(TARGET)-zlib-helper.spec
+ @rpmprefix at mingw64-binutils-helper.spec \
+ @rpmprefix at mingw64-curses-helper.spec \
+ @rpmprefix at mingw64-expat-helper.spec \
+ @rpmprefix at mingw64-gcc-helper.spec \
+ @rpmprefix at mingw64-gmp-helper.spec \
+ @rpmprefix at mingw64-libs-helper.spec \
+ @rpmprefix at mingw64-mpc-helper.spec \
+ @rpmprefix at mingw64-mpfr-helper.spec \
+ @rpmprefix at mingw64-readline-helper.spec \
+ @rpmprefix at mingw64-termcap-helper.spec \
+ @rpmprefix at mingw64-zlib-helper.spec
EXTRA_DIST = mingw-gmp.add mingw-mpc.add mingw-mpfr.add
SPECSTRIP = $(top_srcdir)/specstrip --prefix=$(prefix) $(SPECSTRIP_OPTS)
MKSPEC = sed \
@@ -181,13 +179,13 @@ MKSPEC0 = sed \
-e "s/[@]rtems_api[@]/$(rtems_api)/g"
GMP_VERS = 5.0.4
-GMP_RPMREL = 0.20120423.0
+GMP_RPMREL = 0.20120426.0
GMP_SUBPACKAGES = $(srcdir)/mingw-gmp.add
MPC_VERS = 0.8.1
-MPC_RPMREL = 0.20120423.0
+MPC_RPMREL = 0.20120426.0
MPC_SUBPACKAGES = $(srcdir)/mingw-mpc.add
MPFR_VERS = 2.4.2
-MPFR_RPMREL = 0.20120423.0
+MPFR_RPMREL = 0.20120426.0
MPFR_SUBPACKAGES = $(srcdir)/mingw-mpfr.add
all: all-am
@@ -404,41 +402,38 @@ mingw-mpfr.spec.in: $(MPFR_SUBPACKAGES) Makefile.am
mingw-mpfr.spec: mingw-mpfr.spec.in
$(MKSPEC) mingw-mpfr.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in
- $(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-binutils-helper.spec: mingw64-binutils-helper.spec.in
+ $(MKSPEC) mingw64-binutils-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in
- $(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-curses-helper.spec: mingw64-curses-helper.spec.in
+ $(MKSPEC) mingw64-curses-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in
- $(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-expat-helper.spec: mingw64-expat-helper.spec.in
+ $(MKSPEC) mingw64-expat-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in
- $(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-gcc-helper.spec: mingw64-gcc-helper.spec.in
+ $(MKSPEC) mingw64-gcc-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-gmp-helper.spec: $(TARGET)-gmp-helper.spec.in
- $(MKSPEC) $(TARGET)-gmp-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-gmp-helper.spec: mingw64-gmp-helper.spec.in
+ $(MKSPEC) mingw64-gmp-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in
- $(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-libs-helper.spec: mingw64-libs-helper.spec.in
+ $(MKSPEC) mingw64-libs-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-mpc-helper.spec: $(TARGET)-mpc-helper.spec.in
- $(MKSPEC) $(TARGET)-mpc-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-mpc-helper.spec: mingw64-mpc-helper.spec.in
+ $(MKSPEC) mingw64-mpc-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-mpfr-helper.spec: $(TARGET)-mpfr-helper.spec.in
- $(MKSPEC) $(TARGET)-mpfr-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-mpfr-helper.spec: mingw64-mpfr-helper.spec.in
+ $(MKSPEC) mingw64-mpfr-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in
- $(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-readline-helper.spec: mingw64-readline-helper.spec.in
+ $(MKSPEC) mingw64-readline-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in
- $(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-termcap-helper.spec: mingw64-termcap-helper.spec.in
+ $(MKSPEC) mingw64-termcap-helper.spec.in | $(SPECSTRIP) > $@
- at rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in
- $(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@
-
- at rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in
- $(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@
+ at rpmprefix@mingw64-zlib-helper.spec: mingw64-zlib-helper.spec.in
+ $(MKSPEC) mingw64-zlib-helper.spec.in | $(SPECSTRIP) > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/mingw32/x86_64/mingw-gmp.add b/mingw32/x86_64/mingw-gmp.add
index 40ae1ae..9e441e9 100644
--- a/mingw32/x86_64/mingw-gmp.add
+++ b/mingw32/x86_64/mingw-gmp.add
@@ -13,18 +13,19 @@ Release: @GMP_RPMREL@%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %gmp_rpmvers
Summary: MinGW gmp Libraries
-Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.xz
+Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -42,6 +43,7 @@ BuildRequires: m4
%package -n mingw32-gmp
Summary: MinGW32 gmp libraries
+Group: Development/Tools
%description -n mingw32-gmp
%{summary}
@@ -49,6 +51,7 @@ Summary: MinGW32 gmp libraries
%if %{?mingw_build_win64}0
%package -n mingw64-gmp
Summary: MinGW64 gmp libraries
+Group: Development/Tools
%description -n mingw64-gmp
%{summary}
diff --git a/mingw32/x86_64/mingw-gmp.spec b/mingw32/x86_64/mingw-gmp.spec
index 58ad2eb..d504933 100644
--- a/mingw32/x86_64/mingw-gmp.spec
+++ b/mingw32/x86_64/mingw-gmp.spec
@@ -9,22 +9,23 @@
%define gmp_rpmvers %{expand:%(echo 5.0.4 | tr - _)}
Name: mingw-gmp
-Release: 0.20120423.0%{?dist}
+Release: 0.20120426.0%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %gmp_rpmvers
Summary: MinGW gmp Libraries
-Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.xz
+Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -42,6 +43,7 @@ BuildRequires: m4
%package -n mingw32-gmp
Summary: MinGW32 gmp libraries
+Group: Development/Tools
%description -n mingw32-gmp
%{summary}
@@ -49,6 +51,7 @@ Summary: MinGW32 gmp libraries
%if %{?mingw_build_win64}0
%package -n mingw64-gmp
Summary: MinGW64 gmp libraries
+Group: Development/Tools
%description -n mingw64-gmp
%{summary}
diff --git a/mingw32/x86_64/mingw-gmp.spec.in b/mingw32/x86_64/mingw-gmp.spec.in
new file mode 100644
index 0000000..d504933
--- /dev/null
+++ b/mingw32/x86_64/mingw-gmp.spec.in
@@ -0,0 +1,84 @@
+#
+# Please send bugfixes or comments to
+# http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define gmp_version 5.0.4
+%define gmp_rpmvers %{expand:%(echo 5.0.4 | tr - _)}
+
+Name: mingw-gmp
+Release: 0.20120426.0%{?dist}
+License: GPL
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version: %gmp_rpmvers
+Summary: MinGW gmp Libraries
+
+Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.%{?el5:bz2}%{!?el5:xz}
+
+BuildRequires: mingw32-filesystem
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+
+%if 0%{?fedora} >= 17
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-binutils
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip %{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires: m4
+
+%description
+%{summary}
+
+%package -n mingw32-gmp
+Summary: MinGW32 gmp libraries
+Group: Development/Tools
+
+%description -n mingw32-gmp
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package -n mingw64-gmp
+Summary: MinGW64 gmp libraries
+Group: Development/Tools
+
+%description -n mingw64-gmp
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n gmp-%{gmp_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-gmp
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-gmp
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/x86_64/mingw-mpc.add b/mingw32/x86_64/mingw-mpc.add
index 98b0f7e..446d552 100644
--- a/mingw32/x86_64/mingw-mpc.add
+++ b/mingw32/x86_64/mingw-mpc.add
@@ -13,6 +13,7 @@ Release: @MPC_RPMREL@%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpc_rpmvers
@@ -26,7 +27,7 @@ BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
BuildRequires: mingw32-mpfr
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -46,6 +47,7 @@ BuildRequires: m4
%package -n mingw32-mpc
Summary: MinGW32 mpc libraries
+Group: Development/Tools
%description -n mingw32-mpc
%{summary}
@@ -53,6 +55,7 @@ Summary: MinGW32 mpc libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpc
Summary: MinGW64 mpc libraries
+Group: Development/Tools
%description -n mingw64-mpc
%{summary}
diff --git a/mingw32/x86_64/mingw-mpc.spec b/mingw32/x86_64/mingw-mpc.spec
index f5f1f1d..e1b4191 100644
--- a/mingw32/x86_64/mingw-mpc.spec
+++ b/mingw32/x86_64/mingw-mpc.spec
@@ -9,10 +9,11 @@
%define mpc_rpmvers %{expand:%(echo 0.8.1 | tr - _)}
Name: mingw-mpc
-Release: 0.20120423.0%{?dist}
+Release: 0.20120426.0%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpc_rpmvers
@@ -26,7 +27,7 @@ BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
BuildRequires: mingw32-mpfr
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -46,6 +47,7 @@ BuildRequires: m4
%package -n mingw32-mpc
Summary: MinGW32 mpc libraries
+Group: Development/Tools
%description -n mingw32-mpc
%{summary}
@@ -53,6 +55,7 @@ Summary: MinGW32 mpc libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpc
Summary: MinGW64 mpc libraries
+Group: Development/Tools
%description -n mingw64-mpc
%{summary}
diff --git a/mingw32/x86_64/mingw-mpc.spec.in b/mingw32/x86_64/mingw-mpc.spec.in
new file mode 100644
index 0000000..e1b4191
--- /dev/null
+++ b/mingw32/x86_64/mingw-mpc.spec.in
@@ -0,0 +1,88 @@
+#
+# Please send bugfixes or comments to
+# http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define mpc_version 0.8.1
+%define mpc_rpmvers %{expand:%(echo 0.8.1 | tr - _)}
+
+Name: mingw-mpc
+Release: 0.20120426.0%{?dist}
+License: GPL
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version: %mpc_rpmvers
+Summary: MinGW mpc Libraries
+
+Source0: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
+
+BuildRequires: mingw32-filesystem
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+BuildRequires: mingw32-gmp
+BuildRequires: mingw32-mpfr
+
+%if 0%{?fedora} >= 17
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-binutils
+BuildRequires: mingw64-gmp
+BuildRequires: mingw64-mpfr
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip %{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires: m4
+
+%description
+%{summary}
+
+%package -n mingw32-mpc
+Summary: MinGW32 mpc libraries
+Group: Development/Tools
+
+%description -n mingw32-mpc
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package -n mingw64-mpc
+Summary: MinGW64 mpc libraries
+Group: Development/Tools
+
+%description -n mingw64-mpc
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n mpc-%{mpc_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-mpc
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-mpc
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/x86_64/mingw-mpfr.add b/mingw32/x86_64/mingw-mpfr.add
index 5059ac3..aaedf7d 100644
--- a/mingw32/x86_64/mingw-mpfr.add
+++ b/mingw32/x86_64/mingw-mpfr.add
@@ -13,19 +13,20 @@ Release: @MPFR_RPMREL@%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpfr_rpmvers
Summary: MinGW mpfr Libraries
-Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.xz
+Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -44,6 +45,7 @@ BuildRequires: m4
%package -n mingw32-mpfr
Summary: MinGW32 mpfr libraries
+Group: Development/Tools
%description -n mingw32-mpfr
%{summary}
@@ -51,6 +53,7 @@ Summary: MinGW32 mpfr libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpfr
Summary: MinGW64 mpfr libraries
+Group: Development/Tools
%description -n mingw64-mpfr
%{summary}
diff --git a/mingw32/x86_64/mingw-mpfr.spec b/mingw32/x86_64/mingw-mpfr.spec
index bb9dd78..faeea4f 100644
--- a/mingw32/x86_64/mingw-mpfr.spec
+++ b/mingw32/x86_64/mingw-mpfr.spec
@@ -9,23 +9,24 @@
%define mpfr_rpmvers %{expand:%(echo 2.4.2 | tr - _)}
Name: mingw-mpfr
-Release: 0.20120423.0%{?dist}
+Release: 0.20120426.0%{?dist}
License: GPL
Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Version: %mpfr_rpmvers
Summary: MinGW mpfr Libraries
-Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.xz
+Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.%{?el5:bz2}%{!?el5:xz}
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gmp
-%if 0%{fedora} > 16
+%if 0%{?fedora} >= 17
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils
@@ -44,6 +45,7 @@ BuildRequires: m4
%package -n mingw32-mpfr
Summary: MinGW32 mpfr libraries
+Group: Development/Tools
%description -n mingw32-mpfr
%{summary}
@@ -51,6 +53,7 @@ Summary: MinGW32 mpfr libraries
%if %{?mingw_build_win64}0
%package -n mingw64-mpfr
Summary: MinGW64 mpfr libraries
+Group: Development/Tools
%description -n mingw64-mpfr
%{summary}
diff --git a/mingw32/x86_64/mingw-mpfr.spec.in b/mingw32/x86_64/mingw-mpfr.spec.in
new file mode 100644
index 0000000..faeea4f
--- /dev/null
+++ b/mingw32/x86_64/mingw-mpfr.spec.in
@@ -0,0 +1,86 @@
+#
+# Please send bugfixes or comments to
+# http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define mpfr_version 2.4.2
+%define mpfr_rpmvers %{expand:%(echo 2.4.2 | tr - _)}
+
+Name: mingw-mpfr
+Release: 0.20120426.0%{?dist}
+License: GPL
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version: %mpfr_rpmvers
+Summary: MinGW mpfr Libraries
+
+Source0: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.%{?el5:bz2}%{!?el5:xz}
+
+BuildRequires: mingw32-filesystem
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+BuildRequires: mingw32-gmp
+
+%if 0%{?fedora} >= 17
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-binutils
+BuildRequires: mingw64-gmp
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip %{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires: m4
+
+%description
+%{summary}
+
+%package -n mingw32-mpfr
+Summary: MinGW32 mpfr libraries
+Group: Development/Tools
+
+%description -n mingw32-mpfr
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package -n mingw64-mpfr
+Summary: MinGW64 mpfr libraries
+Group: Development/Tools
+
+%description -n mingw64-mpfr
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n mpfr-%{mpfr_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-mpfr
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-mpfr
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-binutils-helper.spec b/mingw32/x86_64/mingw64-binutils-helper.spec
similarity index 52%
rename from mingw32/x86_64/x86_64-w64-mingw32-binutils-helper.spec
rename to mingw32/x86_64/mingw64-binutils-helper.spec
index e0ea059..321b32d 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-binutils-helper.spec
+++ b/mingw32/x86_64/mingw64-binutils-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-binutils-helper
-Version: 0.20120422.0
+Name: mingw64-binutils-helper
+Version: 0.20120426.2
Release: 1%{?dist}
-Summary: RTEMS binutils helper
+Summary: RTEMS mingw binutils helper
Group: Development
License: GPLv3+
@@ -9,17 +9,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-binutils
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-binutils-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 binutils helper
+Group: Development
Requires: mingw64-binutils
Provides: x86_64-w64-mingw32-binutils
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-binutils-helper.spec.in b/mingw32/x86_64/mingw64-binutils-helper.spec.in
new file mode 100644
index 0000000..893315e
--- /dev/null
+++ b/mingw32/x86_64/mingw64-binutils-helper.spec.in
@@ -0,0 +1,34 @@
+Name: mingw64-binutils-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw binutils helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-binutils
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -binutils-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 binutils helper
+Group: Development
+Requires: mingw64-binutils
+Provides: @tool_target at -binutils
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-curses-helper.spec b/mingw32/x86_64/mingw64-curses-helper.spec
similarity index 56%
rename from mingw32/x86_64/x86_64-w64-mingw32-curses-helper.spec
rename to mingw32/x86_64/mingw64-curses-helper.spec
index d8abd3a..c1da438 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-curses-helper.spec
+++ b/mingw32/x86_64/mingw64-curses-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-curses-helper
-Version: 0.20120422.0
+Name: mingw64-curses-helper
+Version: 0.20120426.3
Release: 1%{?dist}
-Summary: RTEMS mingw32 curses libs helper
+Summary: RTEMS mingw curses helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-pdcurses
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-curses-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 curses helper
+Group: Development
Requires: mingw64-pdcurses
Provides: x86_64-w64-mingw32-ncurses
Provides: x86_64-w64-mingw32-ncurses-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-curses-helper.spec.in b/mingw32/x86_64/mingw64-curses-helper.spec.in
new file mode 100644
index 0000000..ac7c9cb
--- /dev/null
+++ b/mingw32/x86_64/mingw64-curses-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-curses-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw curses helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-pdcurses
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -curses-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 curses helper
+Group: Development
+Requires: mingw64-pdcurses
+Provides: @tool_target at -ncurses
+Provides: @tool_target at -ncurses-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-expat-helper.spec b/mingw32/x86_64/mingw64-expat-helper.spec
similarity index 55%
rename from mingw32/x86_64/x86_64-w64-mingw32-expat-helper.spec
rename to mingw32/x86_64/mingw64-expat-helper.spec
index adafbb0..d54db28 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-expat-helper.spec
+++ b/mingw32/x86_64/mingw64-expat-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-expat-helper
-Version: 0.20120422.0
+Name: mingw64-expat-helper
+Version: 0.20120426.2
Release: 1%{?dist}
-Summary: RTEMS mingw32 expat libs helper
+Summary: RTEMS mingw expat helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-expat
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-expat-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 expat helper
+Group: Development
Requires: mingw64-expat
Provides: x86_64-w64-mingw32-expat
Provides: x86_64-w64-mingw32-expat-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-expat-helper.spec.in b/mingw32/x86_64/mingw64-expat-helper.spec.in
new file mode 100644
index 0000000..4168082
--- /dev/null
+++ b/mingw32/x86_64/mingw64-expat-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-expat-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw expat helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-expat
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -expat-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 expat helper
+Group: Development
+Requires: mingw64-expat
+Provides: @tool_target at -expat
+Provides: @tool_target at -expat-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-gcc-helper.spec b/mingw32/x86_64/mingw64-gcc-helper.spec
similarity index 53%
rename from mingw32/x86_64/x86_64-w64-mingw32-gcc-helper.spec
rename to mingw32/x86_64/mingw64-gcc-helper.spec
index 999d8a6..84df32b 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-gcc-helper.spec
+++ b/mingw32/x86_64/mingw64-gcc-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-gcc-helper
-Version: 0.20120422.0
+Name: mingw64-gcc-helper
+Version: 0.20120426.2
Release: 1%{?dist}
-Summary: RTEMS gcc helper
+Summary: RTEMS mingw gcc helper
Group: Development
License: GPLv3+
@@ -9,17 +9,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-gcc
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-gcc-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 gcc helper
+Group: Development
Requires: mingw64-gcc
Provides: x86_64-w64-mingw32-gcc
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-gcc-helper.spec.in b/mingw32/x86_64/mingw64-gcc-helper.spec.in
new file mode 100644
index 0000000..89e5acb
--- /dev/null
+++ b/mingw32/x86_64/mingw64-gcc-helper.spec.in
@@ -0,0 +1,34 @@
+Name: mingw64-gcc-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw gcc helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-gcc
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -gcc-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 gcc helper
+Group: Development
+Requires: mingw64-gcc
+Provides: @tool_target at -gcc
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-gmp-helper.spec b/mingw32/x86_64/mingw64-gmp-helper.spec
similarity index 56%
rename from mingw32/x86_64/x86_64-w64-mingw32-gmp-helper.spec
rename to mingw32/x86_64/mingw64-gmp-helper.spec
index 87adc91..f96489c 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-gmp-helper.spec
+++ b/mingw32/x86_64/mingw64-gmp-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-gmp-helper
-Version: 0.20120422.0
+Name: mingw64-gmp-helper
+Version: 0.20120426.3
Release: 1%{?dist}
-Summary: RTEMS mingw32 gmp libs helper
+Summary: RTEMS mingw gmp helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-gmp
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-gmp-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 gmp helper
+Group: Development
Requires: mingw64-gmp
Provides: x86_64-w64-mingw32-gmp
Provides: x86_64-w64-mingw32-gmp-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-gmp-helper.spec.in b/mingw32/x86_64/mingw64-gmp-helper.spec.in
new file mode 100644
index 0000000..699cbb3
--- /dev/null
+++ b/mingw32/x86_64/mingw64-gmp-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-gmp-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw gmp helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-gmp
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -gmp-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 gmp helper
+Group: Development
+Requires: mingw64-gmp
+Provides: @tool_target at -gmp
+Provides: @tool_target at -gmp-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-libs-helper.spec b/mingw32/x86_64/mingw64-libs-helper.spec
similarity index 53%
rename from mingw32/x86_64/x86_64-w64-mingw32-libs-helper.spec
rename to mingw32/x86_64/mingw64-libs-helper.spec
index fe96b17..6ff56a3 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-libs-helper.spec
+++ b/mingw32/x86_64/mingw64-libs-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-libs-helper
-Version: 0.20120422.0
+Name: mingw64-libs-helper
+Version: 0.20120426.2
Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
+Summary: RTEMS mingw libs helper
Group: Development
License: GPLv3+
@@ -9,17 +9,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-runtime
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-libs-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 libs helper
+Group: Development
Requires: mingw64-runtime
Provides: x86_64-w64-mingw32-libs
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-libs-helper.spec.in b/mingw32/x86_64/mingw64-libs-helper.spec.in
new file mode 100644
index 0000000..7d1bcf7
--- /dev/null
+++ b/mingw32/x86_64/mingw64-libs-helper.spec.in
@@ -0,0 +1,34 @@
+Name: mingw64-libs-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw libs helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-runtime
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -libs-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 libs helper
+Group: Development
+Requires: mingw64-runtime
+Provides: @tool_target at -libs
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-mpc-helper.spec b/mingw32/x86_64/mingw64-mpc-helper.spec
similarity index 56%
rename from mingw32/x86_64/x86_64-w64-mingw32-mpc-helper.spec
rename to mingw32/x86_64/mingw64-mpc-helper.spec
index e8f9b9f..6c4d30a 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-mpc-helper.spec
+++ b/mingw32/x86_64/mingw64-mpc-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-mpc-helper
-Version: 0.20120422.0
+Name: mingw64-mpc-helper
+Version: 0.20120426.3
Release: 1%{?dist}
-Summary: RTEMS mingw32 mpc libs helper
+Summary: RTEMS mingw mpc helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-mpc
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-mpc-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 mpc helper
+Group: Development
Requires: mingw64-mpc
Provides: x86_64-w64-mingw32-mpc
Provides: x86_64-w64-mingw32-mpc-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-mpc-helper.spec.in b/mingw32/x86_64/mingw64-mpc-helper.spec.in
new file mode 100644
index 0000000..79c8312
--- /dev/null
+++ b/mingw32/x86_64/mingw64-mpc-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-mpc-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw mpc helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-mpc
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -mpc-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 mpc helper
+Group: Development
+Requires: mingw64-mpc
+Provides: @tool_target at -mpc
+Provides: @tool_target at -mpc-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-mpfr-helper.spec b/mingw32/x86_64/mingw64-mpfr-helper.spec
similarity index 55%
rename from mingw32/x86_64/x86_64-w64-mingw32-mpfr-helper.spec
rename to mingw32/x86_64/mingw64-mpfr-helper.spec
index e8c5322..331f208 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-mpfr-helper.spec
+++ b/mingw32/x86_64/mingw64-mpfr-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-mpfr-helper
-Version: 0.20120422.0
+Name: mingw64-mpfr-helper
+Version: 0.20120426.3
Release: 1%{?dist}
-Summary: RTEMS mingw32 mpfr libs helper
+Summary: RTEMS mingw mpfr helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-mpfr
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-mpfr-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 mpfr helper
+Group: Development
Requires: mingw64-mpfr
Provides: x86_64-w64-mingw32-mpfr
Provides: x86_64-w64-mingw32-mpfr-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-mpfr-helper.spec.in b/mingw32/x86_64/mingw64-mpfr-helper.spec.in
new file mode 100644
index 0000000..0be0f5f
--- /dev/null
+++ b/mingw32/x86_64/mingw64-mpfr-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-mpfr-helper
+Version: 0.20120426.3
+Release: 1%{?dist}
+Summary: RTEMS mingw mpfr helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-mpfr
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -mpfr-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 mpfr helper
+Group: Development
+Requires: mingw64-mpfr
+Provides: @tool_target at -mpfr
+Provides: @tool_target at -mpfr-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-readline-helper.spec b/mingw32/x86_64/mingw64-readline-helper.spec
similarity index 55%
rename from mingw32/x86_64/x86_64-w64-mingw32-readline-helper.spec
rename to mingw32/x86_64/mingw64-readline-helper.spec
index b9ff908..40b9726 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-readline-helper.spec
+++ b/mingw32/x86_64/mingw64-readline-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-readline-helper
-Version: 0.20120422.0
+Name: mingw64-readline-helper
+Version: 0.20120426.2
Release: 1%{?dist}
-Summary: RTEMS mingw32 readline libs helper
+Summary: RTEMS mingw readline helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-readline
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-readline-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 readline helper
+Group: Development
Requires: mingw64-readline
Provides: x86_64-w64-mingw32-readline
Provides: x86_64-w64-mingw32-readline-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-readline-helper.spec.in b/mingw32/x86_64/mingw64-readline-helper.spec.in
new file mode 100644
index 0000000..964e74d
--- /dev/null
+++ b/mingw32/x86_64/mingw64-readline-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-readline-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw readline helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-readline
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -readline-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 readline helper
+Group: Development
+Requires: mingw64-readline
+Provides: @tool_target at -readline
+Provides: @tool_target at -readline-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-termcap-helper.spec b/mingw32/x86_64/mingw64-termcap-helper.spec
similarity index 55%
rename from mingw32/x86_64/x86_64-w64-mingw32-termcap-helper.spec
rename to mingw32/x86_64/mingw64-termcap-helper.spec
index c06afc2..1cbefc6 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-termcap-helper.spec
+++ b/mingw32/x86_64/mingw64-termcap-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-termcap-helper
-Version: 0.20120422.0
+Name: mingw64-termcap-helper
+Version: 0.20120426.2
Release: 1%{?dist}
-Summary: RTEMS mingw32 termcap libs helper
+Summary: RTEMS mingw termcap helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-termcap
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-termcap-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 termcap helper
+Group: Development
Requires: mingw64-termcap
Provides: x86_64-w64-mingw32-termcap
Provides: x86_64-w64-mingw32-termcap-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-termcap-helper.spec.in b/mingw32/x86_64/mingw64-termcap-helper.spec.in
new file mode 100644
index 0000000..f62c0e1
--- /dev/null
+++ b/mingw32/x86_64/mingw64-termcap-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-termcap-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw termcap helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-termcap
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -termcap-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 termcap helper
+Group: Development
+Requires: mingw64-termcap
+Provides: @tool_target at -termcap
+Provides: @tool_target at -termcap-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-zlib-helper.spec b/mingw32/x86_64/mingw64-zlib-helper.spec
similarity index 55%
rename from mingw32/x86_64/x86_64-w64-mingw32-zlib-helper.spec
rename to mingw32/x86_64/mingw64-zlib-helper.spec
index e47ba6c..eda5937 100644
--- a/mingw32/x86_64/x86_64-w64-mingw32-zlib-helper.spec
+++ b/mingw32/x86_64/mingw64-zlib-helper.spec
@@ -1,7 +1,7 @@
-Name: x86_64-w64-mingw32-zlib-helper
-Version: 0.20120422.0
+Name: mingw64-zlib-helper
+Version: 0.20120426.2
Release: 1%{?dist}
-Summary: RTEMS mingw32 zlib libs helper
+Summary: RTEMS mingw zlib helper
Group: Development
License: GPLv3+
@@ -9,18 +9,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw64-zlib
+
+%description
+%{summary}.
+
+%global pkgname x86_64-w64-mingw32-zlib-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 zlib helper
+Group: Development
Requires: mingw64-zlib
Provides: x86_64-w64-mingw32-zlib
Provides: x86_64-w64-mingw32-zlib-devel
-%description
-%{summary}
+%description -n %{pkgname}
+%{summary}.
%prep
%setup -q -c -T -n %{name}-%{version}
%build
-%files
+%files -n %{pkgname}
%changelog
diff --git a/mingw32/x86_64/mingw64-zlib-helper.spec.in b/mingw32/x86_64/mingw64-zlib-helper.spec.in
new file mode 100644
index 0000000..a697243
--- /dev/null
+++ b/mingw32/x86_64/mingw64-zlib-helper.spec.in
@@ -0,0 +1,35 @@
+Name: mingw64-zlib-helper
+Version: 0.20120426.2
+Release: 1%{?dist}
+Summary: RTEMS mingw zlib helper
+
+Group: Development
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: mingw64-zlib
+
+%description
+%{summary}.
+
+%global pkgname @tool_target at -zlib-helper
+
+%package -n %{pkgname}
+Summary: RTEMS mingw64 zlib helper
+Group: Development
+Requires: mingw64-zlib
+Provides: @tool_target at -zlib
+Provides: @tool_target at -zlib-devel
+
+%description -n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files -n %{pkgname}
+
+%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-binutils-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-binutils-helper.spec.in
deleted file mode 100644
index bd88041..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-binutils-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -binutils-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS binutils helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-binutils
-Requires: mingw64-binutils
-Provides: @rpmprefix@@tool_target at -binutils
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-curses-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-curses-helper.spec.in
deleted file mode 100644
index a7da6f4..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-curses-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -curses-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 curses libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-pdcurses
-Requires: mingw64-pdcurses
-Provides: @rpmprefix@@tool_target at -ncurses
-Provides: @rpmprefix@@tool_target at -ncurses-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-expat-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-expat-helper.spec.in
deleted file mode 100644
index b759715..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-expat-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -expat-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 expat libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-expat
-Requires: mingw64-expat
-Provides: @rpmprefix@@tool_target at -expat
-Provides: @rpmprefix@@tool_target at -expat-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-gcc-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-gcc-helper.spec.in
deleted file mode 100644
index cce71a3..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-gcc-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -gcc-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS gcc helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-gcc
-Requires: mingw64-gcc
-Provides: @rpmprefix@@tool_target at -gcc
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-gmp-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-gmp-helper.spec.in
deleted file mode 100644
index 0815d40..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-gmp-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -gmp-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 gmp libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-gmp
-Requires: mingw64-gmp
-Provides: @rpmprefix@@tool_target at -gmp
-Provides: @rpmprefix@@tool_target at -gmp-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-libs-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-libs-helper.spec.in
deleted file mode 100644
index d695a21..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-libs-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -libs-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-runtime
-Requires: mingw64-runtime
-Provides: @rpmprefix@@tool_target at -libs
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-mpc-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-mpc-helper.spec.in
deleted file mode 100644
index 648828e..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-mpc-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -mpc-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 mpc libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-mpc
-Requires: mingw64-mpc
-Provides: @rpmprefix@@tool_target at -mpc
-Provides: @rpmprefix@@tool_target at -mpc-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-mpfr-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-mpfr-helper.spec.in
deleted file mode 100644
index 12daf08..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-mpfr-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -mpfr-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 mpfr libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-mpfr
-Requires: mingw64-mpfr
-Provides: @rpmprefix@@tool_target at -mpfr
-Provides: @rpmprefix@@tool_target at -mpfr-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-readline-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-readline-helper.spec.in
deleted file mode 100644
index d0abcb7..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-readline-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -readline-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 readline libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-readline
-Requires: mingw64-readline
-Provides: @rpmprefix@@tool_target at -readline
-Provides: @rpmprefix@@tool_target at -readline-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-termcap-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-termcap-helper.spec.in
deleted file mode 100644
index 11de3c4..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-termcap-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -termcap-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 termcap libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-termcap
-Requires: mingw64-termcap
-Provides: @rpmprefix@@tool_target at -termcap
-Provides: @rpmprefix@@tool_target at -termcap-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-w32api-helper.spec b/mingw32/x86_64/x86_64-w64-mingw32-w32api-helper.spec
deleted file mode 100644
index 6d4d287..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-w32api-helper.spec
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: x86_64-w64-mingw32-w32api-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-w32api
-Requires: mingw64-w32api
-Provides: x86_64-w64-mingw32-w32api
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-w32api-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-w32api-helper.spec.in
deleted file mode 100644
index 0315fb5..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-w32api-helper.spec.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Name: @rpmprefix@@tool_target at -w32api-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 runtime libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-w32api
-Requires: mingw64-w32api
-Provides: @rpmprefix@@tool_target at -w32api
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
diff --git a/mingw32/x86_64/x86_64-w64-mingw32-zlib-helper.spec.in b/mingw32/x86_64/x86_64-w64-mingw32-zlib-helper.spec.in
deleted file mode 100644
index 496a6db..0000000
--- a/mingw32/x86_64/x86_64-w64-mingw32-zlib-helper.spec.in
+++ /dev/null
@@ -1,26 +0,0 @@
-Name: @rpmprefix@@tool_target at -zlib-helper
-Version: 0.20120422.0
-Release: 1%{?dist}
-Summary: RTEMS mingw32 zlib libs helper
-
-Group: Development
-License: GPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch: noarch
-BuildRequires: mingw64-zlib
-Requires: mingw64-zlib
-Provides: @rpmprefix@@tool_target at -zlib
-Provides: @rpmprefix@@tool_target at -zlib-devel
-
-%description
-%{summary}
-
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%build
-
-%files
-
-%changelog
More information about the vc
mailing list