blockdiag-vl.spec 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. %define ver 0.8.1
  2. %define rel 2
  3. Summary: simple block-diagram image generator
  4. Name: blockdiag
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: Apache License 2.0
  8. Group: Applications/Text
  9. URL: http://tk0miya.bitbucket.org/blockdiag/build/html/index.html
  10. Source0: http://pypi.python.org/packages/source/b/blockdiag/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  12. BuildArch: noarch
  13. BuildRequires: python-devel >= 2.4
  14. BuildRequires: python-setuptools
  15. Requires: python >= 2.4
  16. Requires: python-imaging >= 1.1.5
  17. Requires: python-funcparserlib >= 0.3.4
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: iwaim
  21. %description
  22. blockdiag generate block-diagram image file from spec-text file.
  23. %prep
  24. %setup -q
  25. %build
  26. %__python setup.py build
  27. %install
  28. %__rm -rf %{buildroot}
  29. %__python setup.py install --skip-build --root %{buildroot}
  30. %clean
  31. %__rm -rf %{buildroot}
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc examples src/README.txt src/TODO.txt
  35. %{_bindir}/blockdiag
  36. %{python_sitelib}/blockdiag-%{ver}-py*.egg-info
  37. %{python_sitelib}/blockdiag
  38. %{python_sitelib}/blockdiag_sphinxhelper.*
  39. %changelog
  40. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-2
  41. - rebuild with python-2.7.2
  42. * Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.1-1
  43. - Initial build.