pyparsing-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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: 2%{?_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. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.0-2
  36. - rebuilt with python-2.6.4
  37. * Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.5.0-1
  38. - initial build for Vine Linux based on fedora package
  39. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3
  40. - Rebuild for Python 2.6
  41. * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2
  42. - respun (now with the right sources)
  43. * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1
  44. - new upstream release.
  45. * Tue Apr 1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1
  46. - New upstream version, add egg-info for F9+.
  47. * Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1
  48. - New upstream version.
  49. * Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1
  50. - New upstream version.
  51. * Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1
  52. - New upstream version.
  53. * Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1
  54. - New version.
  55. * Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
  56. - Initial RPM release