]> git.pld-linux.org Git - packages/gcc.git/blobdiff - gcc.spec
- updated
[packages/gcc.git] / gcc.spec
index f6ca3da8b5c5abe162f4ea1e3acb907202d03787..be800a10e9c2ceb147e86bb7f53f2a0415a04f36 100644 (file)
--- a/gcc.spec
+++ b/gcc.spec
-Summary:     GNU C Compiler
-Summary(de): GNU-C-Compiler 
-Summary(fr): Compilateur C de GNU
-Summary(pl): Kompilator GNU C
-Summary(tr): GNU C derleyicisi
-Name:        gcc
-Version:     2.7.2.3
-Release:     16
-Copyright:   GPL
-Group:       Development/Languages
-Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
-Patch1:      gcc-2.7.2-make.patch
-Patch2:      gcc-2.7.2.sparc.patch
-Patch3:      ftp://atheist.tamu.edu/pub/richard/linux/axp/rth-gcc-2.7.2-960814.diff.gz
-Patch4:      gcc-2.7.2-pg.patch
-Patch5:      gcc-2.7.2-flow.patch
-Patch6:      ftp://ftp.redhat.com/pub/alphabits/rth-gcc-2.7.2-961121.diff.gz
-Patch7:      gcc-2.7.2.sparc.patch2
-Patch8:      gcc-2.7.2.3-glibc2.patch
-Patch9:      gcc-2.7.2-alpha-ra.patch
-Requires:    binutils
-Prereq:      /sbin/install-info
-Buildroot:   /tmp/%{name}-%{version}-root
-Exclusivearch: i386
+#
+# Conditional build:
+# _without_ada - build without ADA support
+# _without_java        - build without Java support
+#
+%define                DASHED_SNAP     %{nil}
+%define                SNAP            %(echo %{DASHED_SNAP} | sed -e "s#-##g")
+%define                GCC_VERSION     3.2.1
+%define                KSI_VERSION     pre55
+
+Summary:       GNU Compiler Collection
+Summary(pl):   Kolekcja kompilatorów GNU
+Name:          gcc
+Version:       %{GCC_VERSION}
+Release:       0.1
+License:       GPL
+Group:         Development/Languages
+Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-3.2.tar.bz2
+Source1:       ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
+Patch0:                %{name}-slibdir.patch
+Patch1:                %{name}-paths.patch
+Patch2:                %{name}-ada-no-addr2line.patch
+Patch3:                %{name}-ada-no-prefix.o.patch
+Patch4:                %{name}-nolocalefiles.patch
+Patch5:                %{name}-march-i686-fix.patch
+# -- stolen patches from RH --
+Patch10:       gcc32-ada-link.patch
+Patch11:       gcc32-attr-visibility.patch
+Patch12:       gcc32-attr-visibility2.patch
+Patch13:       gcc32-attr-visibility3.patch
+Patch14:       gcc32-attr-visibility4.patch
+Patch15:       gcc32-attr-visibility5.patch
+Patch16:       gcc32-boehm-gc-libs.patch
+Patch17:       gcc32-bogus-inline.patch
+Patch18:       gcc32-c++-nrv-test.patch
+Patch19:       gcc32-c++-pretty_function.patch
+Patch20:       gcc32-c++-tsubst-asm.patch
+Patch21:       gcc32-cfg-eh.patch
+Patch22:       gcc32-debug-pr7241.patch
+Patch23:       gcc32-doc-gcov.patch 
+Patch24:       gcc32-duplicate-decl.patch
+Patch25:       gcc32-dwarf2-pr6381.patch 
+Patch26:       gcc32-dwarf2-pr6436-test.patch
+Patch27:       gcc32-fde-merge-compat.patch 
+Patch28:       gcc32-fold-const-associate.patch
+Patch29:       gcc32-hard-reg-sharing.patch
+Patch30:       gcc32-hard-reg-sharing2.patch 
+Patch31:       gcc32-i386-default-momit-leaf-frame-pointer.patch
+Patch32:       gcc32-i386-memtest-test.patch 
+Patch33:       gcc32-i386-no-default-momit-leaf-frame-pointer.patch
+Patch34:       gcc32-i386-pic-label-thunk.patch
+Patch35:       gcc32-i386-profile-olfp.patch
+Patch36:       gcc32-inline-label.patch 
+Patch37:       gcc32-java-no-rpath.patch
+Patch38:       gcc32-pr6842.patch 
+Patch39:       gcc32-sparc-sll1.patch
+Patch40:       gcc32-test-rh65771.patch 
+Patch41:       gcc32-test-rotate.patch  
+Patch42:       gcc32-tls-dwarf2.patch 
+Patch43:       gcc32-tls.patch      
+Patch44:       gcc32-tls2.patch 
+Patch45:       gcc32-tls3.patch
+Patch46:       gcc32-tls4.patch 
+Patch47:       gcc32-tls5.patch    
+Patch48:       gcc32-typeof-asm.patch  
+
+Patch100:      gcc-pre-3.2.1.patch.gz
+
+
+BuildRequires: bison
+BuildRequires: texinfo >= 4.1
+BuildRequires: zlib-devel
+BuildRequires: fileutils >= 4.0.41
+BuildRequires: autoconf
+BuildRequires: gcc
+%{!?_without_ada:BuildRequires:        gcc-ada}
+BuildRequires: perl-devel
+Requires:      binutils >= 2.12.90.0.4
+Requires:      cpp = %{GCC_VERSION}
+Requires:      libgcc = %{GCC_VERSION}
+Conflicts:     glibc-devel < 2.2.5-20
+URL:           http://gcc.gnu.org/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _slibdir        /lib
 
 %description
-The GNU C compiler -- a full featured ANSI C compiler, with support
-for K&R C as well. GCC provides many levels of source code error
-checking tradionaly provided by other tools (such as lint), produces
-debugging information, and can perform many different optimizations to
-the resulting object code.
-
-%description -l de
-Der GNU-C-Compiler, ein ANSI-C-Compiler mit komplettem Funktions-
-umfang sowie Unterstützung für K&R. GCC bietet viele Ebenen der
-Quell-Code-Fehlerprüfung, wie sie früher durch separate Tools bereitgestellt
-wurde (etwa lint), produziert Debug-Infos und ist in der Lage, viele
-verschiedene Optimierungen am resultierenden Objektcode auszuführen. 
-
-%description -l fr
-Le compilateur C GNU -- un compilateur C ANSI complet, avec un support
-pour la norme K&R. GCC fournit de nombreux niveaux d'erreurs donnés par
-des outils extérieurs (comme lint), produit des informations de débogage,
-et peut réaliser différentes optimisations sur le code objet produit.
+A compiler aimed at integrating all the optimizations and features
+necessary for a high-performance and stable development environment.
 
 %description -l pl
-Kompilator GNU C jest pe³nowartosciowym kompilatorem ANSI C akceptuj±cym
-tak¿e K&R C. GCC udostêpnia wielopoziomowe sprawdzanie i raportowanie
-b³êdów na poziomie kodu ¼ród³owego w C jakie udostêpniaj± inne narzêdzia jak
-np. lint. GCC Umo¿liwia tak¿e wygenerowanie kodu wynikowego z informacjami
-do debugera, a tak¿e umo¿liwia generowanie zoptymalizowanego kodu
-wynikowego.
-
-%description -l tr
-GNU C derleyicisi, K&R C desteði olan ve ANSI C'nin bütün özelliklerine sahip
-bir derleyicidir. Normalde baþka araçlarýn (örneðin lint) yaptýðý kaynak kodu
-düzeyindeki pek çok hata denetimini gerçekleþtirir, hata ayýklama bilgisi
-üretebilir ve sonuç olarak ortaya çýkan ara kod üzerinde birçok optimizasyon
-uygulayabilir.
+Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
+wyprodukowania szybkiego i stablinego kodu wynikowego.
+
+%package -n libgcc
+Summary:       Shared gcc library
+Summary(pl):   Biblioteka gcc
+Group:         Libraries
+Version:        %{GCC_VERSION}
+
+%description -n libgcc
+Shared gcc library.
+
+%description -n libgcc -l pl
+Biblioteka dynamiczna gcc.
+
+%package c++
+Summary:       C++ support for gcc
+Summary(pl):   Obs³uga C++ dla gcc
+Group:         Development/Languages
+Obsoletes:     egcc-c++
+Obsoletes:     egcs-c++
+Requires:      gcc = %{GCC_VERSION}
+
+%description c++
+This package adds C++ support to the GNU C compiler. It includes
+support for most of the current C++ specification, including templates
+and exception handling. It does not include a standard C++ library,
+which is available separately.
+
+%description c++ -l de
+Dieses Paket enthält die C++-Unterstützung für den GNU-C-Compiler. Es
+unterstützt die aktuelle C++-Spezifikation, inkl. Templates und
+Ausnahmeverarbeitung. Eine C++-Standard-Library ist nicht enthalten -
+sie ist getrennt erhältlich.
+
+%description c++ -l fr
+Ce package ajoute un support C++ au compilateur c GNU. Il comprend un
+support pour la plupart des spécifications actuelles de C++, dont les
+modéles et la gestion des exceptions. Il ne comprend pas une
+bibliothéque C++ standard, qui est disponible séparément.
+
+%description c++ -l pl
+Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
+du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
+standardowych bibliotek C++, które s± w oddzielnym pakiecie.
+
+%description c++ -l tr
+Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
+aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
+C++ kitaplýðý bu pakette yer almaz.
+
+%package objc
+Summary:       Objective C support for gcc
+Summary(de):   Objektive C-Unterstützung für gcc
+Summary(fr):   Gestion d'Objective C pour gcc
+Summary(pl):   Obs³uga obiektowego C dla kompilatora gcc
+Summary(tr):   gcc için Objective C desteði
+Group:         Development/Languages
+Obsoletes:     egcc-objc
+Obsoletes:     egcs-objc
+Requires:      libobjc = %{GCC_VERSION}
+Requires:      gcc = %{GCC_VERSION}
+
+%description objc
+This package adds Objective C support to the GNU C compiler. Objective
+C is a object oriented derivative of the C language, mainly used on
+systems running NeXTSTEP. This package does not include the standard
+objective C object library.
+
+%description objc -l de
+Dieses Paket ergänzt den GNU-C-Compiler durch Objective-C-Support.
+Objective C ist ein objektorientiertes Derivat von C, das zur
+Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt. Die
+Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
+
+%description objc -l fr
+Ce package ajoute un support Objective C au compilateur C GNU.
+L'Objective C est un langage orienté objetdérivé du langage C,
+principalement utilisé sur les systèmes NeXTSTEP. Ce package n'inclue
+pas la bibliothéque Objective C standard.
+
+%description objc -l pl
+Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
+C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
+g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
+standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
+
+%description objc -l tr
+Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
+C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
+sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
+kitaplýðý bu pakette yer almaz.
+
+%package -n libobjc
+Summary:       Objective C Libraries
+Summary(pl):   Biblioteki Obiektowego C
+Group:         Libraries
+Version:       %{GCC_VERSION}
+Epoch:         3
+
+%description -n libobjc
+Objective C Libraries.
+
+%description -n libobjc -l pl
+Biblioteki Obiektowego C.
+
+%package -n libobjc-static
+Summary:       Static Objective C Libraries
+Summary(pl):   Statyczne Biblioteki Obiektowego C
+Group:         Development/Libraries
+Version:       %{GCC_VERSION}
+Epoch:         4
+Requires:      libobjc = %{GCC_VERSION}
+
+%description -n libobjc-static
+Static Objective C Libraries.
+
+%description -n libobjc-static -l pl
+Statyczne biblioteki Obiektowego C.
+
+%package g77
+Summary:       Fortran 77 support for gcc
+Summary(pl):   Obs³uga Fortranu 77 dla gcc
+Group:         Development/Languages
+Version:       %{GCC_VERSION}
+Obsoletes:     egcs-g77
+Requires:      libg2c = %{GCC_VERSION}
+
+%description g77
+This apckage adds support for compiling Fortran 77 programs with the
+GNU compiler.
+
+%description g77 -l pl
+Ten pakiet dodaje obs³ugê Fortranu 77 do kompilatora gcc. Jest
+potrzebny do kompilowania programów pisanych w jêzyku Fortran 77.
+
+%package -n libg2c
+Summary:       Fortran 77 Libraries
+Summary(pl):   Biblioteki Fortranu 77
+Group:         Libraries
+Version:        %{GCC_VERSION}
+
+%description -n libg2c
+Fortran 77 Libraries.
+
+%description -n libg2c -l pl
+Biblioteki Fortranu 77.
+
+%package -n libg2c-static
+Summary:       Static Fortran 77 Libraries
+Summary(pl):   Statyczne Biblioteki Fortranu 77
+Group:         Development/Libraries
+Version:        %{GCC_VERSION}
+Epoch:         2
+Requires:      libg2c = %{GCC_VERSION}
+
+%description -n libg2c-static
+Static Fortran 77 Libraries.
+
+%description -n libg2c-static -l pl
+Statyczne biblioteki Fortranu 77.
+
+%package java
+Summary:       Java support for gcc
+Summary(pl):   Obs³uga Javy dla gcc
+Group:         Development/Languages
+Version:        %{GCC_VERSION}
+Requires:      %{name} = %{version}
+Requires:      libgcj >= 3.0.0
+Provides:      gcj = %{epoch}:%{GCC_VERSION}-%{release}
+Provides:      jar = %{epoch}:%{GCC_VERSION}-%{release}
+
+%description java
+This package adds experimental support for compiling Java(tm) programs
+and bytecode into native code. To use this you will also need the
+libgcj package.
+
+%description -l pl java
+Wsparcie dla kompilowania programów Java(tm) zrówno do bajt-kodu jak i
+do natywnego kodu. Dodatkowo wymagany jest pakiet libgcj, aby mo¿na
+by³o przeprowadziæ kompilacjê.
+
+%package -n libgcj
+Summary:       Java Class Libraries
+Summary(pl):   Biblioteki Klas Javy
+Group:         Libraries
+Version:       %{GCC_VERSION}
+Epoch:         2
+Requires:      zlib
+
+%description -n libgcj
+Java Class Libraries.
+
+%description -n libgcj -l pl
+Biblioteki Klas Javy.
+
+%package -n libgcj-devel
+Summary:       Development files for Java Class Libraries
+Summary(pl):   Pliki nag³ówkowe dla Bibliotek Klas Javy
+Group:         Development/Libraries
+Version:       %{GCC_VERSION}
+Epoch:         2
+Requires:      libgcj = %{GCC_VERSION}
+Requires:      %{name}-java
+
+%description -n libgcj-devel
+Development files for Java Class Libraries.
+
+%description -n libgcj-devel -l pl
+Pliki nag³ówkowe dla Bibliotek Klas Javy.
+
+%package -n libgcj-static
+Summary:       Static Java Class Libraries
+Summary(pl):   Statyczne Biblioteki Klas Javy
+Group:         Development/Libraries
+Version:       %{GCC_VERSION}
+Epoch:         2
+Requires:      libstdc++-devel = %{GCC_VERSION}
+Requires:      libgcj-devel = %{GCC_VERSION}
+
+%description -n libgcj-static
+Static Java Class Libraries.
+
+%description -n libgcj-static -l pl
+Statyczne Biblioteki Klas Javy.
+
+%package -n libstdc++
+Summary:       GNU c++ library
+Summary(pl):   Biblioteki GNU C++ 
+Group:         Libraries
+Version:       %{GCC_VERSION}
+Epoch:         1
+Obsoletes:     libg++
+
+%description -n libstdc++
+This is the GNU implementation of the standard C++ libraries, along
+with additional GNU tools. This package includes the shared libraries
+necessary to run C++ applications.
+
+%description -n libstdc++ -l de
+Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
+weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
+C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
+
+%description -n libstdc++ -l fr
+Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
+des outils GNU supplémentaires. Ce package comprend les librairies
+partagées nécessaires à l'exécution d'application C++.
+
+%description -n libstdc++ -l pl
+Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
+bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
+uruchomienia aplikacji napisanych w C++.
+
+%description -n libstdc++ -l tr
+Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
+uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
+
+%package -n libstdc++-devel
+Summary:       Header files and documentatino for C++ development
+Summary(de):   Header-Dateien zur Entwicklung mit C++
+Summary(fr):   Fichiers d'en-tête et biblitothèques pour développer en C++.
+Summary(pl):   Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
+Summary(tr):   C++ ile program geliþtirmek için gerekli dosyalar
+Group:         Development/Libraries
+Version:       %{GCC_VERSION}
+Epoch:         1
+Requires:      libstdc++ = %{GCC_VERSION}
+Requires:      %{name}-c++
+Obsoletes:     libg++-devel
+
+%description -n libstdc++-devel
+This is the GNU implementation of the standard C++ libraries. This
+package includes the header files needed for C++ development and
+library documentation.
+
+%description -n libstdc++-devel -l pl
+Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
+bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
+programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
+
+%package -n libstdc++-static
+Summary:       Static C++ standard library
+Summary(pl):   Statyczna biblioteka standardowa C++
+Group:         Development/Libraries
+Version:       %{GCC_VERSION}
+Epoch:         1
+Requires:      libstdc++-devel = %{GCC_VERSION}
+
+%description -n libstdc++-static
+Static C++ standard library.
+
+%description -n libstdc++-static -l pl
+Statycza biblioteka standardowa C++.
+
+%package ada
+Summary:       Ada support for gcc
+Summary(pl):   Obs³uga Ady do gcc
+Group:         Development/Languages
+Version:        %{GCC_VERSION}
+Requires:      libgnat = %{GCC_VERSION}
+Requires:      gcc = %{GCC_VERSION}
+Obsoletes:     gnat-devel
+
+%description ada
+This package adds experimental support for compiling Ada programs.
+
+%description -l pl ada
+Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów
+w Adzie.
+
+%package -n libgnat
+Summary:       Ada standard libraries
+Summary(pl):   Biblioteki standardowe dla Ady
+Group:         Libraries
+Version:        %{GCC_VERSION}
+Obsoletes:     gnat
+
+%description -n libgnat
+This package contains shared libraries needed to run programs written
+in Ada.
+
+%description -n libgnat -l pl
+Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów napisanych
+w Adzie.
+
+%package -n libgnat-static
+Summary:       Static Ada standard libraries
+Summary(pl):   Statyczne biblioteki standardowe dla Ady
+Group:         Libraries
+Version:        %{GCC_VERSION}
+Obsoletes:     gnat-static
+
+%description -n libgnat-static
+This package contains static libraries for programs written in Ada.
+
+%description -n libgnat-static -l pl
+Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
+Adzie.
+
+%package ksi
+Summary:       Ksi support for gcc
+Summary(pl):   Obs³uga Ksi dla gcc
+Version:       %{GCC_VERSION}.%{KSI_VERSION}
+Group:         Development/Languages
+Requires:      gcc = %{GCC_VERSION}
+
+%description ksi
+This package adds experimental support for compiling Ksi programs
+into native code. You proabably don't need it, unless your are going
+to develop a compiler using Ksi as intermediate representation or
+you are using such compiler (like Gont).
+
+%description ksi -l pl
+Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów
+w Ksi do kodu maszynowego. Prawdopodobnie nie potrzebujesz go, chyba
+¿e zamierzasz pisaæ kompilator u¿ywaj±cy Ksi jako reprezentacji
+po¶rednicz±cej, lub u¿ywasz takiego kompilatora (jak Gont).
+
+%package -n cpp
+Summary:       The C Pre Processor
+Summary(pl):   Preprocesor C
+Group:         Development/Languages
+Version:       %{GCC_VERSION}
+Obsoletes:     egcs-cpp
+Obsoletes:     gcc-cpp
+
+%description -n cpp
+The C preprocessor is a "macro processor" that is used automatically
+by the C compiler to transform your program before actual compilation.
+It is called a macro processor because it allows you to define
+"macros", which are brief abbreviations for longer constructs.
+
+The C preprocessor provides four separate facilities that you can use
+as you see fit:
+
+- Inclusion of header files. These are files of declarations that can
+  be substituted into your program.
+- Macro expansion. You can define "macros", which are abbreviations
+  for arbitrary fragments of C code, and then the C preprocessor will
+  replace the macros with their definitions throughout the program.
+- Conditional compilation. Using special preprocessing directives, you
+  can include or exclude parts of the program according to various
+  conditions.
+- Line control. If you use a program to combine or rearrange source
+  files into an intermediate file which is then compiled, you can use
+  line control to inform the compiler of where each source line
+  originally came from.
+
+%description -n cpp -l pl
+Przeprocesor C jest "makro procesorem" który jest automatycznie
+u¿ywany przez kompilator C do obróbki kompilowanego programu przed
+w³a¶ciw± kompilacj±. Jest on nazywany makroprocesorem, poniewa¿
+umo¿liwia definiowanie i rozwijanie makr umo¿liwiaj±cych skracanie
+d³ugich konstrukcji w jêzyku C.
+
+Preprocesor C umo¿liwia wykonywanie czterech ró¿nych typów operacji:
+
+- Do³±czanie plików (np. nag³ówkowych). Wstawia pliki w miejscu
+  deklaracji polecenia do³±czenia innego pliku.
+- Rozwijanie makr. Mo¿na definiowaæ "makra" nadaj±c im identyfikatory,
+  których pó¼niejsze u¿ycie powoduje podczas rozwijania podmienienie
+  indentyfikatora deklarowan± wcze¶niej warto¶ci±.
+- Kompilacja warunkowa. W zale¿no¶ci od obecno¶ci symboli i dyrektyw w
+  ¶rodowisku preprocesora s± w³±czane warunkowo, b±d¼ nie, pewne
+  fragmenty obrabianego strumienia tekstów.
+- Kontrola linii ¼ród³a. Niezale¿nie od tego jakim przeobra¿eniom
+  podlega wynikowy strumieñ danych w wyniku rozwijania makr i do³±czania
+  s± zapamiêtywane informacje o tym, której linii pliku ¼ród³owego
+  odpowiada fragment pliku wynikowego.
 
 %prep
