1 #%include /usr/lib/rpm/macros.python
2 Summary: X interface to the GDB, DBX and XDB debuggers
3 Summary(ja): GDB,DBX,Ladebug,JDB,Perl,Python¤Î¥°¥é¥Õ¥£¥«¥ë¥Ç¥Ð¥Ã¥¬¤Î¥Õ¥í¥ó¥È¥¨¥ó¥É
4 Summary(pl): Interfejs X do debugerów GDB, DBX i XDB
5 Summary(zh_CN): ͼÐλ¯µÄ³ÌÐòµ÷ÊÔÆ÷Ç°¶Ë;ÈçGDB,DBX,Ladebug,JDB,Perl,Python
10 Group: Development/Debuggers
11 Source0: ftp://ftp.gnu.org/gnu/ddd/%{name}-%{version}.tar.gz
12 # Source0-md5: 60c5bfbfe1564926edda629ffcf01e52
13 Source1: %{name}.desktop
14 Source2: %{name}-python.desktop
15 Source3: http://art.gnome.org/images/icons/other/Debugger.png
16 # Source3-md5: c046d9b0a04abdbb4a2be08a374ac2cd
17 Patch0: %{name}-ptrace.patch
18 Patch1: %{name}-info.patch
19 Patch2: %{name}-home_etc.patch
20 URL: http://www.gnu.org/software/ddd/
21 BuildRequires: XFree86-devel
22 BuildRequires: autoconf
23 BuildRequires: automake
25 BuildRequires: elfutils-devel
27 BuildRequires: libstdc++-devel
28 BuildRequires: libtool
29 BuildRequires: motif-devel
30 BuildRequires: ncurses-devel >= 5.0
31 BuildRequires: python >= 2.2
32 BuildRequires: readline-devel
33 #BuildRequires: rpm-pythonprov
34 BuildRequires: texinfo
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 The Data Display Debugger (DDD) is a common graphical user interface
40 for GDB, DBX, and XDB, the popular UNIX debuggers. Besides
41 ``classical'' front-end features such as viewing source texts, DDD
42 provides a graphical data display, where data structures are displayed
43 as graphs. A simple mouse click dereferences pointers or views
44 structure contents, updated each time the program stops. Using DDD,
45 you can reason about your application by viewing its data, not just by
46 viewing it execute lines of source code. Other DDD features include:
47 debugging of programs written in C, C++, Ada, Fortran, Java, Pascal,
48 Modula-2, or Modula-3; machine-level debugging; hypertext source
49 navigation and lookup; breakpoint, backtrace, and history editors;
50 preferences and settings editors; program execution in terminal
51 emulator window; debugging on remote host; on-line manual; interactive
52 help on the Motif user interface; GDB/DBX/XDB command-line interface
53 with full editing, history, search, and completion capabilities. DDD
54 has been designed to compete with well-known commercial debuggers
57 DDD¤Ï¡¢GDB,DBX,WDB,Ladebug,JDB,XDB,Perl¥Ç¥Ð¥Ã¥¬¡¢¤Þ¤¿¤ÏPython¥Ç¥Ð¥Ã¥¬
58 ¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¥é¥¤¥ó·¿¥Ç¥Ð¥Ã¥¬¤ò¥°¥é¥Õ¥£¥«¥ë·¿¤Î¥Ç¥Ð¥Ã¥¬¤ËÊѿȤµ¤»¤ë
59 ¥Õ¥í¥ó¥È¥¨¥ó¥É¤Ç¤¹¡£¥½¡¼¥¹¥³¡¼¥É¤Î»²¾ÈÅù¤Î¤è¤¦¤Ê"Ä̾ï"¤Î¥Õ¥í¥ó¥È¥¨¥ó¥É
60 ¤Îµ¡Ç½¤Î¤ß¤Ê¤é¤º¡¢DDD¤Ï¥Ç¡¼¥¿¹½Â¤¤ò¥°¥é¥Õ¤È¤·¤Æɽ¼¨¤¹¤ë¡¢²ñÏü°¥°¥é¥Õ
61 ¥£¥«¥ë¥Ç¡¼¥¿É½¼¨¤¹¤ë¤³¤È¤ÇÍ̾¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
64 Data Display Debugger (DDD) jest typowym graficznym interfejsem do
65 GDB, DBX, i XDB - popularnych UNIXowych debuggerów. Poza
66 ``klasycznymi'' mo¿liwo¶ciami interfejsów graficznych takich jak
67 przegl±danie kodów ¼ród³owych DDD dostarcza graficznych narzêdzi,
68 gdzie struktury wy¶wietlane s± w postaci graficznej. Proste klikniêcie
69 mysz± pozwala na przegl±danie zawarto¶ci struktur (aktualizowane za
70 ka¿dym razem gdy program siê zatrzyma). Inne mo¿liwo¶ci DDD to:
71 mo¿liwo¶æ debugowania programów napisanych w C, C++, Ada, Fortran,
72 Java, Pascal, Modula-2, or Modula-2; debugowanie na poziomie maszyny;
73 hypertekstowa nawigacja po ¼ród³ach; breakpoint, backtrace i emulator
74 okna historii; mo¿liwo¶æ ustawiania preferencji; uruchamianie
75 programów w oknie terminala; debugowanie na zdalnych serwerach;
76 podrêcznik on-line; interaktywna pomoc; linia poleceñ GDB/DBX/XDB z
77 pe³n± edycj±, histori± i wyszukiwaniem.
80 Summary: X interface to the GDB, DBX and XDB debuggers - The python debugger
81 Summary(pl): Interfejs X do debugerów GDB, DBX i XDB - debugger pythona
82 Group: Development/Debuggers
83 Requires: %{name} = %{version}
84 #%pyrequires_eq python
87 Data Display Debugger - python debugger.
89 %description python -l pl
90 Data Display Debugger - debugger pythona.
105 --with-readline-libraries=%{_libdir}
108 CXXOPT="-DNDEBUG %{rpmcflags}"
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT%{py_sitedir} \
113 $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \
114 $RPM_BUILD_ROOT{%{_applnkdir}/Development,%{_pixmapsdir}}
117 DESTDIR=$RPM_BUILD_ROOT
119 #install pydb/pydb.py $RPM_BUILD_ROOT%{_bindir}/pydb
120 #install pydb/{pydbcmd,pydbsupt}.py $RPM_BUILD_ROOT%{py_sitedir}
121 #%py_comp $RPM_BUILD_ROOT%{py_sitedir}
122 #%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
124 install ddd/Ddd $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults
126 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Development
127 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/ddd.png
130 rm -rf $RPM_BUILD_ROOT
133 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
136 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
139 %defattr(644,root,root,755)
140 %doc AUTHORS NEWS README TIPS TODO doc/*.pdf
141 %{_applnkdir}/Development/ddd.desktop
143 %attr(755,root,root) %{_bindir}/ddd
144 %{_libdir}/X11/app-defaults/Ddd
150 #%defattr(644,root,root,755)
151 #%{_applnkdir}/Development/ddd-python.desktop
152 #%attr(755,root,root) %{_bindir}/pydb