c2627a1
%global srcname pyparsing
c2627a1
%global sum Python package with an object-oriented approach to text processing
5f051aa
c2627a1
Summary:        %{sum}
a3002fe
Name:           pyparsing
b7afddd
Version:        2.1.10
b7afddd
Release:        1%{?dist}
c2627a1
5f051aa
License:        MIT
1838cc7
URL:            http://pyparsing.wikispaces.com/
05d7628
Source0:        http://downloads.sourceforge.net/pyparsing/pyparsing-%{version}.tar.gz
c2627a1
5f051aa
BuildArch:      noarch
05d7628
BuildRequires:  dos2unix
a3002fe
BuildRequires:  python2-devel
dc7835a
BuildRequires:  python2-setuptools
a3002fe
BuildRequires:  python3-devel
dc7835a
BuildRequires:  python3-setuptools
c2627a1
c2627a1
Requires:      python-%{srcname} = %{version}-%{release}
c2627a1
5f051aa
%description
5f051aa
pyparsing is a module that can be used to easily and directly configure syntax
5f051aa
definitions for any number of text parsing applications.
5f051aa
c2627a1
a3002fe
%package        doc
c2627a1
Summary:        Documentation for pyparsing python package
05d7628
a3002fe
%description    doc
05d7628
The package contains documentation for pyparsing.
05d7628
c2627a1
c2627a1
%package -n python2-%{srcname}
c2627a1
Summary:       %{sum}
c2627a1
%{?python_provide:%python_provide python2-%{srcname}}
c2627a1
c2627a1
%description -n python2-pyparsing
c2627a1
pyparsing is a module that can be used to easily and directly configure syntax
c2627a1
definitions for any number of text parsing applications.
c2627a1
c2627a1
c2627a1
%package -n python3-pyparsing
c2627a1
Summary:        %{sum}
267f8d3
%{?python_provide:%python_provide python3-%{srcname}}
05d7628
05d7628
%description -n python3-pyparsing
05d7628
pyparsing is a module that can be used to easily and directly configure syntax
05d7628
definitions for any number of text parsing applications.
05d7628
05d7628
This is the Python 3 version.
c2627a1
05d7628
5f051aa
%prep
5f051aa
%setup -q
05d7628
mv docs/pyparsingClassDiagram.PNG docs/pyparsingClassDiagram.png
05d7628
rm docs/pyparsingClassDiagram.JPG
03ffa9d
dos2unix -k CHANGES LICENSE README
5f051aa
5f051aa
%build
c2627a1
%py2_build
c2627a1
%py3_build
5f051aa
5f051aa
%install
c2627a1
%py2_install
c2627a1
%py3_install
5f051aa
5f051aa
%files
c2627a1
c2627a1
%files -n python2-pyparsing
a3002fe
%license LICENSE
a3002fe
%doc CHANGES README
c2627a1
%{python_sitelib}/*
8a8ca28
05d7628
%files -n python3-pyparsing
a3002fe
%license LICENSE
05d7628
%doc CHANGES README LICENSE
b7afddd
%{python3_sitelib}/pyparsing.py
b7afddd
%{python3_sitelib}/__pycache__/*
b7afddd
%{python3_sitelib}/pyparsing-%{version}-py?.?.egg-info
05d7628
05d7628
%files doc
a3002fe
%license LICENSE
a3002fe
%doc CHANGES README HowToUsePyparsing.html docs examples htmldoc
5f051aa
5f051aa
%changelog
b7afddd
* Fri Dec 30 2016 José Matos <jamatos@fedoraproject.org> - 2.1.10-1
b7afddd
- update to 2.1.10
b7afddd
- do not own __pycache__
b7afddd
dc7835a
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1.5-3
dc7835a
- Rebuild for Python 3.6
dc7835a
- Add missing BuildRequires for python-setuptools
dc7835a
9ce1ef4
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-2
9ce1ef4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
9ce1ef4
39e3f30
* Thu Jun 16 2016 José Abílio Matos <jamatos@fc.up.pt> - 2.1.5-1
39e3f30
- update to 2.1.5
39e3f30
5846ac2
* Thu May 12 2016 José Matos <jamatos@fedoraproject.org> - 2.1.3-1
5846ac2
- update to 2.1.3
5846ac2
cb5b176
* Sun May  8 2016 José Matos <jamatos@fedoraproject.org> - 2.1.1-1
cb5b176
- update to 2.1.1
cb5b176
267f8d3
* Tue Feb 16 2016 José Matos <jamatos@fedoraproject.org> - 2.1.0-2
267f8d3
- fix typo in provides for the python3 subpackage
267f8d3
c2627a1
* Mon Feb 15 2016 José Matos <jamatos@fedoraproject.org> - 2.1.0-1
c2627a1
- update to 2.1.0
c2627a1
- add a python2 subpackage preserving the upgrade path
c2627a1
101415e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-2
101415e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
101415e
f349778
* Fri Jan 08 2016 Terje Rosten <terje.rosten@ntnu.no> - 2.0.7-1
f349778
- 2.0.7
f349778
a3002fe
* Tue Nov 17 2015 Terje Rosten <terje.rosten@ntnu.no> - 2.0.6-1
a3002fe
- 2.0.6
a3002fe
- Some clean up
a3002fe
Robert Kuska ca75ec0
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 2.0.3-3
Robert Kuska ca75ec0
- Rebuilt for Python3.5 rebuild
Robert Kuska ca75ec0
86cf1fb
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
86cf1fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
86cf1fb
47d06e0
* Fri Nov 28 2014 José Matos <jamatos@fedoraproject.org> - 2.0.3-1
47d06e0
- update to 2.0.3
47d06e0
- include the whole documentation set
47d06e0
63ec489
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-3
63ec489
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
63ec489
04304e0
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.0.1-2
04304e0
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
04304e0
03ffa9d
* Sun Oct 27 2013 Terje Rosten <terje.rosten@ntnu.no> - 2.0.1-1
03ffa9d
- 2.0.1
03ffa9d
462889d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-9
462889d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
462889d
Thomas Spura caf4922
* Wed Apr  3 2013 Thomas Spura <tomspur@fedoraproject.org> - 1.5.6-8
Thomas Spura caf4922
- add patch to correct typo in exception handling
Thomas Spura caf4922
a867879
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-7
a867879
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a867879
6dc9397
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 1.5.6-6
6dc9397
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
6dc9397
b2d0797
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 1.5.6-5
b2d0797
- remove rhel logic from with_python3 conditional
b2d0797
8b7ae27
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-4
8b7ae27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8b7ae27
c5ba59a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-3
c5ba59a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c5ba59a
8c2862a
* Tue Dec  6 2011 David Malcolm <dmalcolm@redhat.com> - 1.5.6-2
8c2862a
- fix __pycache__ conditional on RHEL
8c2862a
31310ba
* Fri Jul  1 2011 José Matos <jamatos@fedoraproject.org> - 1.5.6-1
31310ba
- New upstream version.
31310ba
f88befa
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.5-2
f88befa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f88befa
05d7628
* Thu Oct 21 2010 Terje Rosten <terje.rosten@ntnu.no> - 1.5.5-1
05d7628
- 1.5.5
05d7628
- use buildroot macro
05d7628
- fix wrong file end of line encoding
05d7628
- convert files to utf-8
05d7628
- doc subpackage
05d7628
- python3 subpackage
05d7628
- rpmlint clean
05d7628
18b72d7
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5.0-7
18b72d7
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
18b72d7
36c2e86
* Fri Jul 16 2010 Dan Horák <dan[at]danny.cz> - 1.5.0-6
36c2e86
- include egginfo on EL >= 6
36c2e86
05c5e91
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
05c5e91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
05c5e91
740018b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-4
740018b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
740018b
35f9d49
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3
35f9d49
- Rebuild for Python 2.6
35f9d49
3e5b6e1
* Mon Aug  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2
3e5b6e1
- respun (now with the right sources)
3e5b6e1
44915c6
* Mon Aug  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1
44915c6
- new upstream release.
44915c6
8a8ca28
* Tue Apr  1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1
8a8ca28
- New upstream version, add egg-info for F9+.
8a8ca28
ae06558
* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1
ae06558
- New upstream version.
ae06558
5a15a9a
* Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1
5a15a9a
- New upstream version.
5a15a9a
1838cc7
* Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1
1838cc7
- New upstream version.
1838cc7
5754eee
* Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1
5754eee
- New version.
5754eee
5f051aa
* Wed Aug  3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
5f051aa
- Initial RPM release