initial packaging
authorAnas Nashif <anas.nashif@intel.com>
Fri, 23 Nov 2012 20:40:09 +0000 (12:40 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Fri, 23 Nov 2012 20:40:09 +0000 (12:40 -0800)
packaging/README.packaging [new file with mode: 0644]
packaging/cpp [new file with mode: 0644]
packaging/gcc.changes [new file with mode: 0644]
packaging/gcc.spec [new file with mode: 0644]

diff --git a/packaging/README.packaging b/packaging/README.packaging
new file mode 100644 (file)
index 0000000..391bb6f
--- /dev/null
@@ -0,0 +1,33 @@
+Packaging GCC
+=============
+
+Shared libraries used by programs that are linked _with_ gcc need
+to go into separate packages.  Shared library package names should
+contain the libraries major .so version to allow parallel installation
+of both programs using and gccs linking against those libraries.
+An example is the libgfortran and libgfortran2 packages.
+
+The development part of language runtime libraries go into
+libFOOver-devel packages and depend on the proper libFOOsover package.
+
+
+Build variants supported
+========================
+
+The gcc packages can build different flavors of compiler packages.
+
+ - The standard compiler packages are installed beyond /usr.
+
+ - Sets of packages for installation beyond /opt/gcc are provided
+   if enabled by %{gcc_for_opt} (related: @PREFIX_FOR_OPT@, @LIBDIR_FOR_OPT@,
+   @GCC_FOR_OPT@
+
+ - cross.spec.in is used for auto-generation of
+   cross-*-gcc-icecream-backend.spec by the change_spec script using
+   parts of the configuration from the main compiler.  These packages
+   provide tarballs with just cc1 and cc1plus serving as icecream environments.
+
+ - micro-cross.spec.in is a script that is called from change_spec and
+   outputs cross-*-gcc.spec files.  These packages provide cross compiler
+   environments beyond /opt/cross for C and C++ as a single package.
+
diff --git a/packaging/cpp b/packaging/cpp
new file mode 100644 (file)
index 0000000..83a3685
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Traditionally, /lib/cpp only knew about C.
+exec /usr/bin/cpp -xc "$@"
diff --git a/packaging/gcc.changes b/packaging/gcc.changes
new file mode 100644 (file)
index 0000000..2f93cbc
--- /dev/null
@@ -0,0 +1,210 @@
+-------------------------------------------------------------------
+Wed Apr 18 11:26:15 UTC 2012 - rguenther@suse.com
+
+- Switch gcc to default 4.7.
+
+-------------------------------------------------------------------
+Fri Jan 27 15:30:38 UTC 2012 - rguenther@suse.com
+
+- Change licenses to follow SPDX convention.
+
+-------------------------------------------------------------------
+Mon Sep 26 13:41:02 CEST 2011 - dmueller@suse.de
+
+- use the target gcc binary for finding the right cc1 path
+
+-------------------------------------------------------------------
+Wed May 11 08:15:44 UTC 2011 - rguenther@novell.com
+
+- Switch gcc to default 4.6.
+
+-------------------------------------------------------------------
+Thu Feb 10 10:06:12 UTC 2011 - rguenther@novell.com
+
+- Fix licenses to match those of the system compiler.  [bnc#670658]
+
+-------------------------------------------------------------------
+Tue Jan 25 10:36:30 UTC 2011 - rguenther@novell.com
+
+- Fix string quoting.  [bnc#666416]
+
+-------------------------------------------------------------------
+Wed Jan 12 11:53:29 UTC 2011 - rguenther@novell.com
+
+- Uglify spec file formatting.
+
+-------------------------------------------------------------------
+Fri Dec 10 11:53:06 UTC 2010 - rguenther@novell.com
+
+- Add info directory aliases for unversioned variants of the
+  GCC user manuals.  [bnc#635355]
+
+-------------------------------------------------------------------
+Mon Nov 29 12:24:23 UTC 2010 - rguenther@novell.com
+
+- Drop libffi packages.
+
+-------------------------------------------------------------------
+Fri Feb 26 11:30:14 CET 2010 - rguenther@novell.com
+
+- Fix gcc-c++-32bit and gcc-c++-64bit again.
+
+-------------------------------------------------------------------
+Thu Feb 25 14:01:36 CET 2010 - rguenther@suse.de
+
+- Drop c++_compiler provides from gcc-c++-32bit and gcc-c++-64bit.
+
+-------------------------------------------------------------------
+Thu Feb 25 13:03:44 CET 2010 - rguenther@suse.de
+
+- Re-add gcc-c++-32bit and gcc-c++-64bit packages.
+
+-------------------------------------------------------------------
+Tue Feb 16 15:45:20 UTC 2010 - coolo@novell.com
+
+- Switch gcc to default 4.5.
+
+-------------------------------------------------------------------
+Mon Apr 27 17:01:13 CEST 2009 - rguenther@suse.de
+
+- Switch gcc default to 4.4.
+
+-------------------------------------------------------------------
+Mon Feb 16 11:03:38 CET 2009 - rguenther@suse.de
+
+- Enable links for classpath binaries and manpages again.
+
+-------------------------------------------------------------------
+Fri Jan  9 15:35:45 CET 2009 - rguenther@suse.de
+
+- On ppc64 obsolete gcc-objc-64bit by gcc-objc.
+
+-------------------------------------------------------------------
+Thu Dec  4 18:26:30 CET 2008 - matz@suse.de
+
+- Add new gcc-z9 package on s390 and s390x to change the
+  default -march and -mtune settings.
+
+-------------------------------------------------------------------
+Wed May  7 11:18:00 CEST 2008 - rguenther@suse.de
+
+- Make dependencies between the gcc subpackages versioned. [bnc#385305]
+
+-------------------------------------------------------------------
+Fri Nov 23 14:53:40 CET 2007 - rguenther@suse.de
+
+- Make gcc-gij dependency of gcc-java a recommendation, all java
+  tools are back to the gcc-java package.  Require libgcj-devel
+  from gcc-java.
+- Revert /lib/cpp changes.
+
+-------------------------------------------------------------------
+Fri Nov 16 16:15:54 CET 2007 - rguenther@suse.de
+
+- For now disable symlinking of binaries and manpages that
+  conflict with the classpath package.
+
+-------------------------------------------------------------------
+Tue Nov 13 14:38:25 CET 2007 - rguenther@suse.de
+
+- Make /lib/cpp traditional and avoid GCC and target specific
+  defines.
+
+-------------------------------------------------------------------
+Tue Oct 30 11:19:36 CET 2007 - rguenther@suse.de
+
+- Add gcc-gij dependency to gcc-java as it contains many of the
+  tools formerly packaged in the gcc-java package.
+
+-------------------------------------------------------------------
+Mon Sep 24 11:21:52 CEST 2007 - rguenther@suse.de
+
+- Switch gcc default to 4.3.
+
+-------------------------------------------------------------------
+Fri Jul 27 20:35:04 CEST 2007 - rguenther@suse.de
+
+- Fix typo.
+
+-------------------------------------------------------------------
+Tue Jul 24 11:14:03 CEST 2007 - rguenther@suse.de
+
+- Add 32bit and 64bit variants of gcc-gij.  [#293423]
+
+-------------------------------------------------------------------
+Fri Jul  6 15:10:24 CEST 2007 - rguenther@suse.de
+
+- Mark ppc64 as separate bi-32.
+
+-------------------------------------------------------------------
+Thu Jun 14 18:39:23 CEST 2007 - ro@suse.de
+
+- Do not mark README.packaging as NoSource. (again) 
+
+-------------------------------------------------------------------
+Fri Jun  8 16:19:40 CEST 2007 - rguenther@suse.de
+
+- Switch gcc default to 4.2.  [#275939]
+
+-------------------------------------------------------------------
+Tue Apr 24 18:35:21 CEST 2007 - rguenther@suse.de
+
+- Do not link to grmic and grmiregistry, they conflict with
+  the classpath package versions.
+
+-------------------------------------------------------------------
+Tue Jan 16 17:05:32 CET 2007 - rguenther@suse.de
+
+- Do not mark README.packaging as NoSource.
+
+-------------------------------------------------------------------
+Thu Nov  9 17:40:49 CET 2006 - rguenther@suse.de
+
+- Remove gcc-c++-32bit and gcc-c++-64bit packages.
+
+-------------------------------------------------------------------
+Tue Oct 31 15:03:02 CET 2006 - dmueller@suse.de
+
+- don't build as root
+
+-------------------------------------------------------------------
+Mon Oct 30 12:11:34 CET 2006 - rguenther@suse.de
+
+- Make gcc architecture dependent again.  [#215971]
+
+-------------------------------------------------------------------
+Thu Oct 26 11:40:43 CEST 2006 - rguenther@suse.de
+
+- Add dependencies to the gcc and non-32/64bit packages.  [#215217]
+
+-------------------------------------------------------------------
+Tue Sep 19 16:27:15 CEST 2006 - rguenther@suse.de
+
+- New gcc-gij package.
+
+-------------------------------------------------------------------
+Fri Aug 25 10:37:29 CEST 2006 - rguenther@suse.de
+
+- Add 32bit and 64bit support packages to gcc, gcc-c++, gcc-fortran,
+  gcc-objc and libffi-devel.
+
+-------------------------------------------------------------------
+Thu Aug 24 08:24:20 CEST 2006 - rguenther@suse.de
+
+- Make gcc require cpp to pull in /lib/cpp.
+
+-------------------------------------------------------------------
+Fri Aug 18 10:54:23 CEST 2006 - rguenther@suse.de
+
+- gcc obsoletes gcc-mudflap which is no longer.
+
+-------------------------------------------------------------------
+Mon Aug  7 11:28:34 CEST 2006 - rguenther@suse.de
+
+- Provide gcc-mudflap, gcc-info and gcc-locale packages [#197515].
+
+-------------------------------------------------------------------
+Fri Jul 14 14:46:31 CEST 2006 - rguenther@suse.de
+
+- New package.
+
diff --git a/packaging/gcc.spec b/packaging/gcc.spec
new file mode 100644 (file)
index 0000000..6bb8764
--- /dev/null
@@ -0,0 +1,550 @@
+Name:           gcc
+%define separate_bi32 0
+%define separate_bi64 0
+%ifarch ppc
+%define separate_bi64 1
+%endif
+%ifarch x86_64 s390x ppc64
+%define separate_bi32 1
+%endif
+Url:            http://gcc.gnu.org/
+%define gcc_version 47
+%define gcc_suffix 4.7
+Version:        4.7
+Release:        0
+Summary:        The system GNU C Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Provides:       c_compiler
+Obsoletes:      gcc-mudflap
+Requires:       cpp
+Requires:       gcc%{gcc_version}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source:         cpp
+Source99:       README.packaging
+
+%description
+The system GNU C Compiler.
+
+
+
+%package -n gcc-32bit
+Summary:        The system GNU C Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       gcc = %{version}
+Requires:       gcc%{gcc_version}-32bit
+
+%description -n gcc-32bit
+The system GNU C Compiler.
+
+
+
+%package -n gcc-64bit
+Summary:        The system GNU C Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       gcc = %{version}
+Requires:       gcc%{gcc_version}-64bit
+
+%description -n gcc-64bit
+The system GNU C Compiler.
+
+
+
+%package -n cpp
+Summary:        The system GNU Preprocessor
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       cpp%{gcc_version}
+
+%description -n cpp
+The system GNU Preprocessor.
+
+
+
+%package -n gcc-locale
+Summary:        The system GNU Compiler locale files
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       gcc%{gcc_version}-locale
+
+%description -n gcc-locale
+The system GNU Compiler locale files.
+
+
+
+%package -n gcc-info
+Summary:        The system GNU Compiler documentation
+License:        GFDL-1.2
+Group:          Development/Languages/C and C++
+Requires:       gcc%{gcc_version}-info
+
+%description -n gcc-info
+The system GNU Compiler documentation.
+
+# There is intentionally no postun with install_info_delete as there
+# is no way to just remove the aliased entries.  The content owners
+# install_info_delete will also remove the aliases though.
+# install-info does not pick up descriptions from the content.
+
+%package -n gcc-c++
+Summary:        The system GNU C++ Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Provides:       c++_compiler
+Requires:       gcc = %{version}
+Requires:       gcc%{gcc_version}-c++
+
+%description -n gcc-c++
+The system GNU C++ Compiler.
+
+
+%package -n gcc-c++-32bit
+Summary:        The system GNU C++ Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       gcc-32bit = %{version}
+Requires:       gcc-c++ = %{version}
+Requires:       libstdc++%{gcc_version}-devel-32bit
+
+%description -n gcc-c++-32bit
+The system GNU C++ Compiler 32 bit support.
+
+
+%package -n gcc-c++-64bit
+Summary:        The system GNU C++ Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       gcc-64bit = %{version}
+Requires:       gcc-c++ = %{version}
+Requires:       libstdc++%{gcc_version}-devel-64bit
+
+%description -n gcc-c++-64bit
+The system GNU C++ Compiler 64 bit support.
+
+
+
+%package -n libstdc++-devel
+Summary:        The system GNU C++ development files
+License:        GPL-3.0-with-GCC-exception
+Group:          System/Libraries
+Requires:       libstdc++%{gcc_version}-devel
+
+%description -n libstdc++-devel
+The system GNU C++ development files.
+
+
+
+%package -n gcc-fortran
+Summary:        The system GNU Fortran Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Fortran
+Requires:       gcc = %{version}
+Requires:       gcc%{gcc_version}-fortran
+
+%description -n gcc-fortran
+The system GNU Fortran Compiler.
+
+
+%package -n gcc-fortran-32bit
+Summary:        The system GNU Fortran Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Fortran
+Requires:       gcc%{gcc_version}-fortran-32bit
+Requires:       gcc-fortran = %{version}
+
+%description -n gcc-fortran-32bit
+The system GNU Fortran Compiler 32 bit support.
+
+
+%package -n gcc-fortran-64bit
+Summary:        The system GNU Fortran Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Fortran
+Requires:       gcc%{gcc_version}-fortran-64bit
+Requires:       gcc-fortran = %{version}
+
+%description -n gcc-fortran-64bit
+The system GNU Fortran Compiler 64 bit support.
+
+
+%package -n gcc-java
+Summary:        The system GNU Java Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Java
+Requires:       gcc%{gcc_version}-java
+Requires:       libgcj-devel = %{version}
+Recommends:     gcc-gij = %{version}
+Requires:       gcc = %{version}
+
+%description -n gcc-java
+The system GNU Java Compiler.
+
+
+
+%package -n libgcj-devel
+Summary:        The system GNU Java development files.
+License:        GPL-2.0-with-classpath-exception
+Group:          Development/Libraries/Java
+Requires:       libgcj%{gcc_version}-devel
+
+%description -n libgcj-devel
+The system GNU Java development files.
+
+
+
+%package -n gcc-gij
+Summary:        The system GNU Java bytecode interpreter
+License:        GPL-2.0+
+Group:          Development/Languages/Java
+Requires:       gcc%{gcc_version}-gij
+
+%description -n gcc-gij
+The system GNU Java bytecode interpreter.
+
+
+
+%package -n gcc-gij-32bit
+Summary:        The system GNU Java bytecode interpreter
+License:        GPL-2.0+
+Group:          Development/Languages/Java
+Requires:       gcc%{gcc_version}-gij-32bit
+
+%description -n gcc-gij-32bit
+The system GNU Java bytecode interpreter as 32 bit application.
+
+
+
+%package -n gcc-gij-64bit
+Summary:        The system GNU Java bytecode interpreter
+License:        GPL-2.0+
+Group:          Development/Languages/Java
+Requires:       gcc%{gcc_version}-gij-64bit
+
+%description -n gcc-gij-64bit
+The system GNU Java bytecode interpreter as 64 bit application.
+
+
+
+%package -n gcc-objc
+Summary:        The system GNU Objective C Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Other
+Requires:       gcc = %{version}
+Requires:       gcc%{gcc_version}-objc
+%ifarch ppc64
+Obsoletes:      gcc-objc-64bit
+%endif
+
+%description -n gcc-objc
+The system GNU Objective C Compiler.
+
+
+
+%package -n gcc-objc-32bit
+Summary:        The system GNU Objective C Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Other
+Requires:       gcc%{gcc_version}-objc-32bit
+Requires:       gcc-objc = %{version}
+
+%description -n gcc-objc-32bit
+The system GNU Objective C Compiler 32 bit support.
+
+
+
+%package -n gcc-objc-64bit
+Summary:        The system GNU Objective C Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Other
+Requires:       gcc%{gcc_version}-objc-64bit
+Requires:       gcc-objc = %{version}
+
+%description -n gcc-objc-64bit
+The system GNU Objective C Compiler 64 bit support.
+
+
+
+%package -n gcc-obj-c++
+Summary:        The system GNU Objective C++ Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/Other
+Requires:       gcc%{gcc_version}-obj-c++
+Requires:       gcc-objc = %{version}
+
+%description -n gcc-obj-c++
+The system GNU Objective C++ Compiler.
+
+
+
+%package -n gcc-ada
+Summary:        The system GNU Ada Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       gcc = %{version}
+Requires:       gcc%{gcc_version}-ada
+
+%description -n gcc-ada
+The system GNU Ada Compiler.
+
+
+%package -n gcc-z9
+Summary:        The system GNU C Compiler
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Requires:       gcc
+
+%description -n gcc-z9
+The system GNU C Compiler.
+
+
+%prep 
+
+%build
+echo "This is a dummy package to provide a dependency on the system compiler." > README
+
+%install
+mkdir -p $RPM_BUILD_ROOT/lib
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-objc/
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-obj-c++/
+# Link all the binaries
+for program in \
+        gcc gcov \
+        g++ \
+        cpp \
+       gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \
+       gij \
+       gappletviewer \
+       gjar gjarsigner gjavah gkeytool gnative2ascii gorbd grmic \
+       grmid grmiregistry gserialver gtnameserv \
+%if %{separate_bi32}
+       grmiregistry32 \
+       gij32 \
+%endif
+%if %{separate_bi64}
+       grmiregistry64 \
+       gij64 \
+%endif
+        gfortran \
+       gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \
+       gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \
+    ; do
+  ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program
+done
+# Link section 1 manpages
+for man1 in \
+        gcc gcov \
+        g++ \
+        cpp \
+        gfortran \
+       gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \
+       gij \
+       gappletviewer gjar gjarsigner gjavah \
+       gkeytool gnative2ascii gorbd grmic grmid grmiregistry gserialver \
+       gtnameserv \
+    ; do
+  ln -sf $man1-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$man1.1.gz
+done
+# Provide the traditional /lib/cpp that only handles C
+cp $RPM_SOURCE_DIR/cpp $RPM_BUILD_ROOT/lib/
+chmod 755 $RPM_BUILD_ROOT/lib/cpp
+# Provide extra symlinks
+ln -sf g++-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/c++
+ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc
+ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz
+ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
+%ifarch s390 s390x
+dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
+dir=${dir%/cc1}
+mkdir -p $RPM_BUILD_ROOT/$dir
+cat > $RPM_BUILD_ROOT/$dir/defaults.spec <<EOF
+*default_spec:
+%{!mtune=*:-mtune=z10} %{!march=*:-march=z9-109}
+EOF
+%endif
+
+%files
+%defattr(-,root,root)
+%{_prefix}/bin/gcc
+%{_prefix}/bin/cc
+%{_prefix}/bin/gcov
+%doc %{_mandir}/man1/gcc.1.gz
+%doc %{_mandir}/man1/cc.1.gz
+%doc %{_mandir}/man1/gcov.1.gz
+
+%files -n cpp
+%defattr(-,root,root)
+/lib/cpp
+%{_prefix}/bin/cpp
+%doc %{_mandir}/man1/cpp.1.gz
+
+%files -n gcc-c++
+%defattr(-,root,root)
+%{_prefix}/bin/g++
+%{_prefix}/bin/c++
+%doc %{_mandir}/man1/g++.1.gz
+%doc %{_mandir}/man1/c++.1.gz
+
+%files -n gcc-fortran
+%defattr(-,root,root)
+%{_prefix}/bin/gfortran
+%doc %{_mandir}/man1/gfortran.1.gz
+
+%files -n gcc-java
+%defattr(-,root,root)
+%{_prefix}/bin/gcj
+%{_prefix}/bin/gcjh
+%{_prefix}/bin/gcj-dbtool
+%{_prefix}/bin/jcf-dump
+%{_prefix}/bin/jv-convert
+%{_prefix}/bin/gc-analyze
+%doc %{_mandir}/man1/gcj.1.gz
+%doc %{_mandir}/man1/gcjh.1.gz
+%doc %{_mandir}/man1/gcj-dbtool.1.gz
+%doc %{_mandir}/man1/jcf-dump.1.gz
+%doc %{_mandir}/man1/jv-convert.1.gz
+%doc %{_mandir}/man1/gc-analyze.1.gz
+
+%files -n gcc-gij
+%defattr(-,root,root)
+%{_prefix}/bin/gij
+%{_prefix}/bin/gappletviewer
+%{_prefix}/bin/gjar
+%{_prefix}/bin/gjarsigner
+%{_prefix}/bin/gjavah
+%{_prefix}/bin/gkeytool
+%{_prefix}/bin/gnative2ascii
+%{_prefix}/bin/gorbd
+%{_prefix}/bin/grmic
+%{_prefix}/bin/grmid
+%{_prefix}/bin/grmiregistry
+%{_prefix}/bin/gserialver
+%{_prefix}/bin/gtnameserv
+%doc %{_mandir}/man1/gij.1.gz
+%doc %{_mandir}/man1/gappletviewer.1.gz
+%doc %{_mandir}/man1/gjar.1.gz
+%doc %{_mandir}/man1/gjarsigner.1.gz
+%doc %{_mandir}/man1/gjavah.1.gz
+%doc %{_mandir}/man1/gkeytool.1.gz
+%doc %{_mandir}/man1/gnative2ascii.1.gz
+%doc %{_mandir}/man1/gorbd.1.gz
+%doc %{_mandir}/man1/grmic.1.gz
+%doc %{_mandir}/man1/grmid.1.gz
+%doc %{_mandir}/man1/grmiregistry.1.gz
+%doc %{_mandir}/man1/gserialver.1.gz
+%doc %{_mandir}/man1/gtnameserv.1.gz
+
+%files -n gcc-objc
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-obj-c++
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-locale
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-info
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-ada
+%defattr(-,root,root)
+%{_prefix}/bin/gnat
+%{_prefix}/bin/gnatbind
+%{_prefix}/bin/gnatbl
+%{_prefix}/bin/gnatchop
+%{_prefix}/bin/gnatclean
+%{_prefix}/bin/gnatfind
+%{_prefix}/bin/gnatkr
+%{_prefix}/bin/gnatlink
+%{_prefix}/bin/gnatls
+%{_prefix}/bin/gnatmake
+%{_prefix}/bin/gnatname
+%{_prefix}/bin/gnatprep
+%{_prefix}/bin/gnatxref
+%{_prefix}/bin/gprmake
+
+%files -n libstdc++-devel
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n libgcj-devel
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%if %{separate_bi32}
+
+%files -n gcc-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-c++-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-fortran-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-objc-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-gij-32bit
+%defattr(-,root,root)
+%{_prefix}/bin/gij32
+%{_prefix}/bin/grmiregistry32
+
+%endif
+%if %{separate_bi64}
+
+%files -n gcc-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-c++-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-fortran-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-objc-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-gij-64bit
+%defattr(-,root,root)
+%{_prefix}/bin/gij64
+%{_prefix}/bin/grmiregistry64
+
+%endif
+%ifarch s390 s390x
+
+%files -n gcc-z9
+%defattr(-,root,root)
+/usr/lib*/gcc/*-suse-linux/*/defaults.spec
+%endif
+
+%changelog