blockdiag-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. %define ver 1.3.2
  2. %define rel 1
  3. Summary: simple block-diagram image generator
  4. Summary(ja): シンプルなテキストからブロック図を生成するツール
  5. Name: blockdiag
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. License: Apache License 2.0
  9. Group: Applications/Text
  10. URL: http://blockdiag.com/ja/
  11. Source0: http://pypi.python.org/packages/source/b/blockdiag/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  13. BuildArch: noarch
  14. BuildRequires: python-devel >= 2.4
  15. BuildRequires: python-setuptools
  16. Requires: python >= 2.4
  17. Requires: python(abi) = %pyver
  18. Requires: python-imaging >= 1.1.5
  19. Requires: python-funcparserlib >= 0.3.4
  20. Requires: python-webcolors
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: iwaim
  24. %description
  25. blockdiag generate block-diagram image file from spec-text file.
  26. %prep
  27. %setup -q
  28. %build
  29. %__python setup.py build
  30. %install
  31. %__rm -rf %{buildroot}
  32. %__python setup.py install --skip-build --root %{buildroot}
  33. %clean
  34. %__rm -rf %{buildroot}
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc examples src/README.txt src/TODO.txt
  38. %{_bindir}/blockdiag
  39. %{python_sitelib}/blockdiag-%{ver}-py*.egg-info
  40. %{python_sitelib}/blockdiag
  41. %{python_sitelib}/blockdiag_sphinxhelper.*
  42. %changelog
  43. * Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.3.2-1
  44. - update to 1.3.2
  45. * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 1.2.4-1
  46. - new upstream release
  47. - add Requires: python-webcolors
  48. - add Requires: python(abi) = %%pyver
  49. - add Summary(ja)
  50. - update URL: upstream moved
  51. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-2
  52. - rebuild with python-2.7.2
  53. * Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.1-1
  54. - Initial build.