pyparsing-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Name: pyparsing
  2. Version: 2.3.0
  3. Release: 1%{?_dist_release}
  4. Summary: An object-oriented approach to text processing
  5. Summary(ja): オブジェクト指向のテキストパース用 Python モジュール
  6. Group: Development/Libraries
  7. License: MIT
  8. URL: https://github.com/pyparsing/pyparsing/
  9. Source0: https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-2.3.0.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: python-devel
  13. BuildRequires: python-setuptools
  14. BuildRequires: python-rpm-macros
  15. BuildRequires: python3-devel
  16. BuildRequires: python3-setuptools
  17. BuildRequires: python3-rpm-macros
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. pyparsing is a module that can be used to easily and directly configure syntax
  22. definitions for any number of text parsing applications.
  23. %package -n python-pyparsing
  24. Summary: An object-oriented approach to text processing
  25. Summary(ja): オブジェクト指向のテキストパース用 Python モジュール
  26. Group: Development/Libraries
  27. Requires: python
  28. Provides: pyparsing = %{version}-%{release}
  29. Obsoletes: pyparsing < %{version}
  30. %description -n python-pyparsing
  31. pyparsing is a module that can be used to easily and directly configure syntax
  32. definitions for any number of text parsing applications.
  33. %package -n python3-pyparsing
  34. Summary: An object-oriented approach to text processing
  35. Summary(ja): オブジェクト指向のテキストパース用 Python モジュール
  36. Group: Development/Libraries
  37. Requires: python3
  38. %description -n python3-pyparsing
  39. pyparsing is a module that can be used to easily and directly configure syntax
  40. definitions for any number of text parsing applications.
  41. %prep
  42. %setup -qc -n pyparsing-%{version}
  43. mv pyparsing-%{version} python2
  44. cp -a python2 python3
  45. pushd python2
  46. perl -pi -e 's/\r//' LICENSE
  47. perl -pi -e 's/\r//' CHANGES
  48. perl -pi -e 's/\r//' README*
  49. cp -a LICENSE CHANGES README* htmldoc examples HowToUsePyparsing.html ../
  50. cp pyparsingClassDiagram.JPG ../pyparsingClassDiagram.jpg
  51. cp pyparsingClassDiagram.PNG ../pyparsingClassDiagram.png
  52. popd
  53. %build
  54. pushd python2
  55. %py_build
  56. popd
  57. pushd python3
  58. %py3_build
  59. popd
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. pushd python2
  63. %py_install
  64. popd
  65. pushd python3
  66. %py3_install
  67. popd
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %files -n python-pyparsing
  71. %defattr(-,root,root,-)
  72. %license LICENSE
  73. %doc CHANGES README* htmldoc examples
  74. %doc HowToUsePyparsing.html pyparsingClassDiagram.jpg pyparsingClassDiagram.png
  75. %{python_sitelib}/pyparsing*egg-info
  76. %{python_sitelib}/pyparsing.py*
  77. %files -n python3-pyparsing
  78. %defattr(-,root,root,-)
  79. %license LICENSE
  80. %doc CHANGES README* htmldoc examples
  81. %doc HowToUsePyparsing.html pyparsingClassDiagram.jpg pyparsingClassDiagram.png
  82. %{python3_sitelib}/pyparsing*egg-info
  83. %{python3_sitelib}/pyparsing.py*
  84. %{python3_sitelib}/__pycache__/pyparsing.*
  85. %changelog
  86. * Wed Nov 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
  87. - new upstream release.
  88. - changed naming-rule.
  89. - added python3 support.
  90. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4
  91. - rebuild with VineSeed environment
  92. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3
  93. - rebuilt with python-2.7.2
  94. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.0-2
  95. - rebuilt with python-2.6.4
  96. * Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.5.0-1
  97. - initial build for Vine Linux based on fedora package
  98. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3
  99. - Rebuild for Python 2.6
  100. * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2
  101. - respun (now with the right sources)
  102. * Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1
  103. - new upstream release.
  104. * Tue Apr 1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1
  105. - New upstream version, add egg-info for F9+.
  106. * Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1
  107. - New upstream version.
  108. * Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1
  109. - New upstream version.
  110. * Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1
  111. - New upstream version.
  112. * Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1
  113. - New version.
  114. * Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
  115. - Initial RPM release