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