From 92d9fe91692bf13b32c60764257d1f844de67b50 Mon Sep 17 00:00:00 2001 From: gafton Date: Wed, 24 Nov 2004 05:07:57 +0000 Subject: [PATCH 01/17] Fix braindead typo from the original import --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d2485ab..619b49e 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ MAKEFILE_COMMON := $(shell $(find-makefile-common)) ifeq ($(MAKEFILE_COMMON),) # attept a checkout define checkout-makefile-common -test -f CVS/Rootx && { 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 +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)) From f39167fdb7a31697d3141dc1308ceb6dbe0c2f2c Mon Sep 17 00:00:00 2001 From: Matthias Saou Date: Wed, 2 Feb 2005 14:11:51 +0000 Subject: [PATCH 02/17] Fix release. --- wxPython.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wxPython.spec b/wxPython.spec index b834409..f06f1d9 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -4,8 +4,7 @@ Name: wxPython Version: 2.4.2.4 -Release: 0.fdr.2.1 -Epoch: 0 +Release: 1 Summary: wxPython is a GUI toolkit for the Python programming language. Group: Development/Languages @@ -15,8 +14,8 @@ Source0: http://dl.sf.net/wxpython/wxPythonSrc-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: wxGTK2-devel >= 0:2.4.2, pkgconfig -BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel -BuildRequires: python-devel, wxGTK2-gl +BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel +BuildRequires: python-devel, wxGTK2-gl Requires: %{_libdir}/python%{pyver} %description From 919b70049ae41a2a8619c7c1161bb7e29d1a32b3 Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: Thu, 10 Feb 2005 18:55:05 +0000 Subject: [PATCH 03/17] remove included disutils before build; fixes build on x86_64 --- wxPython.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wxPython.spec b/wxPython.spec index f06f1d9..a431937 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -4,7 +4,7 @@ Name: wxPython Version: 2.4.2.4 -Release: 1 +Release: 2 Summary: wxPython is a GUI toolkit for the Python programming language. Group: Development/Languages @@ -32,6 +32,8 @@ platform GUI library, which is written in C++. # just build the wxPython part, not all of wxWindows which we already have # in fedora... cd wxPython +# included disutils is not multilib aware; use normal +rm -rf distutils python setup.py %{buildflags} build # this doesn't get built automatically, resulting in bogus libwx_gtk2-2.3.so.0 @@ -56,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/python%{pyver}/site-packages/wx %changelog +* Tue Feb 08 2005 Thorsten Leemhuis 2.4.2.4-2 +- remove included disutils - it is not multilib aware; this + fixes build on x86_64 + * Thu Nov 20 2003 Panu Matilainen 0:2.4.2.4-0.fdr.2 - add missing buildrequires: python-devel, wxGTK2-gl From 1261be89acc7fe69542bfe492d3b4cf3345b51f1 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Sat, 12 Feb 2005 03:18:05 +0000 Subject: [PATCH 04/17] This package was renamed to wxPythonGTK2 in extras for FC2. --- .cvsignore | 1 - Makefile | 21 ---------------- sources | 1 - wxPython.spec | 69 --------------------------------------------------- 4 files changed, 92 deletions(-) delete mode 100644 .cvsignore delete mode 100644 Makefile delete mode 100644 sources delete mode 100644 wxPython.spec diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 5ff901a..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -wxPythonSrc-2.4.2.4.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 619b49e..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: wxPython -# $Id$ -NAME := wxPython -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 deleted file mode 100644 index d49d5e3..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -ea4eb68e10a0c2a9be643b35dcb78e41 wxPythonSrc-2.4.2.4.tar.gz diff --git a/wxPython.spec b/wxPython.spec deleted file mode 100644 index a431937..0000000 --- a/wxPython.spec +++ /dev/null @@ -1,69 +0,0 @@ -%define pyver %(python -c 'import sys ; print sys.version[:3]') - -%define buildflags WXPORT=gtk2 UNICODE=1 - -Name: wxPython -Version: 2.4.2.4 -Release: 2 -Summary: wxPython is a GUI toolkit for the Python programming language. - -Group: Development/Languages -License: LGPL -URL: http://www.wxpython.org/ -Source0: http://dl.sf.net/wxpython/wxPythonSrc-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: wxGTK2-devel >= 0:2.4.2, pkgconfig -BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel -BuildRequires: python-devel, wxGTK2-gl -Requires: %{_libdir}/python%{pyver} - -%description -wxPython is a GUI toolkit for the Python programming language. It allows -Python programmers to create programs with a robust, highly functional -graphical user interface, simply and easily. It is implemented as a Python -extension module (native code) that wraps the popular wxWindows cross -platform GUI library, which is written in C++. - -%prep -%setup -q -n %{name}Src-%{version} - -%build -# just build the wxPython part, not all of wxWindows which we already have -# in fedora... -cd wxPython -# included disutils is not multilib aware; use normal -rm -rf distutils -python setup.py %{buildflags} build - -# this doesn't get built automatically, resulting in bogus libwx_gtk2-2.3.so.0 -# dependency for the package -cd demo/dllwidget -make clean -make - -%install -rm -rf $RPM_BUILD_ROOT -cd wxPython -python setup.py %{buildflags} install --root=$RPM_BUILD_ROOT - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root,-) -%doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples -%{_bindir}/* -%{_libdir}/python%{pyver}/site-packages/wxPython -%{_libdir}/python%{pyver}/site-packages/wx - -%changelog -* Tue Feb 08 2005 Thorsten Leemhuis 2.4.2.4-2 -- remove included disutils - it is not multilib aware; this - fixes build on x86_64 - -* Thu Nov 20 2003 Panu Matilainen 0:2.4.2.4-0.fdr.2 -- add missing buildrequires: python-devel, wxGTK2-gl - -* Sun Nov 02 2003 Panu Matilainen 0:2.4.2.4-0.fdr.1 -- Initial RPM release. From 0381bc9f4e2dd759a978305dab7ed2494c4e50a8 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Wed, 21 Dec 2005 13:19:54 +0000 Subject: [PATCH 05/17] re-enable wxPython component in CVS --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..619b49e --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: wxPython +# $Id$ +NAME := wxPython +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) From b8bf9b48b87a75816bab19f11d7eaab63fcd685f Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 31 Mar 2006 02:23:27 +0000 Subject: [PATCH 06/17] Update to 2.6.3.0 (finally, I know) --- .cvsignore | 1 + sources | 1 + wxPython.spec | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 .cvsignore create mode 100644 sources create mode 100644 wxPython.spec diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..6500640 --- /dev/null +++ b/.cvsignore @@ -0,0 +1 @@ +wxPython-src-2.6.3.0.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..8ff4a1b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +2891a496f4a415179e6a231619344b27 wxPython-src-2.6.3.0.tar.gz diff --git a/wxPython.spec b/wxPython.spec new file mode 100644 index 0000000..5bdcec2 --- /dev/null +++ b/wxPython.spec @@ -0,0 +1,128 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +%define buildflags WXPORT=gtk2 UNICODE=1 + +Name: wxPython +Version: 2.6.3.0 +Release: 1%{?dist} + +Summary: GUI toolkit for the Python programming language + +Group: Development/Languages +License: LGPL +URL: http://www.wxpython.org/ +Source0: http://dl.sf.net/wxpython/wxPython-src-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: wxGTK-devel = 2.6.3, pkgconfig +BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel +BuildRequires: python-devel, wxGTK-gl + +# packages should depend on "wxPython", not "wxPythonGTK2", but in case +# one does, here's the provides for it. +Provides: wxPythonGTK2 = %{version}-%{release} + +%description +wxPython is a GUI toolkit for the Python programming language. It allows +Python programmers to create programs with a robust, highly functional +graphical user interface, simply and easily. It is implemented as a Python +extension module (native code) that wraps the popular wxWindows cross +platform GUI library, which is written in C++. + +%package devel +Group: Development/Libraries +Summary: Development files for wxPython add-on modules +Requires: %{name} = %{version}-%{release} +Requires: wxGTK-devel + +%description devel +This package includes C++ header files and SWIG files needed for developing +add-on modules for wxPython. It is NOT needed for development of most +programs which use the wxPython toolkit. + + +%prep +%setup -q -n wxPython-src-%{version} + +# There's binaries included in the source tarball, resulting in bogus +# dependencies for the package -- clean it up: +rm wxPython/samples/embedded/embedded wxPython/samples/embedded/embedded.o + +%build +# Just build the wxPython part, not all of wxWindows which we already have +# in Fedora +cd wxPython +# included distutils is not multilib aware; use normal +rm -rf distutils +python setup.py %{buildflags} build + + +%install +rm -rf $RPM_BUILD_ROOT +cd wxPython +python setup.py %{buildflags} install --root=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples +%{_bindir}/* +%{python_sitearch}/wx.pth +%{python_sitearch}/wxversion.py* +%dir %{python_sitearch}/wx-2.6-gtk2-unicode/ +%{python_sitearch}/wx-2.6-gtk2-unicode/wx +%{python_sitearch}/wx-2.6-gtk2-unicode/wxPython + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/wx-2.6/wx/wxPython +%{_includedir}/wx-2.6/wx/wxPython/*.h +%dir %{_includedir}/wx-2.6/wx/wxPython/i_files +%{_includedir}/wx-2.6/wx/wxPython/i_files/*.i +%{_includedir}/wx-2.6/wx/wxPython/i_files/*.py* +%{_includedir}/wx-2.6/wx/wxPython/i_files/*.swg + + +%changelog +* Thu Mar 30 2006 Matthew Miller - 2.6.3.0-1 +- update to 2.6.3.0 +- wxGTK and wxPython versions are inexorably linked; make BuildRequires + be exact, rather than >=. +- make devel subpackage as per comment #7 in bug #163440. + +* Thu Nov 24 2005 Matthew Miller - 2.6.1.0-1 +- update to 2.6.0.0 +- merge in changes from current extras 2.4.x package +- Happy Thanksgiving +- build animate extention again -- works now. + +* Thu Apr 28 2005 Matthew Miller - 2.6.0.0-bu45.1 +- get rid of accidental binaries in source tarball -- they generates + spurious dependencies and serve no purpose +- update to 2.6.0.0 and build for Velouria +- switch to Fedora Extras base spec file +- enable gtk2 and unicode and all the code stuff (as FE does) +- disable BUILD_ANIMATE extension from contrib -- doesn't build +- files are in a different location now -- adjust to that +- zap include files (needed only for building wxPython 3rd-party modules), + because I don't think this is likely to be very useful. Other option + would be to create a -devel package, but I think that'd be confusing. + +* Tue Feb 08 2005 Thorsten Leemhuis 0:2.4.2.4-4 +- remove included disutils - it is not multilib aware; this + fixes build on x86_64 + +* Tue Jan 06 2004 Panu Matilainen 0:2.4.2.4-0.fdr.3 +- rename package to wxPythonGTK2, provide wxPython (see bug 927) +- dont ship binaries in /usr/share + +* Thu Nov 20 2003 Panu Matilainen 0:2.4.2.4-0.fdr.2 +- add missing buildrequires: python-devel, wxGTK2-gl + +* Sun Nov 02 2003 Panu Matilainen 0:2.4.2.4-0.fdr.1 +- Initial RPM release. +~ From 1a4fe2f69c368a2081dba2b7f38093bfd4906370 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 31 Mar 2006 13:18:42 +0000 Subject: [PATCH 07/17] buildrequires mesa-libGLU-devel --- wxPython.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wxPython.spec b/wxPython.spec index 5bdcec2..59fbd7d 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -4,7 +4,7 @@ Name: wxPython Version: 2.6.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GUI toolkit for the Python programming language @@ -16,6 +16,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: wxGTK-devel = 2.6.3, pkgconfig BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel +BuildRequires: mesa-libGLU-devel BuildRequires: python-devel, wxGTK-gl # packages should depend on "wxPython", not "wxPythonGTK2", but in case @@ -88,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 31 2006 Matthew Miller - 2.6.3.0-2 +- buildrequires mesa-libGLU-devel + * Thu Mar 30 2006 Matthew Miller - 2.6.3.0-1 - update to 2.6.3.0 - wxGTK and wxPython versions are inexorably linked; make BuildRequires From df7614752c2b41f7443bf7272837479a60a0ab65 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 31 Mar 2006 14:12:24 +0000 Subject: [PATCH 08/17] Apparently wx.pth and wxversion.py don't belong in lib64. --- wxPython.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wxPython.spec b/wxPython.spec index 59fbd7d..27dce63 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -1,10 +1,11 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define buildflags WXPORT=gtk2 UNICODE=1 Name: wxPython Version: 2.6.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GUI toolkit for the Python programming language @@ -72,8 +73,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples %{_bindir}/* -%{python_sitearch}/wx.pth -%{python_sitearch}/wxversion.py* +%{python_sitelib}/wx.pth +%{python_sitelib}/wxversion.py* %dir %{python_sitearch}/wx-2.6-gtk2-unicode/ %{python_sitearch}/wx-2.6-gtk2-unicode/wx %{python_sitearch}/wx-2.6-gtk2-unicode/wxPython @@ -89,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 31 2006 Matthew Miller - 2.6.3.0-3 +- oh yeah -- wxversion.py not lib64. + * Fri Mar 31 2006 Matthew Miller - 2.6.3.0-2 - buildrequires mesa-libGLU-devel From 08afee30ddbf47ce92f8ed950bf236ddeede7695 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 31 Mar 2006 14:13:49 +0000 Subject: [PATCH 09/17] Rel number bump. Sorry for noise. --- wxPython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxPython.spec b/wxPython.spec index 27dce63..0e046cf 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -5,7 +5,7 @@ Name: wxPython Version: 2.6.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GUI toolkit for the Python programming language @@ -90,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 31 2006 Matthew Miller - 2.6.3.0-4 +- grr. bump relnumber. + * Fri Mar 31 2006 Matthew Miller - 2.6.3.0-3 - oh yeah -- wxversion.py not lib64. From 66347b7dd7a5cb779f62c63b345af54f18ca4d2a Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 31 Mar 2006 18:46:12 +0000 Subject: [PATCH 10/17] mesa-*-devel -> just *-devel --- wxPython.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wxPython.spec b/wxPython.spec index 0e046cf..74e5d5e 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -5,7 +5,7 @@ Name: wxPython Version: 2.6.3.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GUI toolkit for the Python programming language @@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: wxGTK-devel = 2.6.3, pkgconfig BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel -BuildRequires: mesa-libGLU-devel +BuildRequires: libGLU-devel BuildRequires: python-devel, wxGTK-gl # packages should depend on "wxPython", not "wxPythonGTK2", but in case @@ -90,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 31 2006 Matthew Miller - 2.6.3.0-5 +- mesa-libGLU-devel -> libGLU-devel, for FC4 and for The Future + * Fri Mar 31 2006 Matthew Miller - 2.6.3.0-4 - grr. bump relnumber. From 7e2ddbdbc3554e413d11c7204cf5bab9e90f6ec1 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Thu, 13 Apr 2006 21:09:03 +0000 Subject: [PATCH 11/17] - version 2.6.3.2 - move wxversion.py _into_ lib64. Apparently that's the right thing to do. :) - upstream tarball no longer includes embedded.o (since I finally got around to pointing that out to the developers instead of just kludging it away.) - buildrequires to just libGLU-devel instead of mesa-libGL-devel --- .cvsignore | 2 +- sources | 2 +- wxPython.spec | 26 ++++++++++++++++---------- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.cvsignore b/.cvsignore index 6500640..b6500b9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -wxPython-src-2.6.3.0.tar.gz +wxPython-src-2.6.3.2.tar.gz diff --git a/sources b/sources index 8ff4a1b..464223d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2891a496f4a415179e6a231619344b27 wxPython-src-2.6.3.0.tar.gz +a27546fab8a8d77eb6b67954e6362269 wxPython-src-2.6.3.2.tar.gz diff --git a/wxPython.spec b/wxPython.spec index 74e5d5e..00e2eaa 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -4,8 +4,8 @@ %define buildflags WXPORT=gtk2 UNICODE=1 Name: wxPython -Version: 2.6.3.0 -Release: 5%{?dist} +Version: 2.6.3.2 +Release: 1%{?dist} Summary: GUI toolkit for the Python programming language @@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: wxGTK-devel = 2.6.3, pkgconfig BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel -BuildRequires: libGLU-devel +BuildRequires: libGL-devel, libGLU-devel BuildRequires: python-devel, wxGTK-gl # packages should depend on "wxPython", not "wxPythonGTK2", but in case @@ -46,9 +46,6 @@ programs which use the wxPython toolkit. %prep %setup -q -n wxPython-src-%{version} -# There's binaries included in the source tarball, resulting in bogus -# dependencies for the package -- clean it up: -rm wxPython/samples/embedded/embedded wxPython/samples/embedded/embedded.o %build # Just build the wxPython part, not all of wxWindows which we already have @@ -64,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT cd wxPython python setup.py %{buildflags} install --root=$RPM_BUILD_ROOT +# this is a kludge.... +%if "%{python_sitelib}" != "%{python_sitearch}" +mv $RPM_BUILD_ROOT%{python_sitelib}/wx.pth $RPM_BUILD_ROOT%{python_sitearch} +mv $RPM_BUILD_ROOT%{python_sitelib}/wxversion.py* $RPM_BUILD_ROOT%{python_sitearch} +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -73,8 +75,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples %{_bindir}/* -%{python_sitelib}/wx.pth -%{python_sitelib}/wxversion.py* +%{python_sitearch}/wx.pth +%{python_sitearch}/wxversion.py* %dir %{python_sitearch}/wx-2.6-gtk2-unicode/ %{python_sitearch}/wx-2.6-gtk2-unicode/wx %{python_sitearch}/wx-2.6-gtk2-unicode/wxPython @@ -90,8 +92,12 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Fri Mar 31 2006 Matthew Miller - 2.6.3.0-5 -- mesa-libGLU-devel -> libGLU-devel, for FC4 and for The Future +* Thu Apr 13 2006 Matthew Miller - 2.6.3.2-1 +- version 2.6.3.2 +- move wxversion.py _into_ lib64. Apparently that's the right thing to do. :) +- upstream tarball no longer includes embedded.o (since I finally got around + to pointing that out to the developers instead of just kludging it away.) +- buildrequires to just libGLU-devel instead of mesa-libGL-devel * Fri Mar 31 2006 Matthew Miller - 2.6.3.0-4 - grr. bump relnumber. From a09e05be8cffef68dfdef4d2b9845d39b494b874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 27 Aug 2006 21:14:57 +0000 Subject: [PATCH 12/17] http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild --- needs.rebuild | 1 + 1 file changed, 1 insertion(+) create mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild new file mode 100644 index 0000000..815fd29 --- /dev/null +++ b/needs.rebuild @@ -0,0 +1 @@ +http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild From 7571d41802c00a194df4a4fb66308a6a76fc7aee Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Mon, 28 Aug 2006 20:05:21 +0000 Subject: [PATCH 13/17] bump release for FC6 rebuild. --- wxPython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxPython.spec b/wxPython.spec index 00e2eaa..a4825b5 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -5,7 +5,7 @@ Name: wxPython Version: 2.6.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GUI toolkit for the Python programming language @@ -92,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 28 2006 Matthew Miller - 2.6.3.2-2 +- bump release for FC6 rebuild + * Thu Apr 13 2006 Matthew Miller - 2.6.3.2-1 - version 2.6.3.2 - move wxversion.py _into_ lib64. Apparently that's the right thing to do. :) From 1ee0c93c4816e390ecec05625e830b46a2e6096a Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Thu, 7 Sep 2006 20:27:07 +0000 Subject: [PATCH 14/17] built succesfully a while ago. removing needs.rebuild. --- needs.rebuild | 1 - 1 file changed, 1 deletion(-) delete mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild deleted file mode 100644 index 815fd29..0000000 --- a/needs.rebuild +++ /dev/null @@ -1 +0,0 @@ -http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild From 4852f606815f00568e2dd78d4568e2f93e98d0e6 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 23 Oct 2006 19:32:03 +0000 Subject: [PATCH 15/17] Initialize branch FC-6 for wxPython --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..d5b6362 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +FC-6 From 9d070ec42e60bc138ca7d2a15d409454f50c42a6 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:19:44 +0000 Subject: [PATCH 16/17] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 619b49e..210e4d1 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := wxPython 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 4944039b7fcba101b85134906e88f269f12422cc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:29:22 +0000 Subject: [PATCH 17/17] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch 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 210e4d1..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: wxPython -# $Id$ -NAME := wxPython -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 $$d/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/branch b/branch deleted file mode 100644 index d5b6362..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -FC-6