Hello community,

here is the log from the commit of package spyder for openSUSE:Factory checked 
in at 2012-12-05 14:09:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spyder (Old)
 and      /work/SRC/openSUSE:Factory/.spyder.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spyder", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/spyder/spyder.changes    2012-06-12 
22:10:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.spyder.new/spyder.changes       2012-12-05 
14:09:11.000000000 +0100
@@ -1,0 +2,15 @@
+Thu Nov 29 17:20:37 UTC 2012 - [email protected]
+
+- Fix typo
+
+-------------------------------------------------------------------
+Thu Nov 29 13:05:17 UTC 2012 - [email protected]
+
+- Update to Version 2.1.11
+  * Bug fixes
+- Split documentation package
+- Split spyderlib package and binary package, since spyderlib is
+  used independently of the spyder gui
+- Spec file cleanups
+
+-------------------------------------------------------------------

Old:
----
  spyder-2.1.10.zip

New:
----
  spyder-2.1.11.zip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spyder.spec ++++++
--- /var/tmp/diff_new_pack.MtBN92/_old  2012-12-05 14:09:12.000000000 +0100
+++ /var/tmp/diff_new_pack.MtBN92/_new  2012-12-05 14:09:12.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package python-spyder
+# spec file for package spyder
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -11,14 +11,14 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:           spyder
 %define modname %{name}lib
-Version:        2.1.10
+Version:        2.1.11
 Release:        0
 Url:            http://spyderlib.googlecode.com
 Summary:        Scientific PYthon Development EnviRonment
@@ -26,56 +26,76 @@
 Group:          Development/Languages/Python
 Source:         http://%{modname}.googlecode.com/files/%{name}-%{version}.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  IPython
 BuildRequires:  fdupes
-BuildRequires:  python-devel >= 2.5
-BuildRequires:  python-qt4 > 4.4
-BuildRequires:  python-pyflakes >= 0.5.0
-BuildRequires:  python-rope => 0.9.2
 BuildRequires:  python-Sphinx >= 0.6.0
-BuildRequires:  python-numpy
-BuildRequires:  python-scipy
+BuildRequires:  python-devel >= 2.5
 BuildRequires:  python-matplotlib
+BuildRequires:  python-numpy
 BuildRequires:  python-pep8
 BuildRequires:  python-psutil
+BuildRequires:  python-pyflakes >= 0.5.0
 BuildRequires:  python-pylint
-BuildRequires:  IPython
+BuildRequires:  python-qt4 >= 4.4
+BuildRequires:  python-rope => 0.9.0
+BuildRequires:  python-scipy
 BuildRequires:  unzip
 %if 0%{?suse_version} <= 1210
 BuildRequires:  update-desktop-files
 %endif
-Requires:       python  >= 2.5
-Requires:       python-base = %{py_ver}
-Requires:       python-qt4 > 4.4
-Recommends:     python-pyflakes >= 0.5.0
-Recommends:     python-rope >= 0.9.2
-Recommends:     python-Sphinx >= 0.6.0
-Recommends:     python-numpy
-Recommends:     python-scipy
-Recommends:     python-matplotlib
-Recommends:     python-pep8
-Recommends:     python-psutil
-Recommends:     python-pylint
-Recommends:     IPython
+Requires:       python-%{modname} = %{version}
 %if 0%{?suse_version} <= 1110
 %{!?python_sitelib:  %global python_sitelib  %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %else
 BuildArch:      noarch
-%py_requires
 %endif
 
-%lang_package
-
 %description
-The spyderlib module provides powerful console and
-editor related widgets to your PyQt4 application. It also includes a
-Scientific Python development environment named 'Spyder', an alternative to
-IDLE with powerful interactive features such as variable explorer (with
+A Scientific Python development environment, an alternative to IDLE 
+with powerful interactive features such as variable explorer (with
 GUI-based editors for dictionaries, lists, NumPy arrays, etc.), object
 inspector, online help, and a lot more.
 
+%package -n python-%{modname}
+Summary:        Python GUI components
+Group:          Development/Languages/Python
+Requires:       python-Sphinx >= 0.6.0
+Requires:       python-qt4 >= 4.4
+Requires:       python(abi) = %{py_ver}
+Recommends:     IPython
+Recommends:     python-matplotlib
+Recommends:     python-numpy
+Recommends:     python-pep8
+Recommends:     python-psutil
+Recommends:     python-pyflakes >= 0.5.0
+Recommends:     python-pylint
+Recommends:     python-rope >= 0.9.0
+Recommends:     python-scipy
+
+%description -n python-%{modname}
+The spyderlib module provides powerful console and
+editor related widgets to your PyQt4 application.
+
+%package doc
+Summary:        Documentation for %{name} and %{modname}
+Group:          Development/Languages/Python
+Requires:       %{name} = %{version}
+Requires:       python(abi) = %{py_ver}
+
+%description doc
+Documentation and help files for both %{name} and 
+%{modname}
+
+%lang_package
 %prep
 %setup -q
 
+# add icon line to the .desktop file
+sed -i '9 i Icon=spyder' scripts/spyder.desktop
+
+# fix encoding
+sed -i 's/\r//' 
doc/{console,editor,explorer,findinfiles,historylog,index,inspector,internalconsole,lightmode,onlinehelp,options,overview,projectexplorer,pylint,variableexplorer}.rst
+
 %build
 export CFLAGS="%{optflags}"
 python setup.py build
@@ -89,9 +109,6 @@
 # fix permission
 chmod +x %{buildroot}%{python_sitelib}/%{modname}/utils/external/pickleshare.py
 
-# fix encoding
-sed -i 's/\r//' 
%{buildroot}%{python_sitelib}/%{modname}/doc/_sources/{console,editor,explorer,findinfiles,historylog,index,inspector,internalconsole,lightmode,onlinehelp,options,overview,projectexplorer,pylint,variableexplorer}.txt
-
 # create missing directories
 mkdir -p %{buildroot}%{_datadir}/applications/
 mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
@@ -99,9 +116,6 @@
 # install the .desktop file
 cp scripts/spyder.desktop %{buildroot}%{_datadir}/applications/
 
-# add icon line to the .desktop file
-sed -i '9 i Icon=spyder' %{buildroot}%{_datadir}/applications/spyder.desktop
-
 # install the icon
 pushd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
 ln -s %{python_sitelib}/%{modname}/images/spyder.svg
@@ -115,23 +129,29 @@
 
 %fdupes %{buildroot}
 
-
 %clean
 rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc README
 %{_bindir}/%{name}
 %{_datadir}/applications/spyder.desktop
 %{_datadir}/icons/hicolor/scalable/apps/spyder.svg
+
+%files -n python-%{modname}
+%defattr(-,root,root,-)
 %{python_sitelib}/%{modname}/
 %{python_sitelib}/spyderplugins/
 %{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info
-%doc %{python_sitelib}/%{modname}/doc
+%exclude %{python_sitelib}/%{modname}/doc
 %exclude %{python_sitelib}/%{modname}/locale/
 %exclude %{python_sitelib}/spyderplugins/locale/
 
+%files doc
+%defattr(-,root,root,-)
+%doc README
+%doc %{python_sitelib}/%{modname}/doc
+
 %files lang -f %{modname}.lang
 %defattr(-,root,root)
 %{python_sitelib}/%{modname}/locale

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to