Пакет python-module-texttable: 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 | %define oname texttable %def_with python3 Name: python-module-%oname Version: 1.2.1 Release: alt0.M80P.1 Summary: Module for creating simple ASCII tables License: %lgpl3only Group: Development/Python Url: https://github.com/foutaise/texttable Source: %oname-%version.tar BuildArch: noarch BuildRequires(pre): rpm-build-licenses BuildPreReq: rpm-build-python BuildRequires: python-devel python-module-distribute %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-distribute %endif %setup_python_module %oname %description texttable is a module to generate a formatted text table, using ASCII characters. %if_with python3 %package -n python3-module-%oname Summary: Module for creating simple ASCII tables (Python 3) Group: Development/Python3 %description -n python3-module-%oname texttable is a module to generate a formatted text table, using ASCII characters. %endif %prep %setup -n %oname-%version %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif %files %doc LICENSE %python_sitelibdir/%oname.* %python_sitelibdir/*.egg-info %if_with python3 %files -n python3-module-%oname %python3_sitelibdir/%oname.* %python3_sitelibdir/*.egg-* %python3_sitelibdir/__pycache__/* %endif %changelog * Mon Apr 2 2018 Vladimir Didenko <cow@altlinux.org> 1.2.1-alt0.M80P.1 - Backport to p8 * Wed Jan 17 2018 Vladimir Didenko <cow@altlinux.ru> 1.2.1-alt1 - 1.2.1 * Wed Jul 5 2017 Vladimir Didenko <cow@altlinux.ru> 0.9.1-alt1 - 0.9.1 * Fri Apr 7 2017 Vladimir Didenko <cow@altlinux.ru> 0.8.8-alt1 - 0.8.8 * Fri Dec 16 2016 Vladimir Didenko <cow@altlinux.ru> 0.8.7-alt1 - 0.8.7 * Wed Oct 12 2016 Vladimir Didenko <cow@altlinux.ru> 0.8.5-alt1 - 0.8.5 * Fri Apr 08 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.8.4-alt1.1.1 - (NMU) Rebuild with python3-3.5.1-alt3 to get rid of the meaningless __pycache__/ dep (it is meaningless because arbitrary packages package that dir). * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.8.4-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Mon Feb 8 2016 Vladimir Didenko <cow@altlinux.ru> 0.8.4-alt1 - 0.8.4 * Mon Sep 14 2015 Vladimir Didenko <cow@altlinux.ru> 0.8.3-alt1 - 0.8.3 |