source: projects/specs/trunk/p/pyparsing/pyparsing-vl.spec @ 12545

Revision 12545, 4.2 KB checked in by tomop, 3 years ago (diff)

rpm-4.16.1.2-1 and requirements

RevLine 
[521]1Name:           pyparsing
[12469]2Version:        2.4.7
[12545]3Release:        2%{?_dist_release}
[521]4Summary:        An object-oriented approach to text processing
5Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
[12469]6Group:          programming
7Vendor:         Project Vine
8Distribution:   Vine Linux
[521]9
10License:        MIT
[11931]11URL:            https://github.com/pyparsing/pyparsing/
[12469]12Source0:        https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
13
14BuildArch:      noarch
[521]15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
[12469]17BuildRequires:  python-rpm-macros
18
[521]19BuildRequires:  python-devel
[11931]20BuildRequires:  python-setuptools
[12469]21BuildRequires:  python2-rpm-macros
22
[11931]23BuildRequires:  python3-devel
24BuildRequires:  python3-setuptools
25BuildRequires:  python3-rpm-macros
[521]26
27%description
28pyparsing is a module that can be used to easily and directly configure syntax
29definitions for any number of text parsing applications.
30
[12469]31
[11931]32%package -n python-pyparsing
33Summary:        An object-oriented approach to text processing
34Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
[12469]35Group:          programming
[11931]36Requires:       python
37Provides:       pyparsing = %{version}-%{release}
38Obsoletes:      pyparsing < %{version}
39
40%description -n python-pyparsing
41pyparsing is a module that can be used to easily and directly configure syntax
42definitions for any number of text parsing applications.
43
[12469]44
[11931]45%package -n python3-pyparsing
46Summary:        An object-oriented approach to text processing
47Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
[12469]48Group:          programming
[11931]49Requires:       python3
50
51%description -n python3-pyparsing
52pyparsing is a module that can be used to easily and directly configure syntax
53definitions for any number of text parsing applications.
54
[12469]55
[521]56%prep
[11931]57%setup -qc -n pyparsing-%{version}
58mv pyparsing-%{version} python2
59cp -a python2 python3
[521]60
[11931]61pushd python2
62perl -pi -e 's/\r//' LICENSE
63perl -pi -e 's/\r//' CHANGES
64perl -pi -e 's/\r//' README*
[12469]65cp -a LICENSE CHANGES README* docs examples ../
[11931]66popd
67
[12469]68
[521]69%build
[11931]70pushd python2
[12469]71%py2_build
[11931]72popd
73pushd python3
74%py3_build
75popd
[521]76
[11931]77
[521]78%install
79rm -rf $RPM_BUILD_ROOT
[11931]80pushd python2
[12469]81%py2_install
[11931]82popd
83pushd python3
84%py3_install
85popd
[521]86
[12469]87
[521]88%clean
89rm -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
Note: See TracBrowser for help on using the repository browser.