Package python3-module-pyftpdlib: 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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | %define oname pyftpdlib %define descr \ Python FTP server library provides a high-level portable interface to easily \ write asynchronous FTP servers with Python. pyftpdlib is currently the most \ complete RFC-959 FTP server implementation available for Python programming \ language. %def_with docs Name: python3-module-%oname Version: 1.5.6 Release: alt2 Summary: Python FTP server library Summary(ru_RU.UTF-8): Модуль Python FTP-сервера Group: Development/Python3 License: MIT and BSD Url: https://github.com/giampaolo/pyftpdlib Source: %name-%version.tar BuildRequires(pre): rpm-build-python3 %if_with docs BuildRequires(pre): rpm-macros-sphinx3 BuildRequires: python3-module-sphinx python3-module-sphinx_rtd_theme %endif Conflicts: python-module-%oname < %EVR Obsoletes: python-module-%oname < %EVR BuildArch: noarch %py3_provides %oname %py3_requires sendfile %description -l ru_RU.UTF-8 Модуль Python FTP-сервера беспечивает портативный высокоуровневый интерфейс для лёгкого написания асинхронного FTP сервера на Python. pyftpdlib сейчас -- наиболее полная реализация RFC-959 FTP-сервера для Python. %description %descr %package tests Summary: Documentation for %oname Group: Development/Python3 %py3_requires %oname %description tests %descr This package contains tests for %oname. %if_with docs %package docs Summary: Documentation for %oname Group: Development/Documentation %description docs %descr This package contains documentation for %oname. %package pickles Summary: Pickles for %oname Group: Development/Python3 %description pickles %descr This package contains pickles for %oname. %endif %prep %setup sed -i -e "s|^__ver__ = '[^']*'|__ver__ = '%version'|" pyftpdlib/__init__.py %if_with docs sed -i "s/= python/= python3/" docs/Makefile %prepare_sphinx3 . ln -s ../objects.inv docs/ %endif %build %python3_build %if_with docs export PYTHONPATH=%buildroot%python3_sitelibdir %make -C docs pickle %make -C docs html %make -C docs man %endif %install %python3_install %if_with docs mkdir -p %buildroot%python3_sitelibdir/%oname cp -fR docs/_build/pickle %buildroot%python3_sitelibdir/%oname mkdir -p %buildroot%_man1dir cp -fR docs/_build/man/* %buildroot%_man1dir %endif %files %doc CREDITS LICENSE *.rst demo/ %_bindir/* %python3_sitelibdir/%oname/ %python3_sitelibdir/*.egg-info* %exclude %python3_sitelibdir/%oname/test %if_with docs %_man1dir/* %exclude %python3_sitelibdir/%oname/pickle %endif %files tests %python3_sitelibdir/%oname/test %exclude %python3_sitelibdir/%oname/test/README %if_with docs %files docs %doc docs/_build/html/* %files pickles %python3_sitelibdir/%oname/pickle %endif %changelog * Tue Aug 25 2020 Grigory Ustinov <grenka@altlinux.org> 1.5.6-alt2 - Fix obsoletes tag. * Thu Feb 27 2020 Grigory Ustinov <grenka@altlinux.org> 1.5.6-alt1 - Build new version. - Remove python2 support. - Add docs knob. - Build with man page. - Fix license. * Wed Aug 14 2019 Grigory Ustinov <grenka@altlinux.org> 1.5.5-alt1 - Build new version. * Mon Sep 10 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.5.4-alt3 - Updated runtime dependencies. * Wed Aug 08 2018 Grigory Ustinov <grenka@altlinux.org> 1.5.4-alt2 - Rebuild with resolving file conflict between modules. * Wed May 30 2018 Grigory Ustinov <grenka@altlinux.org> 1.5.4-alt1 - Build new version. * Fri Mar 30 2018 Grigory Ustinov <grenka@altlinux.org> 1.5.2-alt2 - Transfer package to subst-packaging system. * Thu Nov 02 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.5.2-alt1 - Updated to upstream version 1.5.2. * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.4.0-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 Aug 25 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.0-alt1 - Version 1.4.0 - Added module for Python 3 * Tue Sep 03 2013 Anatoly Kitaykin <cetus@altlinux.org> 1.2.0-alt1 - Release 1.2.0 * Tue Oct 30 2012 Anatoly Kitaykin <cetus@altlinux.org> 0.7.0-alt1 - Release 0.7.0 * Mon Nov 14 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.5.1-alt1.1.1 - Rebuild with Python-2.7 * Tue Nov 17 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.1-alt1.1 - Rebuilt with python 2.6 * Fri Aug 21 2009 Aleksey Avdeev <solo@altlinux.ru> 0.5.1-alt1 - initial build |