template.spec 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %global sfincb %{_datadir}/shellfu/include-bash
  2. %global sfmodn __SHELLFU_MODNAME__
  3. %global shellfu_req shellfu >= __SHELLFU_VREQ_LO__, shellfu < __SHELLFU_VREQ_HI__
  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. BuildRequires: jattool-tdk
  14. Requires: %shellfu_req
  15. Requires: %jat_req
  16. Requires: shellfu-bash-dist
  17. Requires: shellfu-bash-pxpath
  18. %description
  19. __SHELLFU_MODDESC__
  20. %prep
  21. %setup -q
  22. %build
  23. make %{?_smp_mflags} PREFIX=/usr
  24. %install
  25. %make_install PREFIX=/usr
  26. %files
  27. %dir %{_datadir}/%{name}
  28. %dir %{_datadir}/%{name}/builtins
  29. %dir %{_docdir}/%{name}
  30. %doc %{_docdir}/%{name}/README.md
  31. %{_datadir}/%{name}/builtins/3rdparty.mdef
  32. %{_datadir}/%{name}/builtins/error.mdef
  33. %{_datadir}/%{name}/builtins/failed.mdef
  34. %{_datadir}/%{name}/builtins/fixed.mdef
  35. %{_datadir}/%{name}/builtins/informational.mdef
  36. %{_datadir}/%{name}/builtins/needs_action.mdef
  37. %{_datadir}/%{name}/builtins/needs_inspection.mdef
  38. %{_datadir}/%{name}/builtins/not_applicable.mdef
  39. %{_datadir}/%{name}/builtins/pass.mdef
  40. %{sfincb}/%{sfmodn}.sh
  41. %{sfincb}/%{sfmodn}_fupath.sh
  42. %{sfincb}/%{sfmodn}_upath.sh
  43. %changelog
  44. # specfile built with MKit __MKIT_SELF_VERSION__