-%setup -q
-%patch1 -p1 -b .rh
+%setup -q -a1 -n %{name}-3.2
+mv ksi-%{KSI_VERSION} gcc/ksi
+%patch100 -p1
 
-%ifarch sparc alpha
+%patch0 -p1
+%patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p0
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1 -b .glibc2
-%patch9 -p0 -b .alphara
+%patch4 -p1
+%ifarch %{ix86}
+%patch5 -p0
 %endif
+%patch10 
+%patch11 
+%patch12 
+%patch13 
+%patch14 
+%patch15 
+%patch16 
+%patch17 
+%patch18 
+%patch19 
+%patch20 
+%patch21 
+%patch22 
+%patch23 
+%patch24 
+%patch25 
+%patch26 
+%patch27 
+%patch28 
+%patch29 
+%patch30 
+%patch31 
+%patch32 
+%patch33 
+%patch34 
+%patch35 
+%patch36 
+%patch37 
+%patch38 
+%patch39 
+%patch40 
+%patch41 
+%patch42 
+%patch43
+%patch44 
+%patch45 
+%patch46
+%patch47
+%patch48 
 
 %build
-./configure \
-       --prefix=/usr \
-       --local-prefix=/usr/local \
-       --gxx-include-dir=%{_includedir}/g++ \
-       --host=%{_target_cpu}-linux \
-       --target=%{_target_cpu}-linux
-
-make LANGUAGES=c CFLAGS="-O2"
-make stage1
-make CC="stage1/xgcc -Bstage1/" CFLAGS="-O2" LDFLAGS="-s"
-make stage2
-make CC="stage2/xgcc -Bstage2/" CFLAGS="-O2" LDFLAGS="-s"
+# cd gcc && autoconf; cd ..
+# autoconf is not needed!
+rm -rf obj-%{_target_platform} && install -d obj-%{_target_platform} && cd obj-%{_target_platform}
+
+CFLAGS="%{rpmcflags}" \
+CXXFLAGS="%{rpmcflags}" \
+TEXCONFIG=false ../configure \
+       --prefix=%{_prefix} \
+       --infodir=%{_infodir} \
+       --mandir=%{_mandir} \
+       --enable-shared \
+       --enable-threads=posix \
+       --enable-__cxa_atexit \
+        --enable-languages="c,c++,f77,gcov,objc,ksi%{!?_without_ada:,ada}%{!?_without_java:,java}" \
+       --enable-c99 \
+       --enable-long-long \
+       --enable-multilib \
+       --enable-nls \
+       --with-gnu-as \
+       --with-gnu-ld \
+       --with-system-zlib \
+       --with-slibdir=%{_slibdir} \
+       --without-x \
+       %{_target_platform}
+
+PATH=$PATH:/sbin:%{_sbindir}
+
+# this dirty hack is relict of setting, where objdir is subdir of srcdir
+%if %{!?_without_ada:1}%{?_without_ada:0}
+sed -e 's/srcdir=\$(fsrcdir)/srcdir=\$(fsrcdir) VPATH=\$(fsrcdir)/' \
+       gcc/ada/Makefile > makefile.tmp
+mv -f makefile.tmp gcc/ada/Makefile
+%endif
+
+cd ..
+%{__make} -C obj-%{_target_platform} bootstrap-lean \
+       LDFLAGS_FOR_TARGET="%{rpmldflags}" \
+       mandir=%{_mandir} \
+       infodir=%{_infodir}
+
+%if %{!?_without_ada:1}%{?_without_ada:0}
+%{__make} -C obj-%{_target_platform}/gcc gnatlib gnattools gnatlib-shared \
+       LDFLAGS_FOR_TARGET="%{rpmldflags}" \
+       mandir=%{_mandir} \
+       infodir=%{_infodir}
+
+# make Gnat Reference Manual
+%{__make} -C obj-%{_target_platform}/gcc/ada doc
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/{bin,lib,info,man}
-make CC="stage2/xgcc -Bstage2/" CFLAGS="-O2" LDFLAGS="-s" install \
-       prefix=$RPM_BUILD_ROOT/usr
+install -d $RPM_BUILD_ROOT{/lib,%{_datadir},%{_infodir}}
+
+cd obj-%{_target_platform}
+PATH=$PATH:/sbin:%{_sbindir}
+
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       mandir=$RPM_BUILD_ROOT%{_mandir} \
+       infodir=$RPM_BUILD_ROOT%{_infodir} \
+       slibdir=$RPM_BUILD_ROOT/lib
 
-gzip -n -9f $RPM_BUILD_ROOT%{_infodir}/gcc.info*
 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
-rm -rf $RPM_BUILD_ROOT%{_libdir}/gcc-lib/${RPM_ARCH}/*/include/objc
+echo .so gcc.1 > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
+
+ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77
+echo .so g77.1 > $RPM_BUILD_ROOT%{_mandir}/man1/f77.1
+
+(cd $RPM_BUILD_ROOT%{_libdir} ; LIBSTDC=$(ls libstdc++.so.*.*.*) ; \
+ cd $RPM_BUILD_ROOT%{_libdir}/gcc-lib/%{_target_cpu}*/*/ ; \
+ ln -sf ../../../${LIBSTDC} libstdc++.so ; \
+ ln -sf ../../../libstdc++.la libstdc++.la)
+
+mv $RPM_BUILD_ROOT%{_libdir}/libstdc++.a \
+        $RPM_BUILD_ROOT%{_libdir}/gcc-lib/%{_target_cpu}*/*/
+
+LIBSTDC=$(ls -d $RPM_BUILD_ROOT%{_libdir}/gcc-lib/%{_target_cpu}*/* | sed -e "s#$RPM_BUILD_ROOT##g")
+mv $RPM_BUILD_ROOT%{_libdir}/libstdc++.la $RPM_BUILD_ROOT%{_libdir}/libstdc++.la.old
+sed -e "s#^libdir='/usr/lib'#libdir='$LIBSTDC'#g" $RPM_BUILD_ROOT%{_libdir}/libstdc++.la.old \
+ > $RPM_BUILD_ROOT%{_libdir}/libstdc++.la
+
+%if %{!?_without_ada:1}%{?_without_ada:0}
+# move ada shared libraries to proper place...
+mv $RPM_BUILD_ROOT%{_libdir}/gcc-lib/%{_target_cpu}*/*/adalib/*-*so.1 \
+       $RPM_BUILD_ROOT%{_libdir}
+rm -f $RPM_BUILD_ROOT%{_libdir}/gcc-lib/%{_target_cpu}*/*/adalib/*.so.1
+(cd $RPM_BUILD_ROOT%{_libdir} && \
+ ln -s libgnat-*so.1 libgnat.so.1 && \
+ ln -s libgnarl-*so.1 libgnarl.so.1)
+%endif
+
+ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
+
+cd ..
+
+%if %{!?_without_ada:1}%{?_without_ada:0}
+install  obj-%{_target_platform}/gcc/ada/gnat_rm.info* $RPM_BUILD_ROOT%{_infodir}
+%endif
+
+%if %{!?_without_java:1}%{?_without_java:0}
+install -d java-doc
+cp -f libjava/doc/cni.sgml libjava/READ* java-doc
+cp -f fastjar/README java-doc/README.fastjar
+cp -f libffi/README java-doc/README.libffi
+cp -f libffi/LICENSE java-doc/LICENSE.libffi
+
+cp -f libobjc/README gcc/objc/README.libobjc
+%endif
+
+%find_lang %{name}
+%find_lang libstdc\+\+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(644,root,root,755)
-%doc NEWS PROBLEMS
-%attr(755,root,root) %{_bindir}/*-linux-gcc
-%dir %{_libdir}/gcc-lib/*/*
-%dir %{_libdir}/gcc-lib/*/*/include
-%{_libdir}/gcc-lib/*/*/SYSCALLS.c.X
-%attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1
-%attr(755,root,root) %{_libdir}/gcc-lib/*/*/cpp
-%{_libdir}/gcc-lib/*/*/libgcc.a
-%{_libdir}/gcc-lib/*/*/specs
-%{_libdir}/gcc-lib/*/*/include/*
-%{_libdir}/gcc-lib/*/*/*.o
-
-%changelog
-* Mon Nov 16 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.7.2.3-16]
-- now gcc 2.7.2.3 for backward compatybility for proper
-  compiling kernel 2.0.x is compiled like cross compilator
-  (remember use "CC=<arch>-linux-gcc" as make parameter during
-  compile kernel),
-- removed gcc man and inbfo page (this can be provided by egcs).
-
-* Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.7.2.3-15]
-- added full %attr description in %files,
-- fiew simplifications in %install and %files.
-
-* Wed Sep  2 1998 Jeff Johnson <jbj@redhat.com>
-- eliminate gcc on sparc in RH5.2; sparclinux-2.0-980805 works with egcs.
-
-* Mon Jul 13 1998 Jeff Johnson <jbj@redhat.com>
-- sparc gets gcc/cc from egcs. someday ((after RH-5.2) i386 will too.
-
-* Wed Jul  8 1998 Jeff Johnson <jbj@redhat.com>
-- resurrect gcc for sparc kernel compiles.
-
-* Thu May 07 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
-- use extensively CFLAGS="-O2" when building the compiler (this is known to
-  help the fully compatible Cyrix chips (sic!) to run this beast)
-
-* Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
-- better yet, ExclusiveArch: i386 is in effect
-
-* Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
-- removed the c++ package as we are swhiching to egcs-c++
-- idem for objc
-- added buildroot
-- alpha is exlcuded from the build. I don't know about sparc yet, so I leave
-  it for this time
-
-* Fri Oct 23 1997 Erik Troan <ewt@redhat.com>
-- use ld-linux.so.2 on the sparc
-
-* Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
-- build crtbegin* and crtend* on the sparc
-
-* Mon Sep 29 1997 Erik Troan <ewt@redhat.com>
-- added patch from rth to fix dump on alpha w/ building libg++
-
-* Sun Sep 28 1997 Erik Troan <ewt@redhat.com>
-- djb really made the crtbegin/end stuff in gcc-c-skel conditional on
-  running on an i386 machine, not a !sparc machine; all changed was his
-  comment
-- added patch to use /lib/ld-linux.so.2 on the alpha
-
-* Tue Sep 23 1997 Richard Henderson <rth@cygnus.com>
-- Killed the glibc.patch and added sparc.patch2 to _really_ make
-  libgcc.a be compiled with -fPIC.
-
-* Fri Sep 19 1997 Donald Barnes <djb@redhat.com>
-- added the glibc.patch so that libgcc.a is compiled with -fPIC
-- added %ifarch i386 around crtbegin/end in gcc-c-skel
-
-* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
-- modified to use install-info
-
-* Sun Aug 24 1997 Erik Troan <ewt@redhat.com>
-- updated to gcc 2.7.2.3
-
-* Thu Aug 21 1997 Erik Troan <ewt@redhat.com>
-- fixed /lib/cpp patch to include redhat element
-
-* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
-- removed HJ's patch
-- added patch from Ulrich Drepper to generate crt*.o
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%post g77
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun g77
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%post java
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun java
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%post ksi
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun ksi
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%post -n cpp
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun -n cpp
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%post   -p /sbin/ldconfig -n libgcc
+%postun -p /sbin/ldconfig -n libgcc
+%post   -p /sbin/ldconfig -n libstdc++
+%postun -p /sbin/ldconfig -n libstdc++
+%post   -p /sbin/ldconfig -n libobjc
+%postun -p /sbin/ldconfig -n libobjc
+%post   -p /sbin/ldconfig -n libg2c
+%postun -p /sbin/ldconfig -n libg2c
+%post   -p /sbin/ldconfig -n libgcj
+%postun -p /sbin/ldconfig -n libgcj
+%post   -p /sbin/ldconfig -n libgnat
+%postun -p /sbin/ldconfig -n libgnat
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc READ* ChangeLog
+%dir %{_libdir}/gcc-lib
+%dir %{_libdir}/gcc-lib/%{_target_cpu}*
+%dir %{_libdir}/gcc-lib/%{_target_cpu}*/*
+%dir %{_libdir}/gcc-lib/%{_target_cpu}*/*/include
+%attr(755,root,root) %{_bindir}/%{_target_cpu}*-gcc
+%attr(755,root,root) %{_bindir}/gcc
+%attr(755,root,root) %{_bindir}/gccbug
+%attr(755,root,root) %{_bindir}/gcov
+%attr(755,root,root) %{_bindir}/cc
+
+%{_mandir}/man1/gcc.1*
+%{_mandir}/man1/cc.1*
+%{_mandir}/man1/gcov.1*
+%{_infodir}/gcc*
+
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/libgcc.a
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/libgcc_eh.a
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/specs
+%attr(644,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/crt*.o
+%ifarch ppc
+%attr(644,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/ecrt*.o
+%attr(644,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/ncrt*.o
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/nof
+%dir %{_libdir}/nof
+%endif
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/cc1
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/collect2
+
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/float.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/iso646.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/limits.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/stdarg.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/stdbool.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/stddef.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/syslimits.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/varargs.h
+%ifarch %{ix86}
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/mmintrin.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/xmmintrin.h
+%endif
+%ifarch ppc
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/altivec.h
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/ppc-asm.h
+%endif
+
+%files -n libgcc
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_slibdir}/lib*.so*
+
+%files c++
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/g++
+%attr(755,root,root) %{_bindir}/%{_target_cpu}*-g++
+%attr(755,root,root) %{_bindir}/c++
+%attr(755,root,root) %{_bindir}/%{_target_cpu}*-c++
+%attr(755,root,root) %{_bindir}/c++filt
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/cc1plus
+%attr(755,root,root) %{_libdir}/libsupc++.la
+%ifarch ppc
+%attr(755,root,root) %{_libdir}/nof/libsupc++.la
+%{_libdir}/nof/libsupc++.a
+%endif
+%{_libdir}/libsupc++.a
+%{_mandir}/man1/g++.1*
+
+%files -n libstdc++ -f libstdc++.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
+%ifarch ppc
+%attr(755,root,root) %{_libdir}/nof/libstdc++.so.*.*.*
+%endif
+
+%files -n libstdc++-devel
+%defattr(644,root,root,755)
+%doc libstdc++-v3/docs/html
+%dir %{_includedir}/c++
+%{_includedir}/c++/%{GCC_VERSION}
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/libstdc++.so
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/libstdc++.la
+%attr(755,root,root) %{_libdir}/libstdc++.la
+%ifarch ppc
+%attr(755,root,root) %{_libdir}/nof/libstdc++.so
+%attr(755,root,root) %{_libdir}/nof/libstdc++.la
+%endif
+
+%files -n libstdc++-static
+%defattr(644,root,root,755)
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/libstdc++.a
+%ifarch ppc
+%{_libdir}/nof/libstdc++.a
+%endif
+
+%files objc
+%defattr(644,root,root,755)
+%doc gcc/objc/READ*
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/cc1obj
+%attr(755,root,root) %{_libdir}/libobjc.so
+%attr(755,root,root) %{_libdir}/libobjc.la
+%ifarch ppc
+%attr(755,root,root) %{_libdir}/nof/libobjc.so
+%attr(755,root,root) %{_libdir}/nof/libobjc.la
+%endif
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/objc
+
+%files -n libobjc
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
+%ifarch ppc
+%attr(755,root,root) %{_libdir}/nof/libobjc.so.*.*.*
+%endif
+
+%files -n libobjc-static
+%defattr(644,root,root,755)
+%{_libdir}/libobjc.a
+%ifarch ppc
+%{_libdir}/nof/libobjc.a
+%endif
+
+%files g77
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/g77
+%attr(755,root,root) %{_bindir}/f77
+%{_infodir}/g77*
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/f771
+%{_libdir}/libfrtbegin.a
+%attr(755,root,root) %{_libdir}/libg2c.la
+%attr(755,root,root) %{_libdir}/libg2c.so
+%ifarch ppc
+%{_libdir}/nof/libfrtbegin.a
+%attr(755,root,root) %{_libdir}/nof/libg2c.la
+%attr(755,root,root) %{_libdir}/nof/libg2c.so
+%endif
+%{_mandir}/man1/g77.1*
+%{_mandir}/man1/f77.1*
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/g2c.h
+
+%files -n libg2c
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libg2c.so.*.*.*
+%ifarch ppc
+%attr(755,root,root) %{_libdir}/nof/libg2c.so.*.*.*
+%endif
+
+%files -n libg2c-static
+%{_libdir}/libg2c.a
+%ifarch ppc
+%{_libdir}/nof/libg2c.a
+%endif
+
+%if %{!?_without_java:1}%{?_without_java:0}
+%files java
+%defattr(644,root,root,755)
+%doc java-doc/*
+%attr(755,root,root) %{_bindir}/gcj*
+%attr(755,root,root) %{_bindir}/gij
+%attr(755,root,root) %{_bindir}/jcf-dump
+%attr(755,root,root) %{_bindir}/jv-*
+%attr(755,root,root) %{_bindir}/rmi*
+%attr(755,root,root) %{_bindir}/jar
+%attr(755,root,root) %{_bindir}/grepjar
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/jc1
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/jvgenmain
+%{_infodir}/gcj*
+%{_mandir}/man1/jcf-*
+%{_mandir}/man1/jv-*
+%{_mandir}/man1/gij*
+%{_mandir}/man1/gcj*
+%{_mandir}/man1/rmi*
+
+%files -n libgcj
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/addr2name.awk
+%attr(755,root,root) %{_libdir}/lib*cj*.so.*
+%ifarch ppc
+%attr(755,root,root) %{_libdir}/nof/lib*cj*.so.*
+%endif
+
+%files -n libgcj-devel
+%defattr(644,root,root,755)
+%{_includedir}/java
+%{_includedir}/javax
+%{_includedir}/org
+%{_includedir}/gcj
+%{_includedir}/j*.h
+%{_includedir}/gnu/*
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/include/gcj
+%{_libdir}/security/*
+%dir %{_datadir}/java
+%{_datadir}/java/libgcj*.jar
+%{_libdir}/lib*cj.spec
+%attr(755,root,root) %{_libdir}/lib*cj*.la
+%attr(755,root,root) %{_libdir}/lib*cj*.so
+%ifarch ppc
+%{_libdir}/nof/lib*cj.spec
+%attr(755,root,root) %{_libdir}/nof/lib*cj*.la
+%attr(755,root,root) %{_libdir}/nof/lib*cj*.so
+%endif
+
+%files -n libgcj-static
+%defattr(644,root,root,755)
+%{_libdir}/lib*cj*.a
+%ifarch ppc
+%{_libdir}/nof/lib*cj*.a
+%endif
+%endif
+
+%if %{!?_without_ada:1}%{?_without_ada:0}
+%files ada
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/gnat1
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/adainclude
+%dir %{_libdir}/gcc-lib/%{_target_cpu}*/*/adalib
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/adalib/*.ali
+%ifnarch ppc
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/adalib/libgmem.a
+%endif
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/adalib/Makefile.adalib
+%attr(755,root,root) %{_bindir}/gnat*
+%{_infodir}/gnat*
+%attr(755,root,root) %{_libdir}/libgnat.so.1
+%attr(755,root,root) %{_libdir}/libgnarl.so.1
+
+%files -n libgnat
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgna*-*so.1
+
+%files -n libgnat-static
+%defattr(644,root,root,755)
+%{_libdir}/gcc-lib/%{_target_cpu}*/*/adalib/libgna*.a
+%endif
+
+%files ksi
+%defattr(644,root,root,755)
+%doc gcc/ksi/README gcc/ksi/NEWS gcc/ksi/t/*.{ksi,c,foo}
+%{_infodir}/ksi*
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/ksi1
+
+%files -n cpp
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_slibdir}/cpp
+%attr(755,root,root) %{_bindir}/cpp
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/cpp0
+%attr(755,root,root) %{_libdir}/gcc-lib/%{_target_cpu}*/*/tradcpp0
+%{_mandir}/man1/cpp.1*
+%{_infodir}/cpp*
This page took 0.082091 seconds and 4 git commands to generate.