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