# # spec file for package pyxplot # # Copyright (c) 2013 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: pyxplot Version: 0.9.2 Release: 0 Summary: Graph plotting tool License: GPL-2.0+ Group: Productivity/Graphics/Visualization/Graph Url: http://pyxplot.org.uk/ Source0: http://pyxplot.org.uk/src/pyxplot_0.9.2.tar.gz # All the patches were submitted to coders pyxplot.org.uk since the patch submit page in Sourceforge was broken Patch0: pyxplot-0.9.2-no_runtime_build_dependencies.patch Patch1: pyxplot-0.9.2-detect_cfitsio.patch Patch2: pyxplot-0.9.2-no_termcap.patch Patch3: pyxplot-0.9.2-no_unneeded_builds.patch BuildRequires: python-base BuildRequires: readline-devel BuildRequires: texlive-kpathsea-devel BuildRequires: pkgconfig(cfitsio) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(gsl) >= 1.10 BuildRequires: pkgconfig(libpng) >= 1.2 BuildRequires: pkgconfig(libxml-2.0) >= 2.6 BuildRequires: pkgconfig(zlib) Requires: texlive-latex Requires: %{_bindir}/gs Requires: %{_bindir}/convert Recommends: %{_bindir}/gunzip Suggests: %{_bindir}/gv Suggests: %{_bindir}/wget %description Multi-purpose graph plotting tool, scientific scripting language, vector graphics suite, and data processing package. Its interface is designed to make common tasks -- e.g., plotting labelled graphs of data -- accessible via short, simple, intuitive commands. But these commands also take many optional settings, allowing their output to be fine-tuned into styles appropriate for printed publications, talks or websites. Pyxplot is simple enough to be used without prior programming experience, but powerful enough that programmers can extensively configure and script it. %prep %setup -q %patch0 %patch1 %patch2 %patch3 %build %configure make %{?_smp_mflags} USRDIR=/usr %install %make_install USRDIR=/usr %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %{_bindir}/pyxplot %{_bindir}/pyxplot_watch %{_libexecdir}/pyxplot/ %{_datadir}/pyxplot/ %{_mandir}/man1/* %changelog