Пакет python-module-tpg: 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 | Version: 3.2.2 Release: alt3.1 %setup_python_module tpg %def_with python3 %def_enable doc Summary: Toy Parser Generator is syntax analyzer under Python Summary(ru_RU.UTF-8): Простой, но мощный синтаксический анализатор Toy Parser Generator %define nameUC TPG Name: %packagename Source: TPG-%version.tar.gz License: BSD Group: Development/Python Url: http://cdsoft.fr/tpg Buildarch: noarch # Automatically added by buildreq on Thu Feb 23 2012 # optimized out: ImageMagick-tools fontconfig ghostscript-classic ghostscript-common python-base python-modules python-modules-compiler python-modules-email tex-common texlive-base texlive-base-bin texlive-common texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-xetex texmf-tex4ht BuildRequires: python-devel %if_enabled doc BuildRequires: tex4ht texlive-collection-latexrecommended tex(a4wide.sty) %endif %if_with python3 BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-devel %endif %description Toy Parser Generator is a lexical and syntactic parser generator for Python. This generator was born from a simple statement: YACC is to complex to use in simple cases (calculators, configuration files, small programming languages, ...). This module is built for python %_python_version %description -l ru_RU.UTF-8 Toy Parser Generator -- это лексический и синтаксический анализатор, порождающий код на Python. Идея автора была в том, чтобы в простых случаях (калькуляторы, анализаторы конфигурационных файлов, встроенные языки программирования) заменить YACC более простым и высокоуровневым инструментом. Этот модуль собран для Python версии %_python_version %package -n python3-module-%modulename Summary: Toy Parser Generator is syntax analyzer under Python Group: Development/Python3 %description -n python3-module-%modulename Toy Parser Generator is a lexical and syntactic parser generator for Python. This generator was born from a simple statement: YACC is to complex to use in simple cases (calculators, configuration files, small programming languages, ...). This module is built for python %_python_version %prep %setup -n %nameUC-%version %if_with python3 cp -fR . ../python3 %endif %build %python_build %if_enabled doc ( cd doc pdflatex tpg htlatex tpg ) %endif %if_with python3 pushd ../python3 %python3_build popd %endif %install %if_with python3 pushd ../python3 %python3_install popd pushd %buildroot%_bindir for i in $(ls); do mv $i $i.py3 done popd %endif %python_install %files %if_enabled doc %doc doc/*.{png,pdf,html,css} %endif %doc examples %_bindir/* %if_with python3 %exclude %_bindir/*.py3 %endif %python_sitelibdir/tpg* %if_with python3 %files -n python3-module-%modulename %if_enabled doc %doc doc/*.{png,pdf,html,css} %endif %doc examples %_bindir/*.py3 %python3_sitelibdir/tpg* %endif %changelog * Mon Mar 12 2018 Igor Vlasenko <viy@altlinux.ru> 3.2.2-alt3.1 - NMU: fixed BR: for texlive 2017 * Tue Feb 27 2018 Michael Shigorin <mike@altlinux.org> 3.2.2-alt3 - doc knob: "enable" instead of "with" (imz@) * Mon Feb 26 2018 Michael Shigorin <mike@altlinux.org> 3.2.2-alt2 - Added doc knob (on by default) * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.2.2-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Tue Aug 26 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.2-alt1 - Version 3.2.2 - Added module for Python 3 * Fri Jun 08 2012 Fr. Br. George <george@altlinux.ru> 3.2.1-alt1 - Autobuild version bump to 3.2.1 * Fri Feb 24 2012 Fr. Br. George <george@altlinux.ru> 3.1.4-alt1 - Autobuild version bump to 3.1.4 * Wed Oct 26 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.1.2-alt1.1.1 - Rebuild with Python-2.7 * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.2-alt1.1 - Rebuilt with python 2.6 * Sun Jun 08 2008 Fr. Br. George <george@altlinux.ru> 3.1.2-alt1 - Version up * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 3.1.0-alt1.1.1 - Rebuilt with python-2.5. * Fri Dec 29 2006 ALT QA Team Robot <qa-robot@altlinux.org> 3.1.0-alt1.1 - Rebuilt using rpm-build-python-0.29-alt4. * Sun Aug 20 2006 Fr. Br. George <george@altlinux.ru> 3.1.0-alt1 - New version * Tue Apr 12 2005 Fr. Br. George <george@altlinux.ru> 3.0.5-alt2 - Minor version uupping, obsoleted dependency removed * Mon Nov 22 2004 Fr. Br. George <george@altlinux.ru> 3.0.4-alt1 - Minor version uupping * Tue Oct 05 2004 Fr. Br. George <george@altlinux.ru> 3.0.3-alt1 - Initial ALT build |