nwdiag-vl.spec 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. %define ver 0.2.3
  2. %define rel 1
  3. Summary: simple network-diagram image generator
  4. Name: nwdiag
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: Apache License 2.0
  8. Group: Applications/Text
  9. URL: http://tk0miya.bitbucket.org/nwdiag/build/html/index.html
  10. Source0: http://pypi.python.org/packages/source/n/nwdiag/%{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. nwdiag generate network-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 src/README.txt src/TODO.txt LICENSE
  35. %{_bindir}/nwdiag
  36. %{python_sitelib}/nwdiag-%{ver}-py*.egg-info
  37. %{python_sitelib}/nwdiag
  38. %{python_sitelib}/sphinxcontrib_nwdiag.*
  39. %{python_sitelib}/nwdiag_sphinxhelper.*
  40. %changelog
  41. * Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.2.3-1
  42. - Initial build.