123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. %global sfincb %{_datadir}/shellfu/include-bash
  2. %global shellfu_req shellfu >= 0.10.8, shellfu < 0.11
  3. %global saturnin_req shellfu-bash-saturnin >= 0.4.12, shellfu-bash-saturnin < 0.5
  4. Name: __MKIT_PROJ_PKGNAME__
  5. Version: __MKIT_PROJ_VERSION__
  6. Release: 1%{?dist}
  7. Summary: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
  8. URL: __MKIT_PROJ_VCS_BROWSER__
  9. License: LGPLv2
  10. Source0: %{name}-%{version}.tar.gz
  11. BuildArch: noarch
  12. Requires: %shellfu_req
  13. Requires: %saturnin_req
  14. Requires: shellfu-bash
  15. Requires: shellfu-bash-jat >= 0.0.0
  16. Requires: shellfu-bash-jat < 0.0.1
  17. Requires: shellfu-bash-pretty
  18. %description
  19. JAT is a testing framework for Shell-based test suites.
  20. This sub-package contains main binaries for test suite and session
  21. control.
  22. %package report
  23. Requires: python2-jinja2
  24. Requires: jattool == %{version}
  25. Summary: JAT result post-processing
  26. %description report
  27. JAT is a testing framework for Shell-based test suites.
  28. This sub-package contains tools for result parsing and post-processing.
  29. %package tdk
  30. Requires: git
  31. Summary: JAT test development kit
  32. %description tdk
  33. JAT is a testing framework for Shell-based test suites.
  34. This sub-package contains files and tools to help with test
  35. development.
  36. %prep
  37. %setup -q
  38. %build
  39. make %{?_smp_mflags} PREFIX=/usr
  40. %install
  41. %make_install PREFIX=/usr
  42. %files
  43. %config %{_sysconfdir}/bash_completion.d/%{name}.bash
  44. %dir %{_datadir}/%{name}
  45. %dir %{_datadir}/%{name}/ini.d
  46. %dir %{_datadir}/%{name}/ini.d/main
  47. %dir %{_libexecdir}/%{name}
  48. %doc %{_docdir}/%{name}/README.md
  49. %{_bindir}/%{name}
  50. %{_datadir}/%{name}/help
  51. %{_datadir}/%{name}/ini.d/main/jattool.ini
  52. %{_libexecdir}/%{name}/%{name}-qrun
  53. %{_libexecdir}/%{name}/%{name}-runtest
  54. %{_libexecdir}/%{name}/%{name}-sessid
  55. %{_libexecdir}/%{name}/%{name}-sfind
  56. %{_libexecdir}/%{name}/%{name}-tfind
  57. %files report
  58. %{_datadir}/jattool/jinja2/html.j2
  59. %{_datadir}/jattool/python/jat.py*
  60. %{_libexecdir}/%{name}/%{name}-export
  61. %files tdk
  62. %dir %{_datadir}/%{name}/tdk/skel
  63. %dir %{_datadir}/%{name}/tdk/skel/packaging
  64. %dir %{_datadir}/%{name}/tdk/skel/packaging/debian
  65. %dir %{_datadir}/%{name}/tdk/skel/packaging/debian/source
  66. %dir %{_datadir}/%{name}/tdk/utils/mkit
  67. %dir %{_datadir}/%{name}/tdk/utils/mkit/include
  68. %{_datadir}/%{name}/tdk/skel/Makefile
  69. %{_datadir}/%{name}/tdk/skel/mkit.ini
  70. %{_datadir}/%{name}/tdk/skel/packaging/debian/changelog
  71. %{_datadir}/%{name}/tdk/skel/packaging/debian/compat
  72. %{_datadir}/%{name}/tdk/skel/packaging/debian/control
  73. %{_datadir}/%{name}/tdk/skel/packaging/debian/copyright
  74. %{_datadir}/%{name}/tdk/skel/packaging/debian/install
  75. %{_datadir}/%{name}/tdk/skel/packaging/debian/rules
  76. %{_datadir}/%{name}/tdk/skel/packaging/debian/source/format
  77. %{_datadir}/%{name}/tdk/skel/packaging/template.spec
  78. %{_datadir}/%{name}/tdk/utils/mkit/include/build.sh
  79. %{_datadir}/%{name}/tdk/utils/mkit/include/deploy.sh
  80. %{_datadir}/%{name}/tdk/utils/mkit/include/facts.sh
  81. %{_datadir}/%{name}/tdk/utils/mkit/include/ini.sh
  82. %{_datadir}/%{name}/tdk/utils/mkit/include/mkit.sh
  83. %{_datadir}/%{name}/tdk/utils/mkit/include/release.sh
  84. %{_datadir}/%{name}/tdk/utils/mkit/include/vars.sh
  85. %{_datadir}/%{name}/tdk/utils/mkit/make
  86. %{_datadir}/%{name}/tdk/utils/mkit/mkit.mk
  87. %{_datadir}/%{name}/tdk/utils/mkit/stub
  88. %changelog
  89. # specfile built with MKit __MKIT_SELF_VERSION__