nwdiag-vl.spec 2.5 KB

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