Пакет python-module-Reportlab: 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 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | %define rname reportlab %define oname Reportlab %def_without python3 Name: python-module-%oname Version: 3.4.0 Release: alt5 Summary: The Reportlab Toolkit License: BSD license (see LICENSE.txt for details) Group: Development/Python Url: http://www.reportlab.org # Source-url: %__pypi_url %rname Source: reportlab-%version.tar BuildRequires(pre): rpm-macros-sphinx # Automatically added by buildreq on Wed Jan 27 2016 (-bi) # optimized out: elfutils python-base python-devel python-module-PyStemmer python-module-Pygments python-module-babel python-module-cssselect python-module-jinja2 python-module-jinja2-tests python-module-markupsafe python-module-pytz python-module-setuptools python-module-six python-module-snowballstemmer python-module-sphinx python-module-sphinx_rtd_theme python-modules python-modules-compiler python-modules-ctypes python-modules-email python-modules-encodings python-modules-json python-modules-logging python-modules-multiprocessing python-modules-unittest python3 python3-base BuildRequires: python-module-alabaster python-module-docutils python-module-html5lib python-module-objects.inv python3-devel rpm-build-python3 time BuildRequires: python-dev #BuildRequires: rpm-build-python >= 0.8 #BuildRequires: python-devel python-module-sphinx-devel %if_with python3 BuildRequires(pre): rpm-build-python3 #BuildRequires: python3-devel %endif %add_python_req_skip rlextra Provides: python-reportlab %description The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics. %package -n python3-module-%oname Summary: The Reportlab Toolkit Group: Development/Python3 %add_python3_req_skip rlextra __main__ %description -n python3-module-%oname The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics. %package -n python3-module-%oname-tests Summary: Tests for Reportlab Toolkit Group: Development/Python3 Requires: python3-module-%oname = %version-%release %description -n python3-module-%oname-tests The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics. This package contains tests for Reportlab Toolkit. %package tests Summary: Tests for Reportlab Toolkit Group: Development/Python Requires: %name = %version-%release %description tests The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics. This package contains tests for Reportlab Toolkit. %package docs Summary: Documentation for Reportlab Toolkit Group: Development/Documentation BuildArch: noarch Conflicts: %name < %version-%release %description docs The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics. This package contains documentation for Reportlab Toolkit. %prep %setup -n reportlab-%{version} %if_with python3 cp -fR . ../python3 %endif %prepare_sphinx docs ln -s ../objects.inv docs/source/ %build %add_optflags -fno-strict-aliasing %python_build_debug %if_with python3 pushd ../python3 %python3_build_debug popd %endif %make -C docs html %install %add_optflags -fno-strict-aliasing %python_build_install --optimize=2 \ --record=INSTALLED_FILES cp -fR tests %buildroot%python_sitelibdir/%rname/ %if_with python3 pushd ../python3 %python3_install cp -fR tests %buildroot%python3_sitelibdir/%rname/ popd %endif %files -f INSTALLED_FILES %doc *.txt %python_sitelibdir/%rname %exclude %python_sitelibdir/%rname/tests %files tests %python_sitelibdir/%rname/tests %files docs %doc docs/build/html docs/userguide demos %if_with python3 %files -n python3-module-%oname %doc *.txt %python3_sitelibdir/* %exclude %python3_sitelibdir/%rname/tests %files -n python3-module-%oname-tests %python3_sitelibdir/%rname/tests %endif %changelog * Wed Apr 07 2021 Vitaly Lipatov <lav@altlinux.ru> 3.4.0-alt5 - build python2 module only * Sun Apr 07 2019 Michael Shigorin <mike@altlinux.org> 3.4.0-alt3 - added explicit BR: python-dev to ease e2k python upgrade * Thu Apr 05 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 3.4.0-alt2.1 - (NMU) Rebuilt with python-3.6.4. * Thu Mar 29 2018 Vitaly Lipatov <lav@altlinux.ru> 3.4.0-alt2 - add provides: python-reportlab (ALT bug 34732) * Mon Mar 12 2018 Vitaly Lipatov <lav@altlinux.ru> 3.4.0-alt1 - new version (3.4.0) with rpmgs script * Wed Jan 11 2017 Igor Vlasenko <viy@altlinux.ru> 3.3.0-alt1 - automated PyPI update * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.0-alt1.1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Wed Jan 27 2016 Mikhail Efremov <sem@altlinux.org> 3.0-alt1.1 - NMU: Use buildreq for BR. * Wed Jul 23 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.0-alt1 - Added module for Python 3 * Thu Jan 09 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.7-alt1 - Version 2.7 * Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 2.5-alt3.1.1 - Rebuild to remove redundant libpython2.7 dependency * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 2.5-alt3.1 - Rebuild with Python-2.7 * Tue Apr 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5-alt3 - Rebuilt with python-module-sphinx-devel * Tue Mar 29 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5-alt2 - Rebuilt for debuginfo * Sat Nov 27 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5-alt1 - Version 2.5 - Added tests * Thu Feb 04 2010 Repocop Q. A. Robot <repocop@altlinux.org> 2.4-alt1.qa1 - NMU (by repocop): the following fixes applied: * vendor-tag for python-module-Reportlab * postclean-05-filetriggers for spec file * Sat Jan 23 2010 Alexey Morsov <swi@altlinux.ru> 2.4-alt1 - new version * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3-alt1.1 - Rebuilt with python 2.6 * Wed Feb 25 2009 Alexey Morsov <swi@altlinux.ru> 2.3-alt1 - new version - clean spec * Wed Nov 26 2008 Alexey Morsov <swi@altlinux.ru> 2.2-alt1 - new version * Sat Jan 26 2008 Grigory Batalov <bga@altlinux.ru> 2.1-alt2.1 - Rebuilt with python-2.5. * Tue Jan 22 2008 Grigory Batalov <bga@altlinux.ru> 2.1-alt2 - Remove python version from BuildRequires and Requires. * Fri Jun 15 2007 Alexey Morsov <swi@altlinux.ru> 2.1-alt1 - version 2.1 - add python_sitelibdir to files * Thu Jan 18 2007 Alexey Morsov <swi@altlinux.ru> 2.0-alt1 - New version: full support for unicode, python 2.4 or higher is required. * Fri Dec 29 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.20-alt2.1 - Rebuilt using rpm-build-python-0.29-alt4. * Sat Apr 09 2005 Andrey Orlov <cray@altlinux.ru> 1.20-alt2 - Font rina.ttf excluded due to license restrictions - Documentation files added - License text added * Wed Jan 12 2005 Andrey Orlov <cray@altlinux.ru> 1.20-alt1 - New Version * Mon May 17 2004 Andrey Orlov <cray@altlinux.ru> 1.19-alt5 - Changed for sisyphus * Mon May 10 2004 Andrey Orlov <cray@altlinux.ru> 1.19-alt4.d - Rebuild * Thu Apr 22 2004 Andrey Orlov <cray@altlinux.ru> 1.19-alt3.d - Rebuild with new rpm/python macros * Tue Apr 13 2004 Andrey Orlov <cray@altlinux.ru> 1.19-alt2.d - Rebuild with new rpm/python macros * Thu Mar 25 2004 Andrey Orlov <cray@altlinux.ru> 1.19-alt1.d - Initial release |