]> git.pld-linux.org Git - packages/gdb.git/blob - gdb.spec
- enable by default pretty printing of real object type.
[packages/gdb.git] / gdb.spec
1 Summary:        A GNU source-level debugger for C, C++ and Fortran
2 Summary(de):    Symbolischer Debugger für C und andere Sprachen
3 Summary(es):    Depurador de programas C y otras lenguajes
4 Summary(fr):    Débugger symbolique pour C et d'autres langages
5 Summary(pl):    Symboliczny odpluskwiacz dla C i innych jêzyków
6 Summary(pt_BR): Depurador de programas C e outras linguagens
7 Summary(ru):    óÉÍ×ÏÌÉÞÅÓËÉÊ ÏÔÌÁÄÞÉË ÄÌÑ C É ÄÒÕÇÉÈ ÑÚÙËÏ×
8 Summary(tr):    C ve diðer diller için sembolik hata ayýklayýcý
9 Summary(uk):    óÉÍ×ÏÌØÎÉʠצÄÌÁÄÞÉË ÄÌÑ ó ÔÁ ¦ÎÛÉÈ ÍÏ×
10 Summary(zh_CN): [¿ª·¢]CºÍÆäËûÓïÑԵĵ÷ÊÔÆ÷
11 Summary(zh_TW): [.-A¶}µo]C©M.$)B¨ä.-A¥L»y.$)B¨¥ªº½Õ¸Õ¾¹
12 Name:           gdb
13 Version:        6.5
14 Release:        1
15 License:        GPL
16 Group:          Development/Debuggers
17 Source0:        ftp://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.bz2
18 # Source0-md5:  af6c8335230d7604aee0803b1df14f54
19 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
20 # Source1-md5:  2e8a48939ae282c12bbacdd54e398247
21 Patch0:         %{name}-readline.patch
22 Patch1:         %{name}-info.patch
23 Patch2:         %{name}-passflags.patch
24 # updated from http://www.math.uni.wroc.pl/~hebisch/gpc/gdb-6.1.diff
25 Patch3:         %{name}-gpc.patch
26 Patch4:         %{name}-gdbinit-stat.patch
27 Patch5:         %{name}-pretty-print-by-default.patch
28 BuildRequires:  autoconf >= 2.53
29 BuildRequires:  automake
30 BuildRequires:  bison
31 BuildRequires:  flex
32 BuildRequires:  libtool
33 BuildRequires:  ncurses-devel >= 5.2
34 BuildRequires:  readline-devel >= 4.3
35 BuildRequires:  texinfo
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Gdb is a full featured, command driven debugger. Gdb allows you to
40 trace the execution of programs and examine their internal state at
41 any time. Gdb works for C and C++ compiled with the GNU C compiler
42 gcc.
43
44 %description -l de
45 dem Sie die Ausführung von Programmen verfolgen und jederzeit den
46 inneren Zustand überprüfen können. Er funktioniert für C und mit GNU C
47 kompiliertes C++.
48
49 %description -l es
50 Este es un debugger orientado a comandos repleto de características.
51 Te permite rastrear la ejecución de programas y examinar su estado
52 interno a cualquier momento. Funciona para C y C++ compilado con el
53 compilador GNU C.
54
55 %description -l fr
56 Débugger complet, piloté par commandes. Permet de tracer l'exécution
57 des programmes et d'examiner à tout moment leur état interne.
58 Fonctionne avec les binaires C et C++ compilés avec le compilateur C
59 de GNU, gcc.
60
61 %description -l pl
62 Gdb jest rozbudowanym odpluskwiaczem (debuggerem), pozwalaj±cym
63 ¶ledziæ wykonywanie programu i badaæ jego stan wewnêtrzny. Gdb
64 umo¿liwia odpluskwianie programów napisanych w C/C++ i skompilowanych
65 przy pomocy kompilatora GNU (gcc).
66
67 %description -l pt_BR
68 Este é um debugger orientado a comandos repleto de características.
69 Ele permite à você rastrear a execução de programas e examinar o seu
70 estado interno a qualquer momento. Ele funciona para para C e C++
71 compilado com o compilador GNU C.
72
73 %description -l ru
74 üÔÏ ÐÏÌÎÏÃÅÎÎÙÊ ÏÔÌÁÄÞÉË, ÕÐÒÁ×ÌÑÅÍÙÊ ËÏÍÁÎÄÁÍÉ. ïΠÐÏÚ×ÏÌÑÅÔ
75 ÔÒÁÓÓÉÒÏ×ÁÔØ ÉÓÐÏÌÎÅÎÉÅ ÐÒÏÇÒÁÍÍ É ÉÚÕÞÁÔØ ÉÈ ×ÎÕÔÒÅÎÎÅÅ ÓÏÓÔÏÑÎÉÅ ×
76 ÌÀÂÏÊ ÍÏÍÅÎÔ ×ÒÅÍÅÎÉ. òÁÂÏÔÁÅÔ Ó ÐÒÏÇÒÁÍÍÁÍÉ ÎÁ C É C++,
77 ÓËÏÍÐÉÌÉÒÏ×ÁÎÎÙÍÉ GNU ËÏÍÐÉÌÑÔÏÒÏÍ C (gcc, egcs, pgcc).
78
79 %description -l tr
80 Bir komut arayüzü üzerinden programcýya programýný adým adým izleme
81 (trace) ve herhangi bir anda programýn durumunu inceleme olanaðý
82 verir.
83
84 %description -l uk
85 ãÅ ÐÏ×ÎÏæÎÎÉʠצÄÌÁÄÞÉË, ÝÏ ËÅÒÕ¤ÔØÓÑ ËÏÍÁÎÄÁÍÉ. ÷¦Î ÄÏÚ×ÏÌѤ
86 ÔÒÁÓÕ×ÁÔÉ ×ÉËÏÎÁÎÎÑ ÐÒÏÇÒÁÍ ÔÁ ×É×ÞÁÔÉ §È ×ÎÕÔÒ¦ÛΦʠÓÔÁΠנÄÏצÌØÎÉÊ
87 ÍÏÍÅÎÔ ÞÁÓÕ. ðÒÁÃÀ¤ Ú ÐÒÏÇÒÁÍÁÍÉ ÎÁ C ÔÁ C++, ÚËÏÍЦÌØÏ×ÁÎÉÍÉ
88 ËÏÍЦÌÑÔÏÒÁÍÉ GNU C (gcc, egcs, pgcc).
89
90 %prep
91 %setup -q
92 %patch0 -p1
93 %patch1 -p1
94 %patch2 -p1
95 %patch3 -p1
96 %patch4 -p0
97 %patch5 -p1
98
99 %build
100 for dir in `find gdb/ -name 'configure.in'`; do
101         dir=$(dirname "$dir")
102         olddir=$(pwd)
103         cd $dir
104         rm -f aclocal.m4
105         %{__aclocal}
106         %{__autoconf}
107         cd $olddir
108 done
109 cp -f /usr/share/automake/config.* .
110 # !! Don't enable shared here !!
111 # This will cause serious problems --misiek
112 %configure2_13 \
113         --disable-gdbtk \
114         --disable-shared \
115         --enable-gdbcli \
116         --enable-gdbmi \
117         --enable-multi-ice \
118         --enable-netrom \
119         --enable-nls \
120         --enable-tui \
121         --with-cpu=%{_target_cpu} \
122         --without-included-gettext \
123         --without-included-regex \
124         --without-x \
125 %ifnarch alpha
126         --with-mmalloc
127 %endif
128
129 %{__make}
130 %{__make} info
131
132 %install
133 rm -rf $RPM_BUILD_ROOT
134 install -d $RPM_BUILD_ROOT%{_infodir}
135
136 %{__make} install install-info \
137         prefix=$RPM_BUILD_ROOT%{_prefix} \
138         bindir=$RPM_BUILD_ROOT%{_bindir} \
139         sbindir=$RPM_BUILD_ROOT%{_sbindir} \
140         infodir=$RPM_BUILD_ROOT%{_infodir} \
141         includedir=$RPM_BUILD_ROOT%{_includedir} \
142         libdir=$RPM_BUILD_ROOT%{_libdir} \
143         mandir=$RPM_BUILD_ROOT%{_mandir}
144
145 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
146
147 %clean
148 rm -rf $RPM_BUILD_ROOT
149
150 %post
151 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
152
153 %postun
154 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
155
156 %files
157 %defattr(644,root,root,755)
158 %doc gdb/{ChangeLog,NEWS,PROBLEMS,README}
159 %attr(755,root,root) %{_bindir}/*
160 %{_mandir}/man1/*
161 %lang(es) %{_mandir}/es/man1/*
162 %lang(fr) %{_mandir}/fr/man1/*
163 %lang(hu) %{_mandir}/hu/man1/*
164 %lang(ja) %{_mandir}/ja/man1/*
165 %lang(pl) %{_mandir}/pl/man1/*
166 %{_infodir}/gdb*.info*
167 %{_infodir}/stabs*.info*
This page took 0.15482 seconds and 4 git commands to generate.