template.spec 975B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. %define sfincb %{_datadir}/shellfu/include-bash
  2. %define shellfu_req shellfu >= 0.10.10, shellfu < 0.11
  3. %define saturnin_req shellfu-bash-saturnin >= 0.4.13, 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: %saturnin_req
  13. Requires: %shellfu_req
  14. Requires: shellfu-bash
  15. Requires: shellfu-bash-pretty
  16. %description
  17. __MKIT_PROJ_TAGLINE__
  18. %prep
  19. %setup -q
  20. %build
  21. make %{?_smp_mflags} PREFIX=/usr
  22. %install
  23. %make_install PREFIX=/usr
  24. %files
  25. %config %{_sysconfdir}/bash_completion.d/%{name}.bash
  26. %dir %{_libexecdir}/%{name}
  27. %doc %{_docdir}/%{name}/LICENSE.md
  28. %doc %{_docdir}/%{name}/README.md
  29. %{_bindir}/%{name}
  30. %{_libexecdir}/%{name}/dottum-install
  31. %{sfincb}/dottum.sh
  32. %changelog
  33. # specfile built with MKit __MKIT_SELF_VERSION__