1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
# $Id: ddd.spec.in 7138 2008-11-25 18:35:20Z pwainwright $ -*- text -*-
# Spec for building DDD RPM Packages
# Note that this is NOT a relocatable package
%define name @ddd@
%define ver @VERSION@
%define rel 1
Name: %name
Summary: graphical debugger front-end; GDB, DBX, Ladebug, JDB, Perl, Python
Version: %ver
Release: %rel
Copyright: GPL
Group: Development/Debuggers
Source: ftp://ftp.gnu.org/gnu/ddd/%{name}-%{ver}.tar.gz
URL: http://www.gnu.org/software/ddd/
Prereq: /sbin/install-info
BuildRoot: /var/tmp/%{name}-root
%description DDD is a graphical front-end for command-line debuggers
such as GDB, bashdb, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger,
the GNU Make debugger (mdb) or the Python debugger (pydb). Besides
"usual" front-end features such as viewing source texts, DDD has
become famous through its interactive graphical data display, where
data structures are displayed as graphs.
%changelog
[ddd-3.2.1]
* Wed Nov 8 2000 Daniel Serodio <dserodio@email.com>
- Added missing files ($PREFIX/share/*) and fixed replaces .gz for .* so
it works with Mandrake (.bz2)
- Replaced @REL@ with "1" (the macro wasn't expanded)
[ddd-3.2.91]
- Data themes
- Support for JDB 1.2
- Bug fixes
* Wed Nov 3 1999 Mirko Streckenbach <strecken@fmi.uni-passau.de>
- Initial skeleton, based on the .specs from gnome-libs-1.0.17 and
redhat 6.1 tar-1.13.11
%prep
%setup
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{_prefix} install
( cd $RPM_BUILD_ROOT
for dir in .%{_prefix}/bin
do
[ -d $dir ] || continue
strip $dir/* || :
done
gzip -9nf .%{_prefix}/info/ddd.info*
# bzip2 -9z .%{_prefix}/info/ddd.info*
rm -f .%{_prefix}/info/dir
)
%post
/sbin/install-info %{_prefix}/info/ddd.info.* %{_prefix}/info/dir
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_prefix}/info/ddd.info.* %{_prefix}/info/dir
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc ANNOUNCE BUGS COPYING COPYING.LIB CREDITS NEWS NICKNAMES OPENBUGS
%doc PROBLEMS README TIPS TODO
%doc doc/ddd-paper.ps doc/ddd.pdf doc/ddd.ps
%{_prefix}/bin/ddd
%{_prefix}/man/man1/ddd.1*
%{_prefix}/info/ddd.info*
%{_prefix}/share/%{name}-%{ver}/vsllib/*
%{_prefix}/share/%{name}-%{ver}/themes/*
%{_prefix}/share/%{name}-%{ver}/ddd/Ddd
|