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