Пакет python3-module-pygsl: 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 | %define oname pygsl Name: python3-module-%oname Version: 2.3.0 Release: alt2 Summary: Python interface for GNU Scientific Library (GSL) License: GPLv2 Group: Development/Python3 Url: http://pygsl.sourceforge.net/ Source: %oname-%version.tar.gz Patch0: port-to-python3.patch BuildRequires(pre): rpm-build-python3 BuildRequires: libgsl-devel libnumpy-py3-devel BuildRequires: python3-module-numpy swig %description This project provides a python interface for the GNU scientific library (GSL). %package devel Summary: Development files of Python interface for GSL Group: Development/Python3 BuildArch: noarch Requires: %name = %version-%release %description devel This project provides a python interface for the GNU scientific library (GSL). This package contains development files of Python interface for GSL. %package testing Summary: Tests for Python interface for GSL Group: Development/Python3 Requires: %name = %version-%release %description testing This project provides a python interface for the GNU scientific library (GSL). This package contains tests for Python interface for GSL. %package docs Summary: Documentation for Python interface for GSL Group: Development/Documentation BuildArch: noarch %description docs This project provides a python interface for the GNU scientific library (GSL). This package contains documentation for Python interface for GSL. %package examples Summary: Examples for Python interface for GSL Group: Development/Documentation BuildArch: noarch Requires: %name = %version-%release %description examples This project provides a python interface for the GNU scientific library (GSL). This package contains examples for Python interface for GSL. %prep %setup %patch0 -p2 rm -f swig_src/* %build %__python3 setup.py config %python3_build_debug %install %python3_install %check %__python3 setup.py test %files %doc CREDITS ChangeLog README TODO %python3_sitelibdir/* %exclude %python3_sitelibdir/%oname/testing %files devel %_includedir/*/* %files testing %python3_sitelibdir/%oname/testing %files docs %doc doc/*.html %files examples %doc examples/* %changelog * Mon Mar 16 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 2.3.0-alt2 - Fixed build with numpy. * Tue Mar 03 2020 Andrey Bychkov <mrdrew@altlinux.org> 2.3.0-alt1 - Version updated to 2.3.0 - porting to python3. * Tue Aug 29 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 2.2.0-alt1 - Updated to upstream version 2.2.0. * Mon Jul 07 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.5-alt3 - Rebuilt with gsl90 instead of gsl * Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.5-alt2.1.1 - Rebuild to remove redundant libpython2.7 dependency * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.5-alt2.1 - Rebuild with Python-2.7 * Sat Mar 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.5-alt2 - Rebuilt for debuginfo * Tue Dec 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.5-alt1 - Initial build for Sisyphus |