X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ddd.spec;h=d87bd36781a27535bca8e6b5c8a489db53d35c78;hb=1017a5164e9122fc5a337dd71132e402d39152b0;hp=f61a2f7b06bdc3132dc67f18afbb0c485cc21b2f;hpb=5f26ce3f9aca97f72bc5567ed2c125fa7239c6cf;p=packages%2Fddd.git diff --git a/ddd.spec b/ddd.spec index f61a2f7..d87bd36 100644 --- a/ddd.spec +++ b/ddd.spec @@ -1,115 +1,133 @@ Summary: X interface to the GDB, DBX and XDB debuggers +Summary(ja.UTF-8): GDB,DBX,Ladebug,JDB,Perl,Pythonのグラフィカルデバッガのフロントエンド +Summary(pl.UTF-8): Interfejs X do debugerów GDB, DBX i XDB +Summary(zh_CN.UTF-8): 图形化的程序调试器前端;如GDB,DBX,Ladebug,JDB,Perl,Python Name: ddd -Version: 3.1.4 -Release: 2 -Copyright: GPL +Version: 3.3.11 +Release: 7 +Epoch: 1 +License: GPL Group: Development/Debuggers -Group(pl): Programowanie/Odpluskwiacze -Source: ftp://ftp.ips.cs.tu-bs.de/pub/local/softech/ddd/src/%{name}-%{version}.tar.gz -Patch: ddd-pty.patch -Icon: ddd.xpm -URL: http://www.cs.tu-bs.de/softech/ddd/ -Buildroot: /tmp/%{name}-%{version}-root +Source0: http://ftp.gnu.org/gnu/ddd/%{name}-%{version}.tar.gz +# Source0-md5: f19437ebfdb5f2667d6de30f700dd319 +Source1: %{name}.desktop +Source2: http://art.gnome.org/images/icons/other/Debugger.png +# Source2-md5: c046d9b0a04abdbb4a2be08a374ac2cd +Patch0: %{name}-ptrace.patch +Patch1: %{name}-info.patch +Patch2: %{name}-home_etc.patch +Patch3: %{name}-am185.patch +URL: http://www.gnu.org/software/ddd/ +BuildRequires: autoconf >= 2.59 +BuildRequires: automake >= 1:1.9 +BuildRequires: bison +BuildRequires: elfutils-devel +BuildRequires: flex +BuildRequires: libstdc++-devel +BuildRequires: libtool +BuildRequires: motif-devel +BuildRequires: ncurses-devel >= 5.0 +BuildRequires: readline-devel +BuildRequires: xorg-lib-libXmu-devel +BuildRequires: xorg-lib-libXpm-devel +BuildRequires: texinfo +Requires: gdb +Requires: xorg-lib-libXt >= 1.0.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _appdefsdir %{_datadir}/X11/app-defaults + +%define specflags -fno-strict-aliasing %description -The Data Display Debugger (DDD) is a common graphical user interface for -GDB, DBX, and XDB, the popular UNIX debuggers. Besides ``classical'' -front-end features such as viewing source texts, DDD provides a graphical -data display, where data structures are displayed as graphs. A simple mouse -click dereferences pointers or views structure contents, updated each time -the program stops. Using DDD, you can reason about your application by -viewing its data, not just by viewing it execute lines of source code. -Other DDD features include: debugging of programs written in C, C++, Ada, -Fortran, Java, Pascal, Modula-2, or Modula-3; machine-level debugging; -hypertext source navigation and lookup; breakpoint, backtrace, and history -editors; preferences and settings editors; program execution in terminal -emulator window; debugging on remote host; on-line manual; interactive help -on the Motif user interface; GDB/DBX/XDB command-line interface with full -editing, history, search, and completion capabilities. DDD has been -designed to compete with well-known commercial debuggers - -%package python -Summary: X interface to the GDB, DBX and XDB debuggers - The python debugger -Group: Development/Debuggers -Group(pl): Programowanie/Odpluskwiacze -Requires: %{name} = %{version} - -%description python -Data Display Debugger - python debugger. +The Data Display Debugger (DDD) is a common graphical user interface +for GDB, DBX, and XDB, the popular UNIX debuggers. Besides +``classical'' front-end features such as viewing source texts, DDD +provides a graphical data display, where data structures are displayed +as graphs. A simple mouse click dereferences pointers or views +structure contents, updated each time the program stops. Using DDD, +you can reason about your application by viewing its data, not just by +viewing it execute lines of source code. Other DDD features include: +debugging of programs written in C, C++, Ada, Fortran, Java, Pascal, +Modula-2, or Modula-3; machine-level debugging; hypertext source +navigation and lookup; breakpoint, backtrace, and history editors; +preferences and settings editors; program execution in terminal +emulator window; debugging on remote host; on-line manual; interactive +help on the Motif user interface; GDB/DBX/XDB command-line interface +with full editing, history, search, and completion capabilities. DDD +has been designed to compete with well-known commercial debuggers + +%description -l ja.UTF-8 +DDDは、GDB,DBX,WDB,Ladebug,JDB,XDB,Perlデバッガ、またはPythonデバッガ +のようなコマンドライン型デバッガをグラフィカル型のデバッガに変身させる +フロントエンドです。ソースコードの参照等のような"通常"のフロントエンド +の機能のみならず、DDDはデータ構造をグラフとして表示する、会話式グラフ +ィカルデータ表示することで有名になりました。 + +%description -l pl.UTF-8 +Data Display Debugger (DDD) jest typowym graficznym interfejsem do +GDB, DBX, i XDB - popularnych UNIXowych debuggerów. Poza +``klasycznymi'' możliwościami interfejsów graficznych takich jak +przeglądanie kodów źródłowych DDD dostarcza graficznych narzędzi, +gdzie struktury wyświetlane są w postaci graficznej. Proste kliknięcie +myszą pozwala na przeglądanie zawartości struktur (aktualizowane za +każdym razem gdy program się zatrzyma). Inne możliwości DDD to: +możliwość debugowania programów napisanych w C, C++, Ada, Fortran, +Java, Pascal, Modula-2, or Modula-2; debugowanie na poziomie maszyny; +hypertekstowa nawigacja po źródłach; breakpoint, backtrace i emulator +okna historii; możliwość ustawiania preferencji; uruchamianie +programów w oknie terminala; debugowanie na zdalnych serwerach; +podręcznik on-line; interaktywna pomoc; linia poleceń GDB/DBX/XDB z +pełną edycją, historią i wyszukiwaniem. %prep %setup -q -%patch -p1 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ -./configure \ +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} +%configure \ --with-motif \ - --prefix=/usr/X11R6 -make CXXOPT="-DNDEBUG $RPM_OPT_FLAGS" + --with-readline \ + --with-termlib=tinfo + +%{__make} \ + CXXOPT="-DNDEBUG %{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/{etc/X11/wmconfig,usr/{lib/python-1.5,X11R6/lib/X11/app-defaults}} - -make install prefix=$RPM_BUILD_ROOT/usr/X11R6 +install -d $RPM_BUILD_ROOT{%{_appdefsdir},%{_desktopdir},%{_pixmapsdir}} -install pydb/pydb.py $RPM_BUILD_ROOT/usr/X11R6/bin -install pydb/{pydbcmd,pydbsupt}.py $RPM_BUILD_ROOT/usr/lib/python-1.5 +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT -install ddd/Ddd $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults -gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man1/* +install ddd/Ddd $RPM_BUILD_ROOT%{_appdefsdir} -cat > $RPM_BUILD_ROOT/etc/X11/wmconfig/ddd < $RPM_BUILD_ROOT/etc/X11/wmconfig/ddd-python < - [3.1.4-1] -- removed man group from man pages, -- added Group(pl). - -* Wed Dec 2 1998 Tomasz K³oczko - [3.1-1] -- based on spec written by Alec Habig , -- only one package is now generated, -- added -q %setup parameter, -- added gziping man pages, -- changed Buildroot to /tmp/%%{name}-%%{version}-root, -- added using %%{name} and %%{version} in Source, -- removeda all %post{un} scripts, -- added package Icon, -- added python subpackage, -- removed Packager field (this must be placed in private ~/.rpmrc), -- added %attr and %defattr macros in %files (allows build package from - non-root account). +%defattr(644,root,root,755) +%doc AUTHORS NEWS README TIPS TODO doc/*.pdf +%attr(755,root,root) %{_bindir}/ddd +%{_datadir}/ddd* +%{_appdefsdir}/Ddd +%{_desktopdir}/ddd.desktop +%{_pixmapsdir}/*.png +%{_mandir}/man1/* +%{_infodir}/ddd*