Parag Nemade 93b38ed
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
3a80983
3a80983
Name:		winpdb
5b2939f
Version:	1.4.8
ee53865
Release:	10%{?dist}
3a80983
Summary:	An advanced python debugger
3a80983
Group:		Development/Debuggers
ca6e73d
License:	GPLv2+
c89cb29
URL:		http://www.winpdb.org/
88cd4ed
Source0:	http://winpdb.googlecode.com/files/winpdb-%{version}.tar.gz
3a80983
Source1:	%{name}.desktop
78b4ba2
Source2:	%{name}.png
e72876c
Patch0:		winpdb-1.4.8-gnome-fix.patch
e7d071c
Patch1:		https://sources.debian.net/data/main/w/winpdb/1.4.8-2.1/debian/patches/wxpython3.0.patch
e7d071c
# https://code.google.com/p/winpdb/issues/detail?id=19
e7d071c
Patch2:		winpdb-1.4.8-issue19-fix.patch
3a80983
BuildArch:	noarch
Parag Nemade 93b38ed
BuildRequires: 	python2-devel, wxPython-devel >= 2.6, desktop-file-utils
3a80983
Requires:	python-crypto, wxPython >= 2.6
3a80983
3a80983
%description
3a80983
Winpdb is an advanced python debugger, with support for smart breakpoints, 
3a80983
multiple threads, namespace modification, embedded debugging, encrypted 
3a80983
communication and speed of up to 20 times that of pdb.
3a80983
3a80983
%prep
3a80983
%setup -q
e72876c
%patch0 -p1 -b .gnomefix
e7d071c
%patch1 -p1 -b .wxpy3
e7d071c
%patch2 -p1 -b .issue19
3a80983
sed -i 's/\r//g' README.txt
3a80983
chmod -x README.txt
3a80983
3a80983
%build
3a80983
%{__python} setup.py build
3a80983
3a80983
%install
3a80983
%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
78b4ba2
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
78b4ba2
install -m0644 -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
78b4ba2
3a80983
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
3a80983
Parag Nemade 93b38ed
desktop-file-install 		\
3a80983
	--dir $RPM_BUILD_ROOT%{_datadir}/applications	\
3a80983
	%{SOURCE1}
3a80983
3a80983
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/rpdb2.py $RPM_BUILD_ROOT%{python_sitelib}/winpdb.py
3a80983
3a80983
%files
5b2939f
%doc README.txt
3a80983
%{_bindir}/*
3a80983
%{python_sitelib}/*
3a80983
%{_datadir}/applications/*.desktop
71d79b9
%{_datadir}/pixmaps/%{name}.png
3a80983
3a80983
%changelog
ee53865
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-10
ee53865
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ee53865
e7d071c
* Wed Apr  1 2015 Tom Callaway <spot@fedoraproject.org> - 1.4.8-9
e7d071c
- apply patch from debian for improved support with wxPython 3
e7d071c
- fix from upstream for breakpoints with commas (issue:19)
e7d071c
e72876c
* Thu Dec  4 2014 Tom Callaway <spot@fedoraproject.org> - 1.4.8-8
e72876c
- fix issue where winpdb doesn't launch in gnome-terminal properly anymore (bz1149030)
e72876c
692b367
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-7
692b367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
692b367
fa7c846
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-6
fa7c846
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fa7c846
Parag Nemade 93b38ed
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.4.8-5
Parag Nemade 93b38ed
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
Parag Nemade 93b38ed
- Cleanup spec as per recently changed packaging guidelines
Parag Nemade 93b38ed
b2adfdd
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-4
b2adfdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b2adfdd
56b8056
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-3
56b8056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
56b8056
153ef2b
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2
153ef2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
153ef2b
5b2939f
* Thu Aug 19 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.8-1
5b2939f
- update to 1.4.8
5b2939f
703e938
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.6-3
703e938
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
703e938
d29cb6e
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-2
d29cb6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d29cb6e
90c0ced
* Wed Apr  8 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.6-1
90c0ced
- update to 1.4.6
90c0ced
71d79b9
* Wed Mar  4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.4-4
71d79b9
- fix typo
71d79b9
78b4ba2
* Wed Mar  4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.4-3
78b4ba2
- add icon, fix desktop file (bz 487870)
78b4ba2
c9245f7
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-2
c9245f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c9245f7
81f526d
* Wed Feb 11 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.4-1
81f526d
- update to 1.4.4
81f526d
eb28536
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.4.2-2
eb28536
- Rebuild for Python 2.6
eb28536
88cd4ed
* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.2-1
88cd4ed
- update to 1.4.2, source moved to google code
88cd4ed
59a3c45
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.0-1
59a3c45
- update to 1.4.0
59a3c45
653a91e
* Wed Apr 23 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.8-1
653a91e
- update to 1.3.8
653a91e
f73eedf
* Mon Mar 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.6-1
f73eedf
- update to 1.3.6
f73eedf
893e080
* Mon Jan 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.4-1.1
893e080
- bump to 1.3.4
893e080
- actually finish writing the changelog
c89cb29
830e76e
* Tue Dec 11 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.2-1
830e76e
- bump to 1.3.2
830e76e
ca6e73d
* Mon Aug 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.2-1
ca6e73d
- bump to 1.2.2
ca6e73d
c93ce07
* Mon Jul 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.4-1
c93ce07
- bump to 1.1.4
c93ce07
3a80983
* Wed May 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.2-2
3a80983
- fix desktop-file-utils usage in spec
3a80983
3a80983
* Mon May 14 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.2-1
3a80983
- revisit for Fedora
3a80983
3a80983
* Sun Aug 28 2005 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-1
3a80983
- initial build for Fedora Extras
3a80983
3a80983