diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 7233b58..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: winpdb -# $Id$ -NAME := winpdb -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/sources b/sources index e69de29..86ccfed 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8fd7914860953e98a9b6026b3c03e7f7 winpdb-1.2.2.tar.gz diff --git a/winpdb.desktop b/winpdb.desktop new file mode 100644 index 0000000..14200d1 --- /dev/null +++ b/winpdb.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Winpdb +GenericName=Python Debugger +Comment=Advanced python debugger +Exec=winpdb +Icon=gnome-devel.png +StartupNotify=true +Terminal=false +Type=Application +Categories=GNOME;Development; +X-Desktop-File-Install-Version=0.4 diff --git a/winpdb.spec b/winpdb.spec new file mode 100644 index 0000000..2613dd0 --- /dev/null +++ b/winpdb.spec @@ -0,0 +1,67 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: winpdb +Version: 1.2.2 +Release: 1%{?dist}.1 +Summary: An advanced python debugger +Group: Development/Debuggers +License: GPLv2+ +URL: http://www.digitalpeers.com/pythondebugger/ +Source0: http://download.sourceforge.net/winpdb/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: python-devel, wxPython-devel >= 2.6, desktop-file-utils +Requires: python-crypto, wxPython >= 2.6 + +%description +Winpdb is an advanced python debugger, with support for smart breakpoints, +multiple threads, namespace modification, embedded debugging, encrypted +communication and speed of up to 20 times that of pdb. + +%prep +%setup -q +sed -i 's/\r//g' README.txt +chmod -x README.txt + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications + +desktop-file-install --vendor fedora \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE1} + +chmod +x $RPM_BUILD_ROOT%{python_sitelib}/rpdb2.py $RPM_BUILD_ROOT%{python_sitelib}/winpdb.py + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc PKG-INFO README.txt +%{_bindir}/* +%{python_sitelib}/* +%{_datadir}/applications/*.desktop + +%changelog +* Mon Aug 27 2007 Tom "spot" Callaway - 1.2.2-1 +- bump to 1.2.2 + +* Mon Jul 30 2007 Tom "spot" Callaway - 1.1.4-1 +- bump to 1.1.4 + +* Wed May 30 2007 Tom "spot" Callaway - 1.1.2-2 +- fix desktop-file-utils usage in spec + +* Mon May 14 2007 Tom "spot" Callaway - 1.1.2-1 +- revisit for Fedora + +* Sun Aug 28 2005 Tom "spot" Callaway - 1.0.2-1 +- initial build for Fedora Extras + +