Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee00a18995 | ||
|
|
d0db95936b | ||
| 5270dc646a | |||
| d64c15bd2d | |||
| 2ba9e638a3 | |||
| bf6f63ed74 |
5 changed files with 80 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
8fd7914860953e98a9b6026b3c03e7f7 winpdb-1.2.2.tar.gz
|
||||
12
winpdb.desktop
Normal file
12
winpdb.desktop
Normal file
|
|
@ -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
|
||||
67
winpdb.spec
Normal file
67
winpdb.spec
Normal file
|
|
@ -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 <tcallawa@redhat.com> - 1.2.2-1
|
||||
- bump to 1.2.2
|
||||
|
||||
* Mon Jul 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.4-1
|
||||
- bump to 1.1.4
|
||||
|
||||
* Wed May 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.2-2
|
||||
- fix desktop-file-utils usage in spec
|
||||
|
||||
* Mon May 14 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.2-1
|
||||
- revisit for Fedora
|
||||
|
||||
* Sun Aug 28 2005 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-1
|
||||
- initial build for Fedora Extras
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue