Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
gcc
gcc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc.spec of Package gcc
# # spec file for package gcc (Version 4.4) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild 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 44 %define gcc_suffix 4.4 License: GPL v2 or later Version: 4.4 Release: 3 Group: Development/Languages/C and C++ Summary: The system GNU C Compiler Provides: c_compiler Obsoletes: gcc-mudflap Requires: cpp gcc%{gcc_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: cpp Source99: README.packaging %description The system GNU C Compiler. Authors: -------- The GCC team. %package -n gcc-32bit License: GPL v2 or later Group: Development/Languages/C and C++ Summary: The system GNU C Compiler Requires: gcc%{gcc_version}-32bit Requires: gcc = %{version} %description -n gcc-32bit This rpm was re-packaged from gcc-4.4-2.2, whose source rpm is gcc-4.4-2.2.src.rpm. (obs://build.suse.de/SUSE:Factory:Head/standard/3185015b0df1b2ce265bc44762f028b0-gcc) The system GNU C Compiler. Authors: -------- The GCC team. %package -n gcc-64bit License: GPL v2 or later Group: Development/Languages/C and C++ Summary: The system GNU C Compiler Requires: gcc%{gcc_version}-64bit Requires: gcc = %{version} %description -n gcc-64bit This rpm was re-packaged from gcc-4.4-2.2, whose source rpm is gcc-4.4-2.2.src.rpm. (obs://build.suse.de/SUSE:Factory:Head/standard/3185015b0df1b2ce265bc44762f028b0-gcc) The system GNU C Compiler. Authors: -------- The GCC team. %package -n cpp License: GPL v2 or later Group: Development/Languages/C and C++ Summary: The system GNU Preprocessor Requires: cpp%{gcc_version} %description -n cpp The system GNU Preprocessor. Authors: -------- The GCC team. %package -n gcc-locale License: GPL v2 or later Group: Development/Languages/C and C++ Summary: The system GNU Compiler locale files Requires: gcc%{gcc_version}-locale %description -n gcc-locale The system GNU Compiler locale files. %package -n gcc-info License: GNU Free Documentation License, Version 1.1 (GFDL 1.1) Group: Development/Languages/C and C++ Summary: The system GNU Compiler documentation Requires: gcc%{gcc_version}-info %description -n gcc-info The system GNU Compiler documentation. %package -n gcc-c++ License: LGPL v2.1 or later Group: Development/Languages/C and C++ Summary: The system GNU C++ Compiler Provides: c++_compiler Requires: gcc%{gcc_version}-c++ Requires: gcc = %{version} %description -n gcc-c++ The system GNU C++ Compiler. %package -n libstdc++-devel License: GPL v2 or later Group: System/Libraries Summary: The system GNU C++ development files Requires: libstdc++%{gcc_version}-devel %description -n libstdc++-devel The system GNU C++ development files. %package -n gcc-fortran License: GPL v2 or later Group: Development/Languages/Fortran Summary: The system GNU Fortran Compiler Requires: gcc%{gcc_version}-fortran Requires: gcc = %{version} %description -n gcc-fortran The system GNU Fortran Compiler. Authors: -------- The GCC team. %package -n gcc-fortran-32bit License: GPL v2 or later Group: Development/Languages/Fortran Summary: The system GNU Fortran Compiler Requires: gcc%{gcc_version}-fortran-32bit Requires: gcc-fortran = %{version} %description -n gcc-fortran-32bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "32bit" ending The system GNU Fortran Compiler. Authors: -------- The GCC team. %package -n gcc-fortran-64bit License: GPL v2 or later Group: Development/Languages/Fortran Summary: The system GNU Fortran Compiler Requires: gcc%{gcc_version}-fortran-64bit Requires: gcc-fortran = %{version} %description -n gcc-fortran-64bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "64bit" ending The system GNU Fortran Compiler. Authors: -------- The GCC team. %package -n gcc-java License: GPL v2 or later Group: Development/Languages/Java Summary: The system GNU Java Compiler 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 License: GPL v2 or later; LGPL v2.1 or later Group: Development/Libraries/Java Summary: The system GNU Java development files. Requires: libgcj%{gcc_version}-devel %description -n libgcj-devel The system GNU Java development files. %package -n gcc-gij License: GPL v2 or later Group: Development/Languages/Java Summary: The system GNU Java bytecode interpreter Requires: gcc%{gcc_version}-gij %description -n gcc-gij The system GNU Java bytecode interpreter. %package -n gcc-gij-32bit License: GPL v2 or later Group: Development/Languages/Java Summary: The system GNU Java bytecode interpreter Requires: gcc%{gcc_version}-gij-32bit %description -n gcc-gij-32bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "32bit" ending The system GNU Java bytecode interpreter. %package -n gcc-gij-64bit License: GPL v2 or later Group: Development/Languages/Java Summary: The system GNU Java bytecode interpreter Requires: gcc%{gcc_version}-gij-64bit %description -n gcc-gij-64bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "64bit" ending The system GNU Java bytecode interpreter. %package -n gcc-objc License: GPL v2 or later Group: Development/Languages/Other Summary: The system GNU Objective C Compiler Requires: gcc%{gcc_version}-objc Requires: gcc = %{version} %ifarch ppc64 Obsoletes: gcc-objc-64bit %endif %description -n gcc-objc The system GNU Objective C Compiler. %package -n gcc-objc-32bit License: GPL v2 or later Group: Development/Languages/Other Summary: The system GNU Objective C Compiler Requires: gcc%{gcc_version}-objc-32bit Requires: gcc-objc = %{version} %description -n gcc-objc-32bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "32bit" ending The system GNU Objective C Compiler. %package -n gcc-objc-64bit License: GPL v2 or later Group: Development/Languages/Other Summary: The system GNU Objective C Compiler Requires: gcc%{gcc_version}-objc-64bit Requires: gcc-objc = %{version} %description -n gcc-objc-64bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "64bit" ending The system GNU Objective C Compiler. %package -n gcc-obj-c++ License: GPL v2 or later Group: Development/Languages/Other Summary: The system GNU Objective C++ Compiler 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 License: GPL v2 or later Group: Development/Languages/C and C++ Summary: The system GNU Ada Compiler Requires: gcc%{gcc_version}-ada Requires: gcc = %{version} %description -n gcc-ada The system GNU Ada Compiler. Authors: -------- The GCC team. %package -n libffi-devel License: BSD 3-Clause Group: System/Libraries Summary: The system GNU Foreign Function Interface library development files Requires: libffi%{gcc_version}-devel %description -n libffi-devel The system GNU Foreign Function Interface library development files. %package -n libffi-devel-32bit License: BSD 3-Clause Group: System/Libraries Summary: The system GNU Foreign Function Interface library development files Requires: libffi%{gcc_version}-devel-32bit %description -n libffi-devel-32bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "32bit" ending The system GNU Foreign Function Interface library development files. %package -n libffi-devel-64bit License: BSD 3-Clause Group: System/Libraries Summary: The system GNU Foreign Function Interface library development files Requires: libffi%{gcc_version}-devel-64bit %description -n libffi-devel-64bit This is a re-packaged binary rpm. For the package source, please look for the source of the package without the "64bit" ending The system GNU Foreign Function Interface library development files. %package -n gcc-z9 License: GPL v2 or later Group: Development/Languages/C and C++ Summary: The system GNU C Compiler Requires: gcc %description -n gcc-z9 The system GNU C Compiler. Authors: -------- The GCC team. %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 -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 %files -n libffi-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-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 %files -n libffi-devel-32bit %defattr(-,root,root) # empty - only for the dependency %doc README %endif %if %{separate_bi64} %files -n gcc-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 %files -n libffi-devel-64bit %defattr(-,root,root) # empty - only for the dependency %doc README %endif %ifarch s390 s390x %files -n gcc-z9 %defattr(-,root,root) /usr/lib*/gcc/*-suse-linux/*/defaults.spec %endif %changelog * Mon Apr 27 2009 rguenther@suse.de - Switch gcc default to 4.4. * Mon Feb 16 2009 rguenther@suse.de - Enable links for classpath binaries and manpages again. * Fri Jan 09 2009 rguenther@suse.de - On ppc64 obsolete gcc-objc-64bit by gcc-objc. * Thu Dec 04 2008 matz@suse.de - Add new gcc-z9 package on s390 and s390x to change the default -march and -mtune settings. * Wed May 07 2008 rguenther@suse.de - Make dependencies between the gcc subpackages versioned. [bnc#385305] * Fri Nov 23 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 2007 rguenther@suse.de - For now disable symlinking of binaries and manpages that conflict with the classpath package. * Tue Nov 13 2007 rguenther@suse.de - Make /lib/cpp traditional and avoid GCC and target specific defines. * Tue Oct 30 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 2007 rguenther@suse.de - Switch gcc default to 4.3. * Fri Jul 27 2007 rguenther@suse.de - Fix typo. * Tue Jul 24 2007 rguenther@suse.de - Add 32bit and 64bit variants of gcc-gij. [#293423] * Fri Jul 06 2007 rguenther@suse.de - Mark ppc64 as separate bi-32. * Thu Jun 14 2007 ro@suse.de - Do not mark README.packaging as NoSource. (again) * Fri Jun 08 2007 rguenther@suse.de - Switch gcc default to 4.2. [#275939] * Tue Apr 24 2007 rguenther@suse.de - Do not link to grmic and grmiregistry, they conflict with the classpath package versions. * Tue Jan 16 2007 rguenther@suse.de - Do not mark README.packaging as NoSource. * Thu Nov 09 2006 rguenther@suse.de - Remove gcc-c++-32bit and gcc-c++-64bit packages. * Tue Oct 31 2006 dmueller@suse.de - don't build as root * Mon Oct 30 2006 rguenther@suse.de - Make gcc architecture dependent again. [#215971] * Thu Oct 26 2006 rguenther@suse.de - Add dependencies to the gcc and non-32/64bit packages. [#215217] * Tue Sep 19 2006 rguenther@suse.de - New gcc-gij package. * Fri Aug 25 2006 rguenther@suse.de - Add 32bit and 64bit support packages to gcc, gcc-c++, gcc-fortran, gcc-objc and libffi-devel. * Thu Aug 24 2006 rguenther@suse.de - Make gcc require cpp to pull in /lib/cpp. * Fri Aug 18 2006 rguenther@suse.de - gcc obsoletes gcc-mudflap which is no longer. * Mon Aug 07 2006 rguenther@suse.de - Provide gcc-mudflap, gcc-info and gcc-locale packages [#197515]. * Fri Jul 14 2006 rguenther@suse.de - New package.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor