blockdiag-vl.spec 2.4 KB

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