nwdiag-vl.spec 2.7 KB

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