blockdiag-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Summary: simple block-diagram image generator
  2. Summary(ja): シンプルなテキストからブロック図を生成するツール
  3. Name: blockdiag
  4. Version: 2.0.1
  5. Release: 1%{?_dist_release}
  6. Group: graphics
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: iwaim
  10. License: Apache License 2.0
  11. URL: http://blockdiag.com/ja/
  12. Source0: https://pypi.python.org/packages/source/b/blockdiag/%{name}-%{version}.tar.gz
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  15. BuildRequires: python-rpm-macros
  16. BuildRequires: python-devel >= 2.4
  17. BuildRequires: python-setuptools
  18. BuildRequires: python2-rpm-macros
  19. Requires: python >= 2.4
  20. Requires: python(abi) = %pyver
  21. Requires: python-pillow
  22. Requires: python-funcparserlib >= 0.3.4
  23. Requires: python-webcolors
  24. %description
  25. blockdiag generate block-diagram image file from spec-text file.
  26. %package -n python3-blockdiag
  27. Summary: simple block-diagram image generator
  28. Summary(ja): シンプルなテキストからブロック図を生成するツール
  29. Group: graphics
  30. BuildRequires: python3-devel
  31. BuildRequires: python3-setuptools
  32. BuildRequires: python3-rpm-macros
  33. Requires: python3
  34. Requires: python3-pillow
  35. Requires: python3-funcparserlib
  36. Requires: python3-webcolors
  37. %description -n python3-blockdiag
  38. blockdiag generate block-diagram image file from spec-text file.
  39. %prep
  40. %setup -q
  41. %build
  42. %py2_build
  43. %py3_build
  44. %install
  45. %__rm -rf %{buildroot}
  46. %py2_install
  47. %py3_install
  48. %clean
  49. %__rm -rf %{buildroot}
  50. %files
  51. %defattr(-,root,root,-)
  52. %license LICENSE
  53. %doc examples README.rst
  54. #%{_bindir}/blockdiag
  55. %{python_sitelib}/blockdiag-%{version}-py*.egg-info
  56. %{python_sitelib}/blockdiag
  57. %{python_sitelib}/blockdiag_sphinxhelper.*
  58. %files -n python3-blockdiag
  59. %defattr(-,root,root,-)
  60. %license LICENSE
  61. %doc examples README.rst
  62. %{_bindir}/blockdiag
  63. %{python3_sitelib}/blockdiag*
  64. %{python3_sitelib}/__pycache__/*
  65. %changelog
  66. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.1-1
  67. - new upstream release.
  68. * Thu Nov 21 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
  69. - new upstream release.
  70. - added python3 support.
  71. * Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.3.2-1
  72. - update to 1.3.2
  73. * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 1.2.4-1
  74. - new upstream release
  75. - add Requires: python-webcolors
  76. - add Requires: python(abi) = %%pyver
  77. - add Summary(ja)
  78. - update URL: upstream moved
  79. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-2
  80. - rebuild with python-2.7.2
  81. * Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.1-1
  82. - Initial build.