File pydb.spec of Package pydb

# Packmangroup: System
# Packmanpackagename: pydb
# Packman: Manfred Tremmel

Name:           pydb
BuildRequires:  emacs-nox
BuildRequires:  python >= 2.3.4
License:        GPL
Group:          Development/Languages/Python
Version:        1.25
Release:        1
Summary:        pydb is an expanded version of the Python debugger
# Summary(de):    pydb ist eine erweiterte Version des Python Debuggers
Source:         pydb-%{version}.tar.bz2
URL:            http://bashdb.sourceforge.net/pydb/
Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root
# Packager:       Manfred Tremmel <Manfred.Tremmel@iiv.de>
# Vendor:         Packman
# Distribution:   openSUSE 10.2 (i586)
Requires:       python >= %( echo `rpm -q --queryformat '%{VERSION}' python` )


%description
pydb is an expanded version of the Python debugger loosely based on
the gdb comand set. It also has all of the features found in an
earlier version of pydb.py that was distributed with the debugger
GUI ddd.

%description -l de
pydb ist eine erweiterte Version des Python Debuggers, basierend auf
den gdb Kommandotools. Es enthält alle Funktionen die in einer früheren
Version von pydb.py waren, die mit der Debugger-GUI ddd mitgeliefert
wurden.

%prep
%setup -n %{name}-%{version}

%build
%configure
%__make

%install
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%makeinstall
cd %{buildroot}%{_bindir}
%{__rm} -f pydb
%{__ln_s} ../..%{py_sitedir}/pydb/pydb.py pydb

%clean
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO
%{_bindir}/*
%{py_sitedir}/pydb
%{_mandir}/man1/*
%{_datadir}/emacs/site-lisp/pydb.*

%changelog
* Wed Feb 14 2007 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- update to version 1.21
* Sat Dec 16 2006 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- update to version 1.20
* Sat Oct 28 2006 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- can not be noarch, because of the lib and lib64 directory in
  py_sitedir on 32Bit and some 64Bit architectures.
* Sat Oct 28 2006 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- update to version 1.19
* Wed Sep 27 2006 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- update to version 1.18
* Tue Sep 05 2006 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- fixed a link
- improved description
* Sun Sep 03 2006 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- first spec file
openSUSE Build Service is sponsored by