From 625f3a1000aa767b733ecd19e27d10ce18d1ea187eccd8e61c9c0e67fcc73e28 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 23 Nov 2010 13:45:57 +0000 Subject: [PATCH] Autobuild autoformatter for 52612 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=2 --- python-matplotlib.spec | 126 ++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 78 deletions(-) diff --git a/python-matplotlib.spec b/python-matplotlib.spec index f769068..8048cda 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -1,26 +1,44 @@ -Name: python-matplotlib -License: BSD -Group: Development/Libraries/Python -Version: 1.0.0 -Release: 0 -Autoreqprov: on +# +# spec file for package python-matplotlib (Version 1.0.0) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# 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. -Summary: Plotting Library for Python -URL: http://sourceforge.net/projects/matplotlib -Source: matplotlib-%{version}.tar.bz2 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: python-matplotlib +License: BSD +Group: Development/Libraries/Python +Version: 1.0.0 +Release: 1 +AutoReqProv: on + +Summary: Plotting Library for Python +Url: http://sourceforge.net/projects/matplotlib +Source: matplotlib-%{version}.tar.bz2 Source1: matplotlib-setup.cfg -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Prefix: %{_prefix} -Packager: Werner Hoch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: %{_prefix} %py_requires -Requires: python-numpy >= 1.2.1 -Requires: python-configobj python-dateutil python-tz +Requires: python-numpy >= 1.2.1 +Requires: python-configobj python-dateutil python-tz BuildRequires: python-numpy-devel >= 1.2.1 -BuildRequires: gcc-c++ libstdc++ tk tcl -BuildRequires: freetype2-devel libpng-devel gtk2-devel tk-devel tcl-devel wxGTK-devel -BuildRequires: python-wxGTK python-tk fltk-devel python-gtk +BuildRequires: gcc-c++ libstdc++ tcl tk +BuildRequires: freetype2-devel gtk2-devel libpng-devel tcl-devel tk-devel wxGTK-devel +BuildRequires: fltk-devel python-gtk python-tk python-wxGTK BuildRequires: python-gtk-devel %if 0%{?suse_version} >= 1120 BuildRequires: python-qt4 @@ -28,14 +46,14 @@ BuildRequires: python-qt4 BuildRequires: python-qt %endif %if 0%{?suse_version} >= 1130 -BuildRequires: libgnome-devel +BuildRequires: libgnome-devel %else -BuildRequires: gnome-libs-devel +BuildRequires: gnome-libs-devel %endif ## These packages are required to prevent that matplotlib installs it's ## own versions of the packages from the lib directory -BuildRequires: python-configobj python-dateutil python-tz +BuildRequires: python-configobj python-dateutil python-tz %description matplotlib is a python 2D plotting library which produces publication @@ -45,19 +63,21 @@ scripts, the python and ipython shell (ala matlab or mathematica), web application servers, and six graphical user interface toolkits. %package tk -Summary: Tk backend for python-matplotlib -Group: Development/Libraries/Python -Requires: %{name} = %{version}-%{release} -Requires: python-tk +License: BSD +Summary: Tk backend for python-matplotlib +Group: Development/Libraries/Python +Requires: %{name} = %{version}-%{release} +Requires: python-tk %description tk Tk backend for python-matplotlib plotting package %package wx -Summary: Wx backend for python-matplotlib -Group: Development/Libraries/Python -Requires: %{name} = %{version}-%{release} -Requires: python-wxGTK +License: BSD +Summary: Wx backend for python-matplotlib +Group: Development/Libraries/Python +Requires: %{name} = %{version}-%{release} +Requires: python-wxGTK %description wx wxWidgets backend for python-matplotlib plotting package @@ -105,54 +125,4 @@ rm -rf $RPM_BUILD_ROOT %{py_sitedir}/matplotlib/backends/_wxagg.so %endif - %changelog -* Fri Jul 17 2010 Werner Hoch - 1.0.0 -- new version 1.0.0 -* Sat Oct 10 2009 Werner Hoch - 0.99.1.2 -- use python-qt4 for openSUSE 11.2 -- new version 0.99.1.2 -* Sat Oct 10 2009 Werner Hoch - 0.99.1.1 -- new version 0.99.1.1 -- config file added (seen at home:ocefpaf project) -* Fri Dec 19 2008 Werner Hoch - 0.98.5.2 -- new version 0.98.5.2 -* Mon Nov 24 2008 Werner Hoch - 0.98.3 -- replaced scipy by numpy as build requirement -* Wed Aug 20 2008 Werner Hoch - 0.98.3 -- removed python-scipy from the requirements list -- added python-dateutil to the requirements list -- added python-pytz to the requirements list -* Sat Aug 09 2008 Werner Hoch - 0.98.3 -- new major version 0.98.3 -* Tue Aug 05 2008 Werner Hoch - 0.91.4 -- new version 0.91.4 -* Sat Jun 7 2008 Werner Hoch -- new version 0.91.3 -* Fri Feb 1 2008 Werner Hoch -- new version 0.91.2 -* Fri Dec 7 2007 Werner Hoch -- added configobj as an extra requirement -- thus matplotlib will not provide configobj -* Sun Dec 2 2007 Werner Hoch -- new version 0.91.1 -- removed build patches, as the build system has been changed -* Sat Sep 08 2007 Werner Hoch -- fixed build issus of openSUSE 10.3 -* Sun Jun 03 2007 Werner Hoch -- new version 0.90.1 -- added enable_BUILD_WXAGG.patch -* Thu Mar 22 2007 Werner Hoch -- removed X-server patches, use Xvfb instead -- created extra wx and tk packages -* Tue Mar 20 2007 Werner Hoch -- default backend is GTKAgg now -- TkAgg backend works now. Patched the X-Server dependancy away when building -* Sun Mar 11 2007 Werner Hoch -- improved the BuildRequires list. Tkinter backend has still problems -* Thu Mar 01 2007 Werner Hoch -- new version 0.90.0 -* Tue Oct 31 2006 Werner Hoch -- new version 0.87.7 -* Thu Sep 28 2006 Werner Hoch -- Initial build.