pyparsing-vl.spec 4.2 KB

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