Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

26 commits

Author SHA1 Message Date
Fedora Release Engineering
b64c2ef8a4 dist-git conversion 2010-07-29 15:29:06 +00:00
Bill Nottingham
f868ea94b8 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:19:42 +00:00
4160330643 - update to 2.8.9.1
- fix libdir for additional wx libraries (#306761)
2008-09-30 16:23:35 +00:00
6f64eda4e8 - Fix an attribute error when importing wxPython (compat) module (redhat
bugzilla 450073, 450074)
2008-06-12 22:10:19 +00:00
37b5881b57 clog 2008-06-07 12:01:00 +00:00
a954797be7 clog 2008-06-07 11:52:48 +00:00
Jesse Keating
a559ee26c8 Initialize branch F-8 for wxPython 2007-10-20 19:07:23 +00:00
Jesse Keating
fc56bdc749 - Rebuild for selinux ppc32 issue. 2007-08-29 04:49:52 +00:00
4d94ac2ed7 - update to 2.8.4.0
- obsolete compat-wxPythonGTK
2007-07-11 18:31:19 +00:00
1255630b75 update to 2.8.3.0 2007-04-15 17:52:30 +00:00
6264856c0a Update to new 2.8.0.1 release.
Fri Dec 15 2006 Matthew Miller <mattdm@mattdm.org> - 2.8.0.1-1
- update to 2.8.0.1
- make buildrequire wxGTK of version-wxpythonsubrelease
- add wxaddons to filelist
2006-12-15 15:00:29 +00:00
6758ce62a1 - bump release for rebuild against python 2.5. 2006-12-11 15:24:46 +00:00
1ee0c93c48 built succesfully a while ago. removing needs.rebuild. 2006-09-07 20:27:07 +00:00
7571d41802 bump release for FC6 rebuild. 2006-08-28 20:05:21 +00:00
Ville Skyttä
a09e05be8c http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild 2006-08-27 21:14:57 +00:00
7e2ddbdbc3 - 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
2006-04-13 21:09:03 +00:00
66347b7dd7 mesa-*-devel -> just *-devel 2006-03-31 18:46:12 +00:00
08afee30dd Rel number bump. Sorry for noise. 2006-03-31 14:13:49 +00:00
df7614752c Apparently wx.pth and wxversion.py don't belong in lib64. 2006-03-31 14:12:24 +00:00
1a4fe2f69c buildrequires mesa-libGLU-devel 2006-03-31 13:18:42 +00:00
b8bf9b48b8 Update to 2.6.3.0 (finally, I know) 2006-03-31 02:23:27 +00:00
0381bc9f4e re-enable wxPython component in CVS 2005-12-21 13:19:54 +00:00
1261be89ac This package was renamed to wxPythonGTK2 in extras for FC2. 2005-02-12 03:18:05 +00:00
919b70049a remove included disutils before build; fixes build on x86_64 2005-02-10 18:55:05 +00:00
Matthias Saou
f39167fdb7 Fix release. 2005-02-02 14:11:51 +00:00
gafton
92d9fe9169 Fix braindead typo from the original import 2004-11-24 05:07:57 +00:00
5 changed files with 180 additions and 48 deletions

View file

@ -1 +0,0 @@
wxPythonSrc-2.4.2.4.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wxPython-src-2.8.9.1.tar.bz2

View file

@ -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/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
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +1 @@
ea4eb68e10a0c2a9be643b35dcb78e41 wxPythonSrc-2.4.2.4.tar.gz
4ad9a64e05529097618c7e48fbb10a84 wxPython-src-2.8.9.1.tar.bz2

View file

@ -1,64 +1,217 @@
%define pyver %(python -c 'import sys ; print sys.version[:3]')
%{!?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.4.2.4
Release: 0.fdr.2.1
Epoch: 0
Summary: wxPython is a GUI toolkit for the Python programming language.
Version: 2.8.9.1
Release: 1%{?dist}
Summary: GUI toolkit for the Python programming language
Group: Development/Languages
License: LGPL
License: LGPLv2+ and wxWidgets
URL: http://www.wxpython.org/
Source0: http://dl.sf.net/wxpython/wxPythonSrc-%{version}.tar.gz
Source0: http://dl.sf.net/wxpython/wxPython-src-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# make sure to keep this updated as appropriate
BuildRequires: wxGTK-devel >= 2.8.9
BuildRequires: pkgconfig
BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel
BuildRequires: libGL-devel, libGLU-devel
BuildRequires: python-devel, wxGTK-gl
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}
# packages should depend on "wxPython", not "wxPythonGTK2", but in case
# one does, here's the provides for it.
Provides: wxPythonGTK2 = %{version}-%{release}
# time for this to go away.
Obsoletes: compat-wxPythonGTK < 2.8.4.0
%description
wxPython is a GUI toolkit for the Python programming language. It allows
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
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 %{name}Src-%{version}
%setup -q -n wxPython-src-%{version}
# fix libdir otherwise it additional wx libs cannot be found
sed -i -e 's|/usr/lib|%{_libdir}|' wxPython/config.py
%build
# just build the wxPython part, not all of wxWindows which we already have
# in fedora...
# 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
# 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
# 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
%files
%defattr(-,root,root,-)
%doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples
%doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples
%{_bindir}/*
%{_libdir}/python%{pyver}/site-packages/wxPython
%{_libdir}/python%{pyver}/site-packages/wx
%{python_sitearch}/wx.pth
%{python_sitearch}/wxversion.py*
%dir %{python_sitearch}/wx-2.8-gtk2-unicode/
%{python_sitearch}/wx-2.8-gtk2-unicode/wx
%{python_sitearch}/wx-2.8-gtk2-unicode/wxPython
%{python_sitelib}/wxaddons
%if 0%{?fedora} >= 9
%{python_sitelib}/*egg-info
%{python_sitearch}/wx-2.8-gtk2-unicode/*egg-info
%endif
%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/wx-2.8/wx/wxPython
%{_includedir}/wx-2.8/wx/wxPython/*.h
%dir %{_includedir}/wx-2.8/wx/wxPython/i_files
%{_includedir}/wx-2.8/wx/wxPython/i_files/*.i
%{_includedir}/wx-2.8/wx/wxPython/i_files/*.py*
%{_includedir}/wx-2.8/wx/wxPython/i_files/*.swg
%changelog
* Tue Sep 30 2008 Dan Horak <dan[at]danny.cz> - 2.8.9.1-1
- update to 2.8.9.1
- fix libdir for additional wx libraries (#306761)
* Mon Sep 29 2008 Dan Horak <dan[at]danny.cz> - 2.8.9.0-1
- update to 2.8.9.0
* Sat Sep 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.8.0-2
- fix license tag
* Thu Jul 31 2008 Matthew Miller <mattdm@mattdm.org> - 2.8.8.0-1
- update to 2.8.8.0 (bug #457408)
- a fix for bug #450073 is included in the upstream release, so
dropping that patch.
* Thu Jun 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> - 2.8.7.1-5
- Fix an attribute error when importing wxPython (compat) module
(redhat bugzilla 450073, 450074)
* Sat Jun 6 2008 Matthew Miller <mattdm@mattdm.org> - 2.8.7.1-4
- gratuitously bump package release number to work around build system
glitch. again, but it will work this time.
* Wed Jun 4 2008 Matthew Miller <mattdm@mattdm.org> - 2.8.7.1-3
- gratuitously bump package release number to work around build system
glitch
* Thu Feb 21 2008 Matthew Miller <mattdm@mattdm.org> - 2.8.7.1-2
- include egg-info files for fedora 9 or greater
* Wed Feb 20 2008 Matthew Miller <mattdm@mattdm.org> - 2.8.7.1-1
- update to 2.8.7.1
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.8.4.0-3
- Autorebuild for GCC 4.3
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.8.4.0-2
- Rebuild for selinux ppc32 issue.
* Wed Jul 11 2007 Matthew Miller <mattdm@mattdm.org> - 2.8.4.0-1
- update to 2.8.4.0
- obsolete compat-wxPythonGTK
* Sun Apr 15 2007 Matthew Miller <mattdm@mattdm.org> - 2.8.3.0-1
- update to 2.8.3.0
* Fri Dec 15 2006 Matthew Miller <mattdm@mattdm.org> - 2.8.0.1-1
- update to 2.8.0.1
- make buildrequire wxGTK of version-wxpythonsubrelease
- add wxaddons to filelist
* Mon Dec 11 2006 Matthew Miller <mattdm@mattdm.org> - 2.6.3.2-3
- bump release for rebuild against python 2.5.
* Mon Aug 28 2006 Matthew Miller <mattdm@mattdm.org> - 2.6.3.2-2
- bump release for FC6 rebuild
* Thu Apr 13 2006 Matthew Miller <mattdm@mattdm.org> - 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 <mattdm@mattdm.org> - 2.6.3.0-4
- grr. bump relnumber.
* Fri Mar 31 2006 Matthew Miller <mattdm@mattdm.org> - 2.6.3.0-3
- oh yeah -- wxversion.py not lib64.
* Fri Mar 31 2006 Matthew Miller <mattdm@mattdm.org> - 2.6.3.0-2
- buildrequires mesa-libGLU-devel
* Thu Mar 30 2006 Matthew Miller <mattdm@mattdm.org> - 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 <mattdm@mattdm.org> - 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 <mattdm@bu.edu> - 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 <fedora at leemhuis dot info> 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 <pmatilai@welho.com> 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 <pmatilai@welho.com> 0:2.4.2.4-0.fdr.2
- add missing buildrequires: python-devel, wxGTK2-gl
* Sun Nov 02 2003 Panu Matilainen <pmatilai@welho.com> 0:2.4.2.4-0.fdr.1
- Initial RPM release.
~