pyparsing-vl.spec 2.5 KB

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