Shellfu/Bash/JAT data-driven testing mini-framework https://pagure.io/shellfu-bash-xcase

template.spec 816B

1234567891011121314151617181920212223242526272829303132333435363738
  1. %global sfincb %{_datadir}/shellfu/include-bash
  2. %global sfmodn __SHELLFU_MODNAME__
  3. %global shellfu_req shellfu >= 0.10.7, shellfu < 0.11
  4. %global jat_req shellfu-bash-jat >= 0.0.1, shellfu-bash-jat < 0.0.2
  5. Name: __MKIT_PROJ_PKGNAME__
  6. Version: __MKIT_PROJ_VERSION__
  7. Release: 1%{?dist}
  8. Summary: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
  9. URL: __MKIT_PROJ_VCS_BROWSER__
  10. License: LGPLv2
  11. Source0: %{name}-%{version}.tar.gz
  12. BuildArch: noarch
  13. Requires: %jat_req
  14. Requires: %shellfu_req
  15. Requires: shellfu-bash
  16. Requires: shellfu-bash-pretty
  17. %description
  18. __SHELLFU_MODDESC__
  19. %prep
  20. %setup -q
  21. %build
  22. make %{?_smp_mflags} PREFIX=/usr
  23. %install
  24. %make_install PREFIX=/usr
  25. %files
  26. %doc %{_docdir}/%{name}/README.md
  27. %{sfincb}/%{sfmodn}.sh
  28. %changelog
  29. # specfile built with MKit __MKIT_SELF_VERSION__