1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | |
---|
3 | Name: pyparsing |
---|
4 | Version: 1.5.0 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | Summary: An object-oriented approach to text processing |
---|
7 | Summary(ja): オブジェクト指向のテキストパース用 Python モジュール |
---|
8 | |
---|
9 | Group: Development/Libraries |
---|
10 | License: MIT |
---|
11 | URL: http://pyparsing.wikispaces.com/ |
---|
12 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
13 | Source1: pyparsing-LICENSE |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | BuildRequires: python-devel |
---|
18 | |
---|
19 | %description |
---|
20 | pyparsing is a module that can be used to easily and directly configure syntax |
---|
21 | definitions for any number of text parsing applications. |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup -q |
---|
25 | |
---|
26 | %build |
---|
27 | %{__python} setup.py build |
---|
28 | mv pyparsingClassDiagram.PNG pyparsingClassDiagram.png |
---|
29 | install -p -m 0644 %{SOURCE1} $RPM_BUILD_DIR/%{name}-%{version}/LICENSE |
---|
30 | |
---|
31 | %install |
---|
32 | rm -rf $RPM_BUILD_ROOT |
---|
33 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
34 | |
---|
35 | %clean |
---|
36 | rm -rf $RPM_BUILD_ROOT |
---|
37 | |
---|
38 | %files |
---|
39 | %defattr(-,root,root,-) |
---|
40 | %doc CHANGES docs examples HowToUsePyparsing.html htmldoc pyparsingClassDiagram.* README LICENSE |
---|
41 | %{python_sitelib}/pyparsing*egg-info |
---|
42 | %{python_sitelib}/pyparsing.py* |
---|
43 | |
---|
44 | |
---|
45 | %changelog |
---|
46 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3 |
---|
47 | - rebuilt with python-2.7.2 |
---|
48 | |
---|
49 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.0-2 |
---|
50 | - rebuilt with python-2.6.4 |
---|
51 | |
---|
52 | * Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.5.0-1 |
---|
53 | - initial build for Vine Linux based on fedora package |
---|
54 | |
---|
55 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3 |
---|
56 | - Rebuild for Python 2.6 |
---|
57 | |
---|
58 | * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2 |
---|
59 | - respun (now with the right sources) |
---|
60 | |
---|
61 | * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1 |
---|
62 | - new upstream release. |
---|
63 | |
---|
64 | * Tue Apr 1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1 |
---|
65 | - New upstream version, add egg-info for F9+. |
---|
66 | |
---|
67 | * Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1 |
---|
68 | - New upstream version. |
---|
69 | |
---|
70 | * Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1 |
---|
71 | - New upstream version. |
---|
72 | |
---|
73 | * Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1 |
---|
74 | - New upstream version. |
---|
75 | |
---|
76 | * Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1 |
---|
77 | - New version. |
---|
78 | |
---|
79 | * Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1 |
---|
80 | - Initial RPM release |
---|