nwdiag-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %define ver 1.0.0
  2. %define rel 1
  3. Summary: simple network-diagram image generator
  4. Summary(ja): シンプルなテキストからネットワーク図を生成するツール
  5. Name: nwdiag
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. License: Apache License 2.0
  9. Group: Applications/Text
  10. URL: http://blockdiag.com/ja/nwdiag/
  11. Source0: http://pypi.python.org/packages/source/n/nwdiag/%{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(abi) = %pyver
  17. Requires: python >= 2.4
  18. Requires: python-imaging >= 1.1.5
  19. Requires: python-funcparserlib >= 0.3.4
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: iwaim
  23. %description
  24. nwdiag generate network-diagram image file from spec-text file.
  25. %prep
  26. %setup -q
  27. %build
  28. %__python setup.py build
  29. %install
  30. %__rm -rf %{buildroot}
  31. %__python setup.py install --skip-build --root %{buildroot}
  32. %clean
  33. %__rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc src/README.txt src/TODO.txt LICENSE examples
  37. %{_bindir}/nwdiag
  38. %{_bindir}/packetdiag
  39. %{_bindir}/rackdiag
  40. %{python_sitelib}/nwdiag-%{ver}-py*.egg-info
  41. %{python_sitelib}/nwdiag
  42. %{python_sitelib}/packetdiag
  43. %{python_sitelib}/rackdiag
  44. %{python_sitelib}/nwdiag_sphinxhelper.*
  45. %{python_sitelib}/packetdiag_sphinxhelper.*
  46. %{python_sitelib}/rackdiag_sphinxhelper.*
  47. %changelog
  48. * Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.0-1
  49. - update to 1.0.0
  50. * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 0.9.4-1
  51. - new upstream release
  52. - add packetdiag and rackdiag
  53. - drop sphinxcontrib_nwdiag.*: upstream removed
  54. - add examples in doc dir
  55. - add Requires: python(abi) = %%pyver
  56. - add Summary(ja)
  57. - update URL: upstream moved
  58. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-2
  59. - rebuild with python-2.7.2
  60. * Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.2.3-1
  61. - Initial build.