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

Revision 11931, 4.3 KB checked in by tomop, 5 years ago (diff)

pyparsing-2.3.0-1

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