[521] | 1 | Name: pyparsing |
---|
[12469] | 2 | Version: 2.4.7 |
---|
[12545] | 3 | Release: 2%{?_dist_release} |
---|
[521] | 4 | Summary: An object-oriented approach to text processing |
---|
| 5 | Summary(ja): オブジェクト指向のテキストパース用 Python モジュール |
---|
[12469] | 6 | Group: programming |
---|
| 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
[521] | 9 | |
---|
| 10 | License: MIT |
---|
[11931] | 11 | URL: https://github.com/pyparsing/pyparsing/ |
---|
[12469] | 12 | Source0: https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz |
---|
| 13 | |
---|
| 14 | BuildArch: noarch |
---|
[521] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
[12469] | 17 | BuildRequires: python-rpm-macros |
---|
| 18 | |
---|
[521] | 19 | BuildRequires: python-devel |
---|
[11931] | 20 | BuildRequires: python-setuptools |
---|
[12469] | 21 | BuildRequires: python2-rpm-macros |
---|
| 22 | |
---|
[11931] | 23 | BuildRequires: python3-devel |
---|
| 24 | BuildRequires: python3-setuptools |
---|
| 25 | BuildRequires: python3-rpm-macros |
---|
[521] | 26 | |
---|
| 27 | %description |
---|
| 28 | pyparsing is a module that can be used to easily and directly configure syntax |
---|
| 29 | definitions for any number of text parsing applications. |
---|
| 30 | |
---|
[12469] | 31 | |
---|
[11931] | 32 | %package -n python-pyparsing |
---|
| 33 | Summary: An object-oriented approach to text processing |
---|
| 34 | Summary(ja): オブジェクト指向のテキストパース用 Python モジュール |
---|
[12469] | 35 | Group: programming |
---|
[11931] | 36 | Requires: python |
---|
| 37 | Provides: pyparsing = %{version}-%{release} |
---|
| 38 | Obsoletes: pyparsing < %{version} |
---|
| 39 | |
---|
| 40 | %description -n python-pyparsing |
---|
| 41 | pyparsing is a module that can be used to easily and directly configure syntax |
---|
| 42 | definitions for any number of text parsing applications. |
---|
| 43 | |
---|
[12469] | 44 | |
---|
[11931] | 45 | %package -n python3-pyparsing |
---|
| 46 | Summary: An object-oriented approach to text processing |
---|
| 47 | Summary(ja): オブジェクト指向のテキストパース用 Python モジュール |
---|
[12469] | 48 | Group: programming |
---|
[11931] | 49 | Requires: python3 |
---|
| 50 | |
---|
| 51 | %description -n python3-pyparsing |
---|
| 52 | pyparsing is a module that can be used to easily and directly configure syntax |
---|
| 53 | definitions for any number of text parsing applications. |
---|
| 54 | |
---|
[12469] | 55 | |
---|
[521] | 56 | %prep |
---|
[11931] | 57 | %setup -qc -n pyparsing-%{version} |
---|
| 58 | mv pyparsing-%{version} python2 |
---|
| 59 | cp -a python2 python3 |
---|
[521] | 60 | |
---|
[11931] | 61 | pushd python2 |
---|
| 62 | perl -pi -e 's/\r//' LICENSE |
---|
| 63 | perl -pi -e 's/\r//' CHANGES |
---|
| 64 | perl -pi -e 's/\r//' README* |
---|
[12469] | 65 | cp -a LICENSE CHANGES README* docs examples ../ |
---|
[11931] | 66 | popd |
---|
| 67 | |
---|
[12469] | 68 | |
---|
[521] | 69 | %build |
---|
[11931] | 70 | pushd python2 |
---|
[12469] | 71 | %py2_build |
---|
[11931] | 72 | popd |
---|
| 73 | pushd python3 |
---|
| 74 | %py3_build |
---|
| 75 | popd |
---|
[521] | 76 | |
---|
[11931] | 77 | |
---|
[521] | 78 | %install |
---|
| 79 | rm -rf $RPM_BUILD_ROOT |
---|
[11931] | 80 | pushd python2 |
---|
[12469] | 81 | %py2_install |
---|
[11931] | 82 | popd |
---|
| 83 | pushd python3 |
---|
| 84 | %py3_install |
---|
| 85 | popd |
---|
[521] | 86 | |
---|
[12469] | 87 | |
---|
[521] | 88 | %clean |
---|
| 89 | rm -rf $RPM_BUILD_ROOT |
---|
| 90 | |
---|
[12469] | 91 | |
---|
[11931] | 92 | %files -n python-pyparsing |
---|
[521] | 93 | %defattr(-,root,root,-) |
---|
[11931] | 94 | %license LICENSE |
---|
[12469] | 95 | %doc CHANGES README* docs examples |
---|
| 96 | %{python2_sitelib}/pyparsing*egg-info |
---|
| 97 | %{python2_sitelib}/pyparsing.py* |
---|
[521] | 98 | |
---|
[11931] | 99 | %files -n python3-pyparsing |
---|
| 100 | %defattr(-,root,root,-) |
---|
| 101 | %license LICENSE |
---|
[12469] | 102 | %doc CHANGES README* docs examples |
---|
[11931] | 103 | %{python3_sitelib}/pyparsing*egg-info |
---|
| 104 | %{python3_sitelib}/pyparsing.py* |
---|
| 105 | %{python3_sitelib}/__pycache__/pyparsing.* |
---|
[521] | 106 | |
---|
[11931] | 107 | |
---|
[521] | 108 | %changelog |
---|
[12545] | 109 | * Tue Feb 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-2 |
---|
| 110 | - rebuilt with rpm-4.16. |
---|
| 111 | |
---|
[12469] | 112 | * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1 |
---|
| 113 | - new upstream release. |
---|
| 114 | |
---|
[11931] | 115 | * Wed Nov 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1 |
---|
| 116 | - new upstream release. |
---|
| 117 | - changed naming-rule. |
---|
| 118 | - added python3 support. |
---|
| 119 | |
---|
[8154] | 120 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4 |
---|
| 121 | - rebuild with VineSeed environment |
---|
| 122 | |
---|
[5701] | 123 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3 |
---|
| 124 | - rebuilt with python-2.7.2 |
---|
| 125 | |
---|
[521] | 126 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.0-2 |
---|
| 127 | - rebuilt with python-2.6.4 |
---|
| 128 | |
---|
| 129 | * Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.5.0-1 |
---|
| 130 | - initial build for Vine Linux based on fedora package |
---|
| 131 | |
---|
| 132 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3 |
---|
| 133 | - Rebuild for Python 2.6 |
---|
| 134 | |
---|
| 135 | * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2 |
---|
| 136 | - respun (now with the right sources) |
---|
| 137 | |
---|
| 138 | * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1 |
---|
| 139 | - new upstream release. |
---|
| 140 | |
---|
| 141 | * Tue Apr 1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1 |
---|
| 142 | - New upstream version, add egg-info for F9+. |
---|
| 143 | |
---|
| 144 | * Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1 |
---|
| 145 | - New upstream version. |
---|
| 146 | |
---|
| 147 | * Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1 |
---|
| 148 | - New upstream version. |
---|
| 149 | |
---|
| 150 | * Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1 |
---|
| 151 | - New upstream version. |
---|
| 152 | |
---|
| 153 | * Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1 |
---|
| 154 | - New version. |
---|
| 155 | |
---|
| 156 | * Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1 |
---|
| 157 | - Initial RPM release |
---|