145 lines
5 KiB
RPMSpec
145 lines
5 KiB
RPMSpec
Summary: A GUI for several command-line debuggers.
|
|
Name: ddd
|
|
Version: 3.2.91
|
|
Release: 1
|
|
Copyright: GPL
|
|
Group: Development/Debuggers
|
|
Source0: ftp://ftp.gnu.org/pub/gnu/ddd/ddd-%{version}.tar.bz2
|
|
Source1: ddd.wmconfig
|
|
Source2: ddd.desktop
|
|
Vendor: DDD Developers <ddd@gnu.org>
|
|
Packager: Troy Engel <tengel@sonic.net>
|
|
URL: http://www.gnu.org/software/ddd/
|
|
BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
|
|
%description
|
|
The Data Display Debugger (DDD) is a popular GUI for command-line
|
|
debuggers like GDB, DBX, JDB, WDB, XDB, the Perl debugger, and the
|
|
Python debugger. DDD allows you to view source texts and provides an
|
|
interactive graphical data display, in which data structures are
|
|
displayed as graphs. You can use your mouse to dereference pointers
|
|
or view structure contents, which are updated every time the program
|
|
stops. DDD can debug programs written in Ada, C, C++, Chill, Fortran,
|
|
Java, Modula, Pascal, Perl, and Python. DDD provides machine-level
|
|
debugging; hypertext source navigation and lookup; breakpoint,
|
|
watchpoint, backtrace, and history editors; array plots; undo and
|
|
redo; preferences and settings editors; program execution in the
|
|
terminal emulation window, debugging on a remote host, an on-line
|
|
manual, extensive help on the Motif user interface, and a command-line
|
|
interface with full editing, history and completion capabilities.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
|
|
--prefix=/usr/X11R6
|
|
make
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install-strip prefix=$RPM_BUILD_ROOT/usr/X11R6
|
|
# we move these next two into DocDir
|
|
rm -f $RPM_BUILD_ROOT/usr/X11R6/share/ddd-%{version}/{COPYING,NEWS}
|
|
# add that app-defaults file
|
|
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults
|
|
install -m 644 ddd/Ddd $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults
|
|
# the wmconfig config file
|
|
mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig/
|
|
install -m 644 $RPM_SOURCE_DIR/ddd.wmconfig \
|
|
$RPM_BUILD_ROOT/etc/X11/wmconfig/ddd
|
|
# the GNOME file, this really should be a subpackage
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/gnome/apps/Development
|
|
install -m 644 $RPM_SOURCE_DIR/ddd.desktop \
|
|
$RPM_BUILD_ROOT/usr/share/gnome/apps/Development/ddd.desktop
|
|
# install the python debugger replacement
|
|
install -m 755 pydb/pydb.py $RPM_BUILD_ROOT/usr/X11R6/bin
|
|
install -m 755 pydb/pydbcmd.py $RPM_BUILD_ROOT/usr/X11R6/bin
|
|
install -m 755 pydb/pydbsupt.py $RPM_BUILD_ROOT/usr/X11R6/bin
|
|
cd $RPM_BUILD_ROOT/usr/X11R6/bin
|
|
ln pydb.py pydb
|
|
|
|
# gzip all the info files
|
|
cd $RPM_BUILD_ROOT/usr/X11R6/info
|
|
(for ii in ddd.*; do gzip -9 $ii; done;)
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/X11R6/bin/ddd
|
|
/usr/X11R6/info/ddd.*
|
|
/usr/X11R6/man/*/*
|
|
/usr/X11R6/bin/py*
|
|
/usr/X11R6/share/*/*/*
|
|
%attr(0644,root,root) %config /etc/X11/wmconfig/ddd
|
|
%attr(0644,root,root) %config /usr/share/gnome/apps/Development/ddd.desktop
|
|
%attr(0644,root,root) %config /usr/X11R6/lib/X11/app-defaults/Ddd
|
|
|
|
%attr(0644,root,root) %doc ANNOUNCE AUTHORS BUGS COPYING COPYING.LIB CREDITS
|
|
%attr(0644,root,root) %doc ChangeLog INSTALL NEWS NICKNAMES OPENBUGS PROBLEMS
|
|
%attr(0644,root,root) %doc README TIPS TODO doc/ddd.pdf doc/ddd-paper.ps
|
|
%attr(0644,root,root) %doc doc/sample.dddinit
|
|
|
|
|
|
%changelog
|
|
* Sun Jul 30 2000 Troy Engel <tengel@sonic.net>
|
|
- upgraded to 3.2.91
|
|
- removed lesstif 0.89 patch, it's integrated into the source now
|
|
- changed BuildRoot to include ddd version
|
|
- included app-defaults file (contrary to their warning, if you just stick
|
|
to RPMs, your correctly versioned app-default should always be there)
|
|
- marked the wmconfig and GNOME config files as such
|
|
- added .../share and .../info files to package, gzipped info files
|
|
- removed the 'pics' archive from the RPM packaging, it's not needed
|
|
- added a whole bunch of the distribution docs to the RPM
|
|
- cleaned up and commented the spec file a little
|
|
|
|
* Fri Feb 11 2000 Tim Powers <timp@redhat.com>
|
|
- applied patch for ddd for use with lesstif 0.89 which caused the "view news"
|
|
etc. help items not to uncompress the news and manual properly, resulting in
|
|
an error message. Patch was from Andreas Zeller
|
|
<andreas.zeller@fmi.uni-passau.de>
|
|
|
|
* Tue Feb 01 2000 Tim Powers <timp@redhat.com>
|
|
- bzipped sources to conserve space
|
|
- built for 6.2
|
|
|
|
* Tue Feb 01 2000 Trond Eivind Glomsr�d <teg@pvv.ntnu.no>
|
|
- includes pdf doc instead of postscript
|
|
- upgraded to 3.2
|
|
- changed source locations and URLs to point at the new GNU sites
|
|
- now does a make strip
|
|
- added GNOME desktop entry
|
|
|
|
|
|
* Fri Jan 07 2000 Trond Eivind Glomsr�d <teg@pvv.ntnu.no>
|
|
- removed ptrace patch
|
|
- now installs pydb
|
|
- upgraded to 3.1.99
|
|
- removed lots of old log entries
|
|
|
|
* Thu Aug 19 1999 Tim Powers <timp@redhat.com>
|
|
- reapplied patch for ptrace problems with sparc
|
|
|
|
* Thu Aug 19 1999 Dale Lovelace <dale@redhat.com>
|
|
- added ddd.wmconfig
|
|
|
|
* Thu Jul 1 1999 Tim Powers <timp@redhat.com>
|
|
- added the --with-motif-includes= and --with-motif-libraries= lines
|
|
so that it would build
|
|
- rebuilt package for Powertools
|
|
|
|
* Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
|
|
- update to 3.1.5.
|
|
|
|
* Tue Apr 13 1999 Michael Maher <mike@redhat.com>
|
|
- built package for 6.0
|
|
- updated package
|