SPECS: python-wxPython.spec - updated to 2.8.7.1 - added -devel, -...

qboosh qboosh at pld-linux.org
Sat Dec 1 17:41:21 CET 2007


Author: qboosh                       Date: Sat Dec  1 16:41:21 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.8.7.1
- added -devel, -editra, -xrced as subpackages

---- Files affected:
SPECS:
   python-wxPython.spec (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: SPECS/python-wxPython.spec
diff -u SPECS/python-wxPython.spec:1.64 SPECS/python-wxPython.spec:1.65
--- SPECS/python-wxPython.spec:1.64	Tue Feb 13 09:06:43 2007
+++ SPECS/python-wxPython.spec	Sat Dec  1 17:41:15 2007
@@ -1,27 +1,30 @@
 # $Revision$, $Date$
+# TODO:
+# - check why Editra and XRCed crash on start
+# - Editra plugins are not installed, do it manually?
 %define		module	wxPython
 Summary:	Cross platform GUI toolkit for Python
 Summary(pl.UTF-8):	Wieloplatformowe narzędzie GUI dla Pythona
 Name:		python-%{module}
-Version:	2.8.0.1
+Version:	2.8.7.1
 Release:	1
-License:	wxWindows Library v3.1 (LGPL derivative)
+License:	wxWindows Library Licence 3.1 (LGPL v2+ with exception)
 Group:		Libraries/Python
 Source0:	http://dl.sourceforge.net/wxpython/%{module}-src-%{version}.tar.bz2
-# Source0-md5:	5d4000fa5fc330519e882e6cc115b000
+# Source0-md5:	04fc1079430b18e6fd097b3287e9ae10
 Source1:	%{name}-wxversion-null.py
 Patch0:		%{name}-CFLAGS.patch
 URL:		http://wxpython.org/
-BuildRequires:	gtk+2-devel >= 2.0.0
+BuildRequires:	gtk+2-devel >= 1:2.0.0
 BuildRequires:	pkgconfig
 BuildRequires:	python >= 1:2.5
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	python-modules
 BuildRequires:	rpm-pythonprov
-BuildRequires:	wxGTK2-unicode-gl-devel >= 2.8.0
+BuildRequires:	wxGTK2-unicode-gl-devel >= 2.8.7
 # optional: libgnomeprint >= 2.8 (if wx uses it), gstreamer 0.8
 %pyrequires_eq	python-modules
-Requires:	wxGTK2-unicode-gl >= 2.8.0
+Requires:	wxGTK2-unicode-gl >= 2.8.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,6 +38,58 @@
 bibliotekę GUI napisaną w C++ o nazwie wxWidgets. wxPython dostarcza
 dużą liczbę typów okien, kontrolek.
 
+%package devel
+Summary:	Header and SWIG files for wxPython
+Summary(pl.UTF-8):	Pliki nagłówkowe i SWIG dla wxPythona
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	wxWidgets-devel >= 2.8.7
+
+%description devel
+Header and SWIG files for wxPython.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i SWIG dla wxPythona.
+
+%package editra
+Summary:	Editra editor
+Summary(pl.UTF-8):	Edytor Editra
+Group:		Development/Tools
+URL:		http://editra.org/
+Requires:	%{name} = %{version}-%{release}
+
+%description editra
+Editra is a multi-platform text editor with an implementation that
+focuses on creating an easy to use interface and features that aid in
+code development. Currently it supports syntax highlighting and
+variety of other useful features for over 50 programming languages.
+
+%description editra -l pl.UTF-8
+Editra to wieloplatformowy edytor tekstu, którego implementacja skupia
+się na stworzeniu łatwego w użyciu interfejsu i możliwościach
+pomagających w tworzeniu kodu. Aktualnie obsługuje podświetlanie
+składni i różne przydatne ułatwienia dla ponad 50 języków
+programowania.
+
+%package xrced
+Summary:	XRCed - XRC files editor
+Summary(pl.UTF-8):	XRCed - edytor plików XRC
+License:	BSD
+Group:		Development/Tools
+URL:		http://xrced.sourceforge.net/
+Requires:	%{name} = %{version}-%{release}
+
+%description xrced
+XRCed is a simple resource editor for wxWidgets/wxPython GUI
+development which supports creating and editing files in XRC format.
+It is written in Python and uses wxPython GUI toolkit.
+
+%description xrced -l pl.UTF-8
+XRCed to prosty edytor zasobów do programowania w środowisku
+graficznym wxWidgets/wxPython, pozwalający na tworzenie i
+modyfikowanie plików w formacie XRC. Został napisany w Pythonie i
+wykorzystuje toolkit graficzny wxPython.
+
 %package examples
 Summary:	wxPython example programs
 Summary(pl.UTF-8):	Przykładowe programy wxPython
@@ -51,9 +106,6 @@
 %setup -q -n %{module}-src-%{version}
 %patch0 -p1
 
-# old version, not lib64-aware; use the one which comes with python.
-rm -rf wxPython/distutils
-
 %build
 cd wxPython
 CFLAGS="%{rpmcflags}" python setup.py build \
@@ -78,6 +130,9 @@
 rm -f $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/samples/embedded/embedded
 rm -f $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/samples/embedded/embedded.o
 
+mv $RPM_BUILD_ROOT%{py_sitedir}/wx/lib/editor/README.txt README.editor.txt
+rm -r $RPM_BUILD_ROOT%{py_sitedir}/wx/tools/Editra/{AUTHORS,CHANGELOG,COPYING,FAQ,INSTALL,MANIFEST.in,NEWS,README,THANKS,TODO,docs/*.txt,setup.py*,tests,plugins/*.egg}
+
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
@@ -87,10 +142,19 @@
 
 %files
 %defattr(644,root,root,755)
-%doc wxPython/docs/{CHANGES.txt,MigrationGuide.txt,README.txt}
+%doc wxPython/docs/{CHANGES.txt,MigrationGuide.txt,README.txt} wxPython/README.editor.txt
 #don't remove this files, because this is licensing information
 %doc docs/{licence.txt,licendoc.txt,preamble.txt}
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/helpviewer
+%attr(755,root,root) %{_bindir}/img2png
+%attr(755,root,root) %{_bindir}/img2py
+%attr(755,root,root) %{_bindir}/img2xpm
+%attr(755,root,root) %{_bindir}/pyalacarte
+%attr(755,root,root) %{_bindir}/pyalamode
+%attr(755,root,root) %{_bindir}/pycrust
+%attr(755,root,root) %{_bindir}/pyshell
+%attr(755,root,root) %{_bindir}/pywrap
+%attr(755,root,root) %{_bindir}/pywxrc
 
 %{py_sitedir}/wxversion.py[co]
 
@@ -126,6 +190,8 @@
 %{py_sitedir}/wx/lib/editor/*.py[co]
 %dir %{py_sitedir}/wx/lib/floatcanvas
 %{py_sitedir}/wx/lib/floatcanvas/*.py[co]
+%dir %{py_sitedir}/wx/lib/floatcanvas/Utilities
+%{py_sitedir}/wx/lib/floatcanvas/Utilities/*.py[co]
 %dir %{py_sitedir}/wx/lib/masked
 %{py_sitedir}/wx/lib/masked/*.py[co]
 %dir %{py_sitedir}/wx/lib/mixins
@@ -146,11 +212,47 @@
 %dir %{py_sitescriptdir}/wxaddons
 %{py_sitescriptdir}/wxaddons/*.py[co]
 
-%{py_sitedir}/*.egg-info
-%{py_sitescriptdir}/*.egg-info
+%{py_sitedir}/wxPython-*.egg-info
+%{py_sitescriptdir}/wxaddons-*.egg-info
 
-# -devel?
-#%{_includedir}/wx-2.6/wx/wxPython
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/wx-2.8/wx/wxPython
+
+%files editra
+%defattr(644,root,root,755)
+%doc wxPython/wx/tools/Editra/{AUTHORS,CHANGELOG,COPYING,FAQ,NEWS,README,THANKS,TODO,docs/*.txt}
+%attr(755,root,root) %{_bindir}/editra
+%dir %{py_sitedir}/wx/tools/Editra
+%attr(755,root,root) %{py_sitedir}/wx/tools/Editra/Editra
+%{py_sitedir}/wx/tools/Editra/__init__.py[co]
+%dir %{py_sitedir}/wx/tools/Editra/locale
+%lang(en) %{py_sitedir}/wx/tools/Editra/locale/en_US
+%lang(es) %{py_sitedir}/wx/tools/Editra/locale/es_ES
+%lang(ja) %{py_sitedir}/wx/tools/Editra/locale/ja_JP
+%lang(ru) %{py_sitedir}/wx/tools/Editra/locale/ru_RU
+%{py_sitedir}/wx/tools/Editra/pixmaps
+%dir %{py_sitedir}/wx/tools/Editra/src
+%{py_sitedir}/wx/tools/Editra/src/*.py[co]
+%dir %{py_sitedir}/wx/tools/Editra/src/autocomp
+%{py_sitedir}/wx/tools/Editra/src/autocomp/*.py[co]
+%dir %{py_sitedir}/wx/tools/Editra/src/extern
+%{py_sitedir}/wx/tools/Editra/src/extern/*.py[co]
+%dir %{py_sitedir}/wx/tools/Editra/src/syntax
+%{py_sitedir}/wx/tools/Editra/src/syntax/*.py[co]
+%{py_sitedir}/wx/tools/Editra/styles
+
+%files xrced
+%defattr(644,root,root,755)
+%doc wxPython/wx/tools/XRCed/{CHANGES.txt,ChangeLog,README.txt,TODO.txt,license.txt}
+%attr(755,root,root) %{_bindir}/xrced
+%dir %{py_sitedir}/wx/tools/XRCed
+%{py_sitedir}/wx/tools/XRCed/misc
+%dir %{py_sitedir}/wx/tools/XRCed/plugins
+%{py_sitedir}/wx/tools/XRCed/plugins/*.py[co]
+%{py_sitedir}/wx/tools/XRCed/plugins/bitmaps
+%{py_sitedir}/wx/tools/XRCed/plugins/gizmos.crx
+%{py_sitedir}/wx/tools/XRCed/xrced.htb
 
 %files examples
 %defattr(644,root,root,755)
@@ -162,6 +264,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65  2007-12-01 16:41:15  qboosh
+- updated to 2.8.7.1
+- added -devel, -editra, -xrced as subpackages
+
 Revision 1.64  2007-02-13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-wxPython.spec?r1=1.64&r2=1.65&f=u



More information about the pld-cvs-commit mailing list