2005-08-03 19:08:56 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
Name: pyparsing
|
2008-08-04 15:09:09 +00:00
|
|
|
Version: 1.5.0
|
2009-07-26 19:56:35 +00:00
|
|
|
Release: 5%{?dist}
|
2005-08-03 19:08:56 +00:00
|
|
|
Summary: An object-oriented approach to text processing
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: MIT
|
2006-12-11 23:43:49 +00:00
|
|
|
URL: http://pyparsing.wikispaces.com/
|
2008-04-01 16:19:31 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
2005-08-03 19:08:56 +00:00
|
|
|
Source1: pyparsing-LICENSE
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2006-12-11 23:43:49 +00:00
|
|
|
BuildRequires: python-devel
|
2005-08-03 19:08:56 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
pyparsing is a module that can be used to easily and directly configure syntax
|
|
|
|
definitions for any number of text parsing applications.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
mv pyparsingClassDiagram.PNG pyparsingClassDiagram.png
|
|
|
|
install -p -m 0644 %{SOURCE1} $RPM_BUILD_DIR/%{name}-%{version}/LICENSE
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2007-04-21 10:58:46 +00:00
|
|
|
%doc CHANGES docs examples HowToUsePyparsing.html htmldoc pyparsingClassDiagram.* README LICENSE
|
2008-04-01 16:19:31 +00:00
|
|
|
%if 0%{?fedora} >= 9
|
|
|
|
%{python_sitelib}/pyparsing*egg-info
|
|
|
|
%endif
|
|
|
|
%{python_sitelib}/pyparsing.py*
|
|
|
|
|
2005-08-03 19:08:56 +00:00
|
|
|
|
|
|
|
%changelog
|
2009-07-26 19:56:35 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 20:18:32 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 18:16:52 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-08-04 15:16:19 +00:00
|
|
|
* Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2
|
|
|
|
- respun (now with the right sources)
|
|
|
|
|
2008-08-04 15:09:09 +00:00
|
|
|
* Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1
|
|
|
|
- new upstream release.
|
|
|
|
|
2008-04-01 16:19:31 +00:00
|
|
|
* Tue Apr 1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1
|
|
|
|
- New upstream version, add egg-info for F9+.
|
|
|
|
|
2007-08-29 15:56:25 +00:00
|
|
|
* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2007-04-21 10:58:46 +00:00
|
|
|
* Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2006-12-11 23:43:49 +00:00
|
|
|
* Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2006-09-11 18:04:32 +00:00
|
|
|
* Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1
|
|
|
|
- New version.
|
|
|
|
|
2005-08-03 19:08:56 +00:00
|
|
|
* Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
|
|
|
|
- Initial RPM release
|