[rtems-crossrpms commit] Add gcc-c++-helper

Ralf Corsepius ralf at rtems.org
Thu Apr 4 03:28:32 UTC 2013


Module:    rtems-crossrpms
Branch:    master
Commit:    5c4c82666b9bee9e7e0540fd48a4771ac41a1854
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=5c4c82666b9bee9e7e0540fd48a4771ac41a1854

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Apr  3 05:36:48 2013 +0200

Add gcc-c++-helper

---

 mingw32/i686/Makefile.am                      |    5 +++
 mingw32/i686/mingw32-gcc-c++-helper.spec.in   |   45 +++++++++++++++++++++++++
 mingw32/x86_64/Makefile.am                    |    5 +++
 mingw32/x86_64/mingw64-gcc-c++-helper.spec.in |   45 +++++++++++++++++++++++++
 4 files changed, 100 insertions(+), 0 deletions(-)

diff --git a/mingw32/i686/Makefile.am b/mingw32/i686/Makefile.am
index 70cc608..f9a8ca0 100644
--- a/mingw32/i686/Makefile.am
+++ b/mingw32/i686/Makefile.am
@@ -34,6 +34,11 @@ noinst_DATA += @rpmprefix at mingw32-expat-helper.spec
 CLEANFILES += @rpmprefix at mingw32-gcc-helper.spec
 noinst_DATA += @rpmprefix at mingw32-gcc-helper.spec
 
+ at rpmprefix@mingw32-gcc-c++-helper.spec: mingw32-gcc-c++-helper.spec.in  
+	$(MKSPEC) mingw32-gcc-c++-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw32-gcc-c++-helper.spec
+noinst_DATA += @rpmprefix at mingw32-gcc-c++-helper.spec
+
 @rpmprefix at mingw32-gmp-helper.spec: mingw32-gmp-helper.spec.in  
 	$(MKSPEC) mingw32-gmp-helper.spec.in | $(SPECSTRIP) > $@
 CLEANFILES += @rpmprefix at mingw32-gmp-helper.spec
diff --git a/mingw32/i686/mingw32-gcc-c++-helper.spec.in b/mingw32/i686/mingw32-gcc-c++-helper.spec.in
new file mode 100644
index 0000000..1052eb4
--- /dev/null
+++ b/mingw32/i686/mingw32-gcc-c++-helper.spec.in
@@ -0,0 +1,45 @@
+Name:		mingw32-gcc-c++-helper
+Version:        0.20130403.1
+Release:        1%{?dist}
+Summary:        RTEMS mingw gcc-c++ helper
+
+Group:          Development
+License:        GPLv3+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:	noarch
+BuildRequires:  mingw32-gcc-c++
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global	pkgname	@tool_target at -gcc-c++-helper
+%else
+%global	pkgname	i686-pc-mingw32-gcc-c++-helper
+%endif
+
+%package	-n %{pkgname}
+Summary:	RTEMS mingw32 gcc-c++ helper
+Group:          Development
+Requires:       mingw32-gcc-c++
+Provides:	i686-pc-mingw32-gcc-c++
+
+%if 0%{?fedora} >= 17
+Provides:	@tool_target at -gcc-c++
+Obsoletes:      i686-pc-mingw32-gcc-c++
+Provides:	i686-pc-mingw32-gcc-c++-helper = %{version}-%{release}
+Obsoletes:      i686-pc-mingw32-gcc-c++-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 bde9ce4..45f222a 100644
--- a/mingw32/x86_64/Makefile.am
+++ b/mingw32/x86_64/Makefile.am
@@ -34,6 +34,11 @@ noinst_DATA += @rpmprefix at mingw64-expat-helper.spec
 CLEANFILES += @rpmprefix at mingw64-gcc-helper.spec
 noinst_DATA += @rpmprefix at mingw64-gcc-helper.spec
 
+ at rpmprefix@mingw64-gcc-c++-helper.spec: mingw64-gcc-c++-helper.spec.in  
+	$(MKSPEC) mingw64-gcc-c++-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix at mingw64-gcc-c++-helper.spec
+noinst_DATA += @rpmprefix at mingw64-gcc-c++-helper.spec
+
 @rpmprefix at mingw64-gmp-helper.spec: mingw64-gmp-helper.spec.in  
 	$(MKSPEC) mingw64-gmp-helper.spec.in | $(SPECSTRIP) > $@
 CLEANFILES += @rpmprefix at mingw64-gmp-helper.spec
diff --git a/mingw32/x86_64/mingw64-gcc-c++-helper.spec.in b/mingw32/x86_64/mingw64-gcc-c++-helper.spec.in
new file mode 100644
index 0000000..6c9cd41
--- /dev/null
+++ b/mingw32/x86_64/mingw64-gcc-c++-helper.spec.in
@@ -0,0 +1,45 @@
+Name:		mingw64-gcc-c++-helper
+Version:        0.20130403.1
+Release:        1%{?dist}
+Summary:        RTEMS mingw gcc-c++ helper
+
+Group:          Development
+License:        GPLv3+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:	noarch
+BuildRequires:  mingw64-gcc-c++
+
+%description
+%{summary}.
+
+%if 0%{?fedora} >= 17
+%global	pkgname	@tool_target at -gcc-c++-helper
+%else
+%global	pkgname	i686-pc-mingw64-gcc-c++-helper
+%endif
+
+%package	-n %{pkgname}
+Summary:	RTEMS mingw32 gcc-c++ helper
+Group:          Development
+Requires:       mingw64-gcc-c++
+Provides:	i686-pc-mingw64-gcc-c++
+
+%if 0%{?fedora} >= 17
+Provides:	@tool_target at -gcc-c++
+Obsoletes:      i686-pc-mingw64-gcc-c++
+Provides:	i686-pc-mingw64-gcc-c++-helper = %{version}-%{release}
+Obsoletes:      i686-pc-mingw64-gcc-c++-helper < %{version}-%{release}
+%endif
+
+%description	-n %{pkgname}
+%{summary}.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%build
+
+%files		-n %{pkgname}
+
+%changelog




More information about the vc mailing list