]> git.pld-linux.org Git - packages/ddd.git/blame - ddd.spec
- ncurses rebuild
[packages/ddd.git] / ddd.spec
CommitLineData
51509a3c 1Summary: X interface to the GDB, DBX and XDB debuggers
7fe70d6d
ER
2Summary(ja.UTF-8): GDB,DBX,Ladebug,JDB,Perl,Pythonのグラフィカルデバッガのフロントエンド
3Summary(pl.UTF-8): Interfejs X do debugerów GDB, DBX i XDB
4Summary(zh_CN.UTF-8): 图形化的程序调试器前端;如GDB,DBX,Ladebug,JDB,Perl,Python
51509a3c 5Name: ddd
87da7591 6Version: 3.3.12
f81df7a7 7Release: 10
f3eee0e0 8Epoch: 1
1393fd34 9License: GPL
51509a3c 10Group: Development/Debuggers
7aad6555 11Source0: http://ftp.gnu.org/gnu/ddd/%{name}-%{version}.tar.gz
87da7591 12# Source0-md5: c50396db7bac3862a6d2555b3b22c34e
07562c8e 13Source1: %{name}.desktop
9bb96c4f 14Source2: http://art.gnome.org/images/icons/other/Debugger.png
15# Source2-md5: c046d9b0a04abdbb4a2be08a374ac2cd
4240a013
JB
16Patch0: %{name}-ptrace.patch
17Patch1: %{name}-info.patch
18Patch2: %{name}-home_etc.patch
a7af7153 19Patch3: %{name}-am185.patch
87da7591 20Patch4: %{name}-gcc.4.4-build.patch
1393fd34 21URL: http://www.gnu.org/software/ddd/
5a888cbe 22BuildRequires: autoconf >= 2.59
f23f37e6 23BuildRequires: automake >= 1:1.9
7e33ad50 24BuildRequires: bison
4240a013 25BuildRequires: elfutils-devel
7e33ad50 26BuildRequires: flex
a90f00aa 27BuildRequires: libstdc++-devel
7e33ad50 28BuildRequires: libtool
dbca9d34 29BuildRequires: motif-devel
0feeb2de 30BuildRequires: ncurses-devel >= 5.0
7e33ad50 31BuildRequires: readline-devel
58bdacec
PS
32BuildRequires: xorg-lib-libXmu-devel
33BuildRequires: xorg-lib-libXpm-devel
a90f00aa 34BuildRequires: texinfo
5d4db591 35Requires: gdb
81b4f762 36Requires: xorg-lib-libXt >= 1.0.0
ea35aef7 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22b41ee6 38
de7449a2 39%define _appdefsdir %{_datadir}/X11/app-defaults
c6b2bea0 40
58bdacec
PS
41%define specflags -fno-strict-aliasing
42
22b41ee6 43%description
1393fd34 44The Data Display Debugger (DDD) is a common graphical user interface
45for GDB, DBX, and XDB, the popular UNIX debuggers. Besides
46``classical'' front-end features such as viewing source texts, DDD
47provides a graphical data display, where data structures are displayed
48as graphs. A simple mouse click dereferences pointers or views
49structure contents, updated each time the program stops. Using DDD,
50you can reason about your application by viewing its data, not just by
51viewing it execute lines of source code. Other DDD features include:
52debugging of programs written in C, C++, Ada, Fortran, Java, Pascal,
53Modula-2, or Modula-3; machine-level debugging; hypertext source
54navigation and lookup; breakpoint, backtrace, and history editors;
55preferences and settings editors; program execution in terminal
56emulator window; debugging on remote host; on-line manual; interactive
57help on the Motif user interface; GDB/DBX/XDB command-line interface
58with full editing, history, search, and completion capabilities. DDD
59has been designed to compete with well-known commercial debuggers
22b41ee6 60
5e79cfbc
JR
61%description -l ja.UTF-8
62DDDは、GDB,DBX,WDB,Ladebug,JDB,XDB,Perlデバッガ、またはPythonデバッガ
63のようなコマンドライン型デバッガをグラフィカル型のデバッガに変身させる
64フロントエンドです。ソースコードの参照等のような"通常"のフロントエンド
65の機能のみならず、DDDはデータ構造をグラフとして表示する、会話式グラフ
66ィカルデータ表示することで有名になりました。
dbe688e0 67
5e79cfbc 68%description -l pl.UTF-8
4c663710 69Data Display Debugger (DDD) jest typowym graficznym interfejsem do
5e79cfbc
JR
70GDB, DBX, i XDB - popularnych UNIXowych debuggerów. Poza
71``klasycznymi'' możliwościami interfejsów graficznych takich jak
72przeglądanie kodów źródłowych DDD dostarcza graficznych narzędzi,
73gdzie struktury wyświetlane są w postaci graficznej. Proste kliknięcie
74myszą pozwala na przeglądanie zawartości struktur (aktualizowane za
75każdym razem gdy program się zatrzyma). Inne możliwości DDD to:
76możliwość debugowania programów napisanych w C, C++, Ada, Fortran,
4c663710 77Java, Pascal, Modula-2, or Modula-2; debugowanie na poziomie maszyny;
5e79cfbc
JR
78hypertekstowa nawigacja po źródłach; breakpoint, backtrace i emulator
79okna historii; możliwość ustawiania preferencji; uruchamianie
80programów w oknie terminala; debugowanie na zdalnych serwerach;
81podręcznik on-line; interaktywna pomoc; linia poleceń GDB/DBX/XDB z
82pełną edycją, historią i wyszukiwaniem.
68340e17 83
22b41ee6 84%prep
85%setup -q
1393fd34 86%patch0 -p1
5eb7cc1a 87%patch1 -p1
7cc68d05 88%patch2 -p1
a7af7153 89%patch3 -p1
87da7591 90%patch4 -p1
22b41ee6 91
92%build
7e33ad50 93%{__libtoolize}
64739cb8 94%{__aclocal}
7e33ad50 95%{__autoconf}
6edd3549 96%{__automake}
7e33ad50 97%configure \
64739cb8 98 --with-motif \
5a888cbe
JB
99 --with-readline \
100 --with-termlib=tinfo
41389164 101
076497b8
JB
102%{__make} \
103 CXXOPT="-DNDEBUG %{rpmcflags}"
22b41ee6 104
105%install
106rm -rf $RPM_BUILD_ROOT
c6b2bea0 107install -d $RPM_BUILD_ROOT{%{_appdefsdir},%{_desktopdir},%{_pixmapsdir}}
63d390b5 108
a90f00aa
PG
109%{__make} install \
110 DESTDIR=$RPM_BUILD_ROOT
22b41ee6 111
c6b2bea0 112install ddd/Ddd $RPM_BUILD_ROOT%{_appdefsdir}
22b41ee6 113
c6b2bea0 114install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
9bb96c4f 115install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/ddd.png
22b41ee6 116
117%clean
118rm -rf $RPM_BUILD_ROOT
119
41429509
ER
120%post -p /sbin/postshell
121-/usr/sbin/fix-info-dir -c %{_infodir}
4da4eebb 122
41429509
ER
123%postun -p /sbin/postshell
124-/usr/sbin/fix-info-dir -c %{_infodir}
4da4eebb 125
22b41ee6 126%files
29e353f7 127%defattr(644,root,root,755)
125d54d5 128%doc AUTHORS NEWS README TIPS TODO doc/*.pdf
b14a1eae 129%attr(755,root,root) %{_bindir}/ddd
4da4eebb 130%{_datadir}/ddd*
c6b2bea0
JB
131%{_appdefsdir}/Ddd
132%{_desktopdir}/ddd.desktop
133%{_pixmapsdir}/*.png
134%{_mandir}/man1/*
4da4eebb 135%{_infodir}/ddd*
This page took 0.133494 seconds and 4 git commands to generate.