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