]> git.pld-linux.org Git - packages/gdb.git/blame - gdb.spec
- converted to UTF-8
[packages/gdb.git] / gdb.spec
CommitLineData
e1daef87
JR
1#
2# NOTE: Do not remove -lib package, it is required by FPC
3#
5ff7d7dd 4Summary: A GNU source-level debugger for C, C++ and Fortran
f01e46e5
JR
5Summary(de.UTF-8): Symbolischer Debugger für C und andere Sprachen
6Summary(es.UTF-8): Depurador de programas C y otras lenguajes
7Summary(fr.UTF-8): Débugger symbolique pour C et d'autres langages
8Summary(pl.UTF-8): Symboliczny odpluskwiacz dla C i innych języków
9Summary(pt_BR.UTF-8): Depurador de programas C e outras linguagens
10Summary(ru.UTF-8): Символический отладчик для C и других языков
11Summary(tr.UTF-8): C ve diğer diller için sembolik hata ayıklayıcı
12Summary(uk.UTF-8): Символьний відладчик для С та інших мов
13Summary(zh_CN.UTF-8): [开发]C和其他语言的调试器
14Summary(zh_TW.UTF-8): [.-A開發]C和.$)B其.-A他語.$)B言的調試器
0241102e 15Name: gdb
f5d85256
JB
16Version: 6.6
17Release: 1
92563ae4 18License: GPL
0241102e 19Group: Development/Debuggers
a04b8553 20Source0: ftp://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.bz2
f5d85256 21# Source0-md5: a4df41d28dd514d64e8ccbfe125fd9a6
31a43e77 22Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
feb56b14 23# Source1-md5: 2e8a48939ae282c12bbacdd54e398247
fc5a2138
JB
24Patch0: %{name}-readline.patch
25Patch1: %{name}-info.patch
26Patch2: %{name}-passflags.patch
79a16adf 27# updated from http://www.math.uni.wroc.pl/~hebisch/gpc/gdb-6.1.diff
fc5a2138
JB
28Patch3: %{name}-gpc.patch
29Patch4: %{name}-gdbinit-stat.patch
a08563ef 30Patch5: %{name}-pretty-print-by-default.patch
097d37d7 31Patch6: %{name}-absolute-gnu_debuglink-path.patch
e92b6e8a 32BuildRequires: autoconf >= 2.53
830462ab 33BuildRequires: automake
435950f1
JB
34BuildRequires: bison
35BuildRequires: flex
72a26adc 36BuildRequires: libtool
4e6d01d3 37BuildRequires: ncurses-devel >= 5.2
de04f849 38BuildRequires: readline-devel >= 4.3
f234b100 39BuildRequires: texinfo
b4655cd1 40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
6aa96a1b 41
42%description
92563ae4 43Gdb is a full featured, command driven debugger. Gdb allows you to
44trace the execution of programs and examine their internal state at
45any time. Gdb works for C and C++ compiled with the GNU C compiler
46gcc.
6aa96a1b 47
f01e46e5
JR
48%description -l de.UTF-8
49dem Sie die Ausführung von Programmen verfolgen und jederzeit den
50inneren Zustand überprüfen können. Er funktioniert für C und mit GNU C
92563ae4 51kompiliertes C++.
6aa96a1b 52
f01e46e5
JR
53%description -l es.UTF-8
54Este es un debugger orientado a comandos repleto de características.
55Te permite rastrear la ejecución de programas y examinar su estado
c15663f7 56interno a cualquier momento. Funciona para C y C++ compilado con el
57compilador GNU C.
58
f01e46e5
JR
59%description -l fr.UTF-8
60Débugger complet, piloté par commandes. Permet de tracer l'exécution
61des programmes et d'examiner à tout moment leur état interne.
62Fonctionne avec les binaires C et C++ compilés avec le compilateur C
92563ae4 63de GNU, gcc.
6aa96a1b 64
f01e46e5
JR
65%description -l pl.UTF-8
66Gdb jest rozbudowanym odpluskwiaczem (debuggerem), pozwalającym
67śledzić wykonywanie programu i badać jego stan wewnętrzny. Gdb
68umożliwia odpluskwianie programów napisanych w C/C++ i skompilowanych
92563ae4 69przy pomocy kompilatora GNU (gcc).
6aa96a1b 70
f01e46e5
JR
71%description -l pt_BR.UTF-8
72Este é um debugger orientado a comandos repleto de características.
73Ele permite à você rastrear a execução de programas e examinar o seu
c15663f7 74estado interno a qualquer momento. Ele funciona para para C e C++
75compilado com o compilador GNU C.
76
f01e46e5
JR
77%description -l ru.UTF-8
78Это полноценный отладчик, управляемый командами. Он позволяет
79трассировать исполнение программ и изучать их внутреннее состояние в
80любой момент времени. Работает с программами на C и C++,
81скомпилированными GNU компилятором C (gcc, egcs, pgcc).
11d14365 82
f01e46e5
JR
83%description -l tr.UTF-8
84Bir komut arayüzü üzerinden programcıya programını adım adım izleme
85(trace) ve herhangi bir anda programın durumunu inceleme olanağı
92563ae4 86verir.
6aa96a1b 87
f01e46e5
JR
88%description -l uk.UTF-8
89Це повноцінний відладчик, що керується командами. Він дозволяє
90трасувати виконання програм та вивчати їх внутрішній стан в довільний
91момент часу. Працює з програмами на C та C++, зкомпільованими
92компіляторами GNU C (gcc, egcs, pgcc).
11d14365 93
f02a934e 94%package lib
4e0c2e1e 95Summary: GDB in the form of a static library
f01e46e5 96Summary(pl.UTF-8): GDB w postaci biblioteki statycznej
f02a934e
JR
97Group: Development/Debuggers
98#Requires: binutils-static >= 2.17.50
99
100%description lib
101GDB in the form of a static library.
102
f01e46e5 103%description lib -l pl.UTF-8
4e0c2e1e
JB
104GDB w postaci biblioteki statycznej.
105
6aa96a1b 106%prep
0241102e 107%setup -q
30a98da2 108%patch0 -p1
0cd7a575
AM
109%patch1 -p1
110%patch2 -p1
ebd49a3e 111%patch3 -p1
fc5a2138 112%patch4 -p0
a08563ef 113%patch5 -p1
097d37d7 114%patch6 -p1
9164351f 115
6aa96a1b 116%build
0cd7a575
AM
117for dir in `find gdb/ -name 'configure.in'`; do
118 dir=$(dirname "$dir")
119 olddir=$(pwd)
120 cd $dir
121 rm -f aclocal.m4
122 %{__aclocal}
123 %{__autoconf}
124 cd $olddir
125done
3661d025 126cp -f /usr/share/automake/config.* .
b8e906ff 127# !! Don't enable shared here !!
ebd49a3e 128# This will cause serious problems --misiek
18786296 129%configure2_13 \
fdffb271 130 --disable-gdbtk \
ebd49a3e 131 --disable-shared \
fdffb271 132 --enable-gdbcli \
b257c914 133 --enable-gdbmi \
134 --enable-multi-ice \
ebd49a3e 135 --enable-netrom \
fdffb271 136 --enable-nls \
5f8bd10e 137 --enable-tui \
fdffb271
JB
138 --with-cpu=%{_target_cpu} \
139 --without-included-gettext \
140 --without-included-regex \
141 --without-x \
ac43b5eb 142%ifnarch alpha
4e6d01d3 143 --with-mmalloc
ac43b5eb 144%endif
ebd49a3e 145
64683032 146%{__make}
36e61e18 147%{__make} info
6aa96a1b 148
149%install
150rm -rf $RPM_BUILD_ROOT
5ff7d7dd 151install -d $RPM_BUILD_ROOT%{_infodir}
6aa96a1b 152
ebd49a3e 153%{__make} install install-info \
f7477d2b 154 prefix=$RPM_BUILD_ROOT%{_prefix} \
ebd49a3e
AM
155 bindir=$RPM_BUILD_ROOT%{_bindir} \
156 sbindir=$RPM_BUILD_ROOT%{_sbindir} \
f7477d2b 157 infodir=$RPM_BUILD_ROOT%{_infodir} \
ebd49a3e
AM
158 includedir=$RPM_BUILD_ROOT%{_includedir} \
159 libdir=$RPM_BUILD_ROOT%{_libdir} \
5ff7d7dd 160 mandir=$RPM_BUILD_ROOT%{_mandir}
e611e157 161
8d9a5f3e 162bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
163
f02a934e
JR
164install gdb/libgdb.a $RPM_BUILD_ROOT%{_libdir}
165
b0a9ea6d
JB
166%clean
167rm -rf $RPM_BUILD_ROOT
6aa96a1b 168
169%post
1fefaec9 170[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
6aa96a1b 171
df4c5865 172%postun
1fefaec9 173[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
6aa96a1b 174
6aa96a1b 175%files
0241102e 176%defattr(644,root,root,755)
f0842f54 177%doc gdb/{ChangeLog,NEWS,PROBLEMS,README}
f7477d2b
AF
178%attr(755,root,root) %{_bindir}/*
179%{_mandir}/man1/*
8d9a5f3e 180%lang(es) %{_mandir}/es/man1/*
181%lang(fr) %{_mandir}/fr/man1/*
182%lang(hu) %{_mandir}/hu/man1/*
183%lang(ja) %{_mandir}/ja/man1/*
184%lang(pl) %{_mandir}/pl/man1/*
5ff7d7dd 185%{_infodir}/gdb*.info*
e611e157 186%{_infodir}/stabs*.info*
f02a934e
JR
187
188%files lib
189%defattr(644,root,root,755)
190%{_libdir}/libgdb.a
This page took 0.065163 seconds and 4 git commands to generate.