This package was renamed to wxPythonGTK2 in extras for FC2.
This commit is contained in:
parent
654b7dfe7f
commit
72aaa4cb1d
4 changed files with 0 additions and 92 deletions
|
|
@ -1 +0,0 @@
|
|||
wxPythonSrc-2.4.2.4.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: wxPython
|
||||
# $Id: Makefile,v 1.1 2004/11/08 05:32:48 cvsextras Exp $
|
||||
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)
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
ea4eb68e10a0c2a9be643b35dcb78e41 wxPythonSrc-2.4.2.4.tar.gz
|
||||
|
|
@ -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 <fedora at leemhuis dot info> 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 <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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue