JAT - Just A Testing library https://pagure.io/shellfu-bash-jat

template.spec 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. %global sfincb %{_datadir}/shellfu/include-bash
  2. %global sfmodn __SHELLFU_MODNAME__
  3. %global shellfu_req shellfu >= 0.10.7, shellfu < 0.11
  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. BuildRequires: %shellfu_req
  13. BuildRequires: shellfu-bash-pretty
  14. BuildRequires: shellfu-sh-isa
  15. BuildRequires: shellfu-sh-termcolors
  16. Requires: %shellfu_req
  17. Requires: shellfu-bash
  18. Requires: shellfu-bash-pretty
  19. Requires: shellfu-sh-isa
  20. Requires: shellfu-sh-termcolors
  21. %description
  22. __SHELLFU_MODDESC__
  23. %prep
  24. %setup -q
  25. %build
  26. make %{?_smp_mflags} PREFIX=/usr
  27. %install
  28. %make_install PREFIX=/usr
  29. %check
  30. make test \
  31. SHELLFU_PATH=%{buildroot}/%{_datadir}/shellfu/include-bash
  32. %files
  33. %doc %{_docdir}/%{name}/README.md
  34. %{sfincb}/%{sfmodn}.sh
  35. %{sfincb}/%{sfmodn}_dump.sh
  36. %changelog
  37. # specfile built with MKit __MKIT_SELF_VERSION__