template.spec 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. %config %{_sysconfdir}/bash_completion.d/%{name}.bash
  26. %dir %{_datadir}/%{name}
  27. %dir %{_libexecdir}/%{name}
  28. %doc %{_docdir}/%{name}/LICENSE.md
  29. %doc %{_docdir}/%{name}/README.md
  30. %{_bindir}/%{name}
  31. %{_datadir}/%{name}/help
  32. %{_libexecdir}/%{name}/dottum-install
  33. %{sfincb}/dottum.sh
  34. %changelog
  35. # specfile built with MKit __MKIT_SELF_VERSION__