template.spec 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. %global sfincb %{_datadir}/shellfu/include-bash
  2. %global sfmodn __SHELLFU_MODNAME__
  3. %global shellfu_req shellfu >= 0.10.4, 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-inigrep
  14. BuildRequires: shellfu-bash-pretty
  15. BuildRequires: shellfu-sh-exit
  16. Requires: %shellfu_req
  17. Requires: shellfu-bash
  18. Requires: shellfu-bash-inigrep
  19. Requires: shellfu-bash-pretty
  20. Requires: shellfu-sh-exit
  21. %description
  22. saturnin is Shellfu library that helps you easily build toolkit from
  23. various scripts that you may have lying around. Instead of having a
  24. herd of untamed undocumented and hard-to-share scripts, with help of
  25. saturnin you can easily create and package a meta-command with a set
  26. of discoverable and maintainable sub-commands.
  27. %prep
  28. %setup -q
  29. %build
  30. make %{?_smp_mflags} PREFIX=/usr
  31. %install
  32. %make_install PREFIX=/usr
  33. %check
  34. make test \
  35. SHELLFU_PATH=%{buildroot}/%{_datadir}/shellfu/include-bash
  36. %files
  37. %doc %{_docdir}/%{name}/README.md
  38. %{sfincb}/%{sfmodn}.sh
  39. %changelog
  40. # specfile built with MKit __MKIT_SELF_VERSION__