Package python3-module-veusz: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | %define _unpackaged_files_terminate_build 1 %define oname veusz Name: python3-module-%oname Version: 3.3.1 Release: alt1 Summary: A Scientific Plotting Package License: GPLv2+ Group: Development/Python3 Url: http://home.gna.org/veusz/ # Source0-git: https://github.com/veusz/veusz.git Source0: %name-%version.tar BuildRequires(pre): rpm-build-python3 BuildRequires: gcc-c++ BuildRequires: /usr/bin/pod2man /usr/bin/man texlive-dist BuildRequires: python3-devel libnumpy-py3-devel BuildRequires: qt5-base-devel python3-module-PyQt5-devel BuildRequires: python3-module-sip5 %add_python3_req_skip pyemf %description Veusz is a GUI scientific plotting and graphing package. It is designed to produce publication-ready Postscript or PDF output. SVG, EMF and bitmap export formats are also supported. The program runs under Unix/Linux, Windows or Mac OS X, and binaries are provided. Data can be read from text, CSV or FITS files, and data can be manipulated or examined from within the application. %package docs Summary: Documentation for Veusz Group: Development/Documentation BuildArch: noarch %description docs Veusz is a GUI scientific plotting and graphing package. It is designed to produce publication-ready Postscript or PDF output. SVG, EMF and bitmap export formats are also supported. The program runs under Unix/Linux, Windows or Mac OS X, and binaries are provided. Data can be read from text, CSV or FITS files, and data can be manipulated or examined from within the application. This packagec contains documentation for Veusz. %package examples Summary: Examples for Veusz Group: Development/Documentation Requires: %name = %version-%release %description examples Veusz is a GUI scientific plotting and graphing package. It is designed to produce publication-ready Postscript or PDF output. SVG, EMF and bitmap export formats are also supported. The program runs under Unix/Linux, Windows or Mac OS X, and binaries are provided. Data can be read from text, CSV or FITS files, and data can be manipulated or examined from within the application. This package contains examples for Veusz. %package -n %oname Summary: A Scientific Plotting Package Group: Graphics Conflicts: %name < %version-%release Requires: %name = %version-%release Requires: %name-examples = %version-%release %description -n %oname Veusz is a GUI scientific plotting and graphing package. It is designed to produce publication-ready Postscript or PDF output. SVG, EMF and bitmap export formats are also supported. The program runs under Unix/Linux, Windows or Mac OS X, and binaries are provided. Data can be read from text, CSV or FITS files, and data can be manipulated or examined from within the application. This package contains main scripts for Veusz. %prep %setup find ./ -type f -name '*.py' -exec \ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' '{}' + %build %add_optflags -fno-strict-aliasing %python3_build_debug %install %python3_install %files %python3_sitelibdir/* %exclude %python3_sitelibdir/*/examples %files examples %python3_sitelibdir/*/examples %files -n %oname %doc AUTHORS ChangeLog COPYING README.md %_bindir/* %changelog * Wed Jul 14 2021 Vitaly Lipatov <lav@altlinux.ru> 3.3.1-alt1 - new version 3.3.1, build with sip5 * Thu Mar 19 2020 Andrey Bychkov <mrdrew@altlinux.org> 3.1-alt2 - Build for python2 disabled. * Thu Jan 23 2020 Grigory Ustinov <grenka@altlinux.org> 3.1-alt1 - Build new version for python3.8. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.25.1-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Wed Jan 11 2017 Igor Vlasenko <viy@altlinux.ru> 1.25.1-alt1 - automated PyPI update * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.21-alt2.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Tue Aug 19 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.21-alt2 - Added module for Python 3 * Wed Jul 16 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.21-alt1 - Version 1.21 * Mon Dec 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.19.1-alt1 - Version 1.19.1 * Tue Nov 12 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.18-alt2 - Fixed build * Thu Sep 19 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.18-alt1 - Version 1.18 * Thu Apr 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.17-alt1 - Version 1.17 * Mon Dec 31 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.14-alt3 - Extracted %oname package (ALT #28282) * Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 1.14-alt2.1 - Rebuild to remove redundant libpython2.7 dependency * Sat Dec 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.14-alt2 - Extracted examples into separate package * Fri Dec 09 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.14-alt1 - Initial build for Sisyphus |