]> git.pld-linux.org Git - packages/ddd.git/blob - ddd.spec
- up to 3.3.11
[packages/ddd.git] / ddd.spec
1 Summary:        X interface to the GDB, DBX and XDB debuggers
2 Summary(ja):    GDB,DBX,Ladebug,JDB,Perl,Python¤Î¥°¥é¥Õ¥£¥«¥ë¥Ç¥Ð¥Ã¥¬¤Î¥Õ¥í¥ó¥È¥¨¥ó¥É
3 Summary(pl):    Interfejs X do debugerów GDB, DBX i XDB
4 Summary(zh_CN): Í¼Ðλ¯µÄ³ÌÐòµ÷ÊÔÆ÷Ç°¶Ë;ÈçGDB,DBX,Ladebug,JDB,Perl,Python
5 Name:           ddd
6 Version:        3.3.11
7 Release:        1
8 Epoch:          1
9 License:        GPL
10 Group:          Development/Debuggers
11 Source0:        ftp://ftp.gnu.org/gnu/ddd/%{name}-%{version}.tar.gz
12 # Source0-md5:  f19437ebfdb5f2667d6de30f700dd319
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 Patch3:         %{name}-am185.patch
21 URL:            http://www.gnu.org/software/ddd/
22 BuildRequires:  XFree86-devel
23 BuildRequires:  autoconf >= 2.59
24 BuildRequires:  automake >= 1:1.9
25 BuildRequires:  bison
26 BuildRequires:  elfutils-devel
27 BuildRequires:  flex
28 BuildRequires:  libstdc++-devel
29 BuildRequires:  libtool
30 BuildRequires:  motif-devel
31 BuildRequires:  ncurses-devel >= 5.0
32 BuildRequires:  python >= 2.2
33 BuildRequires:  readline-devel
34 #BuildRequires: rpm-pythonprov
35 BuildRequires:  texinfo
36 Requires:       gdb
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %define         _appdefsdir     /usr/X11R6/lib/X11/app-defaults
40
41 %description
42 The Data Display Debugger (DDD) is a common graphical user interface
43 for GDB, DBX, and XDB, the popular UNIX debuggers. Besides
44 ``classical'' front-end features such as viewing source texts, DDD
45 provides a graphical data display, where data structures are displayed
46 as graphs. A simple mouse click dereferences pointers or views
47 structure contents, updated each time the program stops. Using DDD,
48 you can reason about your application by viewing its data, not just by
49 viewing it execute lines of source code. Other DDD features include:
50 debugging of programs written in C, C++, Ada, Fortran, Java, Pascal,
51 Modula-2, or Modula-3; machine-level debugging; hypertext source
52 navigation and lookup; breakpoint, backtrace, and history editors;
53 preferences and settings editors; program execution in terminal
54 emulator window; debugging on remote host; on-line manual; interactive
55 help on the Motif user interface; GDB/DBX/XDB command-line interface
56 with full editing, history, search, and completion capabilities. DDD
57 has been designed to compete with well-known commercial debuggers
58
59 %description -l ja
60 DDD¤Ï¡¢GDB,DBX,WDB,Ladebug,JDB,XDB,Perl¥Ç¥Ð¥Ã¥¬¡¢¤Þ¤¿¤ÏPython¥Ç¥Ð¥Ã¥¬
61 ¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¥é¥¤¥ó·¿¥Ç¥Ð¥Ã¥¬¤ò¥°¥é¥Õ¥£¥«¥ë·¿¤Î¥Ç¥Ð¥Ã¥¬¤ËÊѿȤµ¤»¤ë
62 ¥Õ¥í¥ó¥È¥¨¥ó¥É¤Ç¤¹¡£¥½¡¼¥¹¥³¡¼¥É¤Î»²¾ÈÅù¤Î¤è¤¦¤Ê"Ä̾ï"¤Î¥Õ¥í¥ó¥È¥¨¥ó¥É
63 ¤Îµ¡Ç½¤Î¤ß¤Ê¤é¤º¡¢DDD¤Ï¥Ç¡¼¥¿¹½Â¤¤ò¥°¥é¥Õ¤È¤·¤Æɽ¼¨¤¹¤ë¡¢²ñÏü°¥°¥é¥Õ
64 ¥£¥«¥ë¥Ç¡¼¥¿É½¼¨¤¹¤ë¤³¤È¤Çͭ̾¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
65
66 %description -l pl
67 Data Display Debugger (DDD) jest typowym graficznym interfejsem do
68 GDB, DBX, i XDB - popularnych UNIXowych debuggerów. Poza
69 ``klasycznymi'' mo¿liwo¶ciami interfejsów graficznych takich jak
70 przegl±danie kodów ¼ród³owych DDD dostarcza graficznych narzêdzi,
71 gdzie struktury wy¶wietlane s± w postaci graficznej. Proste klikniêcie
72 mysz± pozwala na przegl±danie zawarto¶ci struktur (aktualizowane za
73 ka¿dym razem gdy program siê zatrzyma). Inne mo¿liwo¶ci DDD to:
74 mo¿liwo¶æ debugowania programów napisanych w C, C++, Ada, Fortran,
75 Java, Pascal, Modula-2, or Modula-2; debugowanie na poziomie maszyny;
76 hypertekstowa nawigacja po ¼ród³ach; breakpoint, backtrace i emulator
77 okna historii; mo¿liwo¶æ ustawiania preferencji; uruchamianie
78 programów w oknie terminala; debugowanie na zdalnych serwerach;
79 podrêcznik on-line; interaktywna pomoc; linia poleceñ GDB/DBX/XDB z
80 pe³n± edycj±, histori± i wyszukiwaniem.
81
82 %package python
83 Summary:        X interface to the GDB, DBX and XDB debuggers - The python debugger
84 Summary(pl):    Interfejs X do debugerów GDB, DBX i XDB - debugger pythona
85 Group:          Development/Debuggers
86 Requires:       %{name} = %{version}-%{release}
87 #%pyrequires_eq python
88
89 %description python
90 Data Display Debugger - python debugger.
91
92 %description python -l pl
93 Data Display Debugger - debugger pythona.
94
95 %prep
96 %setup -q
97 %patch0 -p1
98 %patch1 -p1
99 %patch2 -p1
100 %patch3 -p1
101
102 %build
103 %{__libtoolize}
104 %{__aclocal}
105 %{__autoconf}
106 %{__automake}
107 %configure \
108         --with-motif \
109         --with-readline \
110         --with-termlib=tinfo
111
112 %{__make} \
113         CXXOPT="-DNDEBUG %{rpmcflags}"
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT{%{_appdefsdir},%{_desktopdir},%{_pixmapsdir}}
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 #install pydb/pydb.py $RPM_BUILD_ROOT%{_bindir}/pydb
123 #install pydb/{pydbcmd,pydbsupt}.py $RPM_BUILD_ROOT%{py_sitedir}
124 #%py_comp $RPM_BUILD_ROOT%{py_sitedir}
125 #%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
126
127 install ddd/Ddd $RPM_BUILD_ROOT%{_appdefsdir}
128
129 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
130 #install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
131 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/ddd.png
132
133 %clean
134 rm -rf $RPM_BUILD_ROOT
135
136 %post
137 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
138
139 %postun
140 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
141
142 %files
143 %defattr(644,root,root,755)
144 %doc AUTHORS NEWS README TIPS TODO doc/*.pdf
145 %attr(755,root,root) %{_bindir}/ddd
146 %{_datadir}/ddd*
147 %{_appdefsdir}/Ddd
148 %{_desktopdir}/ddd.desktop
149 %{_pixmapsdir}/*.png
150 %{_mandir}/man1/*
151 %{_infodir}/ddd*
152
153 #%files python
154 #%defattr(644,root,root,755)
155 #%attr(755,root,root) %{_bindir}/pydb
156 #%{py_sitedir}/*.py?
157 #%{_desktopdir}/ddd-python.desktop
This page took 0.062858 seconds and 3 git commands to generate.