template.spec 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. %global sfincb %{_datadir}/shellfu/include-bash
  2. %global shellfu_req shellfu >= __VDEP_SHELLFU_GE__, shellfu < __VDEP_SHELLFU_LT__
  3. %global saturnin_req shellfu-bash-saturnin >= __VDEP_SATURNIN_GE__, shellfu-bash-saturnin < __VDEP_SATURNIN_LT__
  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. %dir %{_datadir}/%{name}
  26. %dir %{_libexecdir}/%{name}
  27. %doc %{_docdir}/%{name}/LICENSE.md
  28. %doc %{_docdir}/%{name}/README.md
  29. %{_bindir}/%{name}
  30. %{_datadir}/%{name}/complete/install.sh
  31. %{_datadir}/%{name}/help
  32. %{_datadir}/bash-completion/completions/%{name}
  33. %{_libexecdir}/%{name}/dottum-install
  34. %{sfincb}/dottum.sh
  35. %changelog
  36. # specfile built with MKit __MKIT_MKIT_VERSION__