template.spec 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Name: __MKIT_PROJ_PKGNAME__
  2. Version: __MKIT_PROJ_VERSION__
  3. Release: 1%{?dist}
  4. Summary: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
  5. URL: __MKIT_PROJ_VCS_BROWSER__
  6. License: LGPLv2
  7. Source0: %{name}-%{version}.tar.gz
  8. BuildArch: noarch
  9. BuildRequires: shellfu => 0.10
  10. BuildRequires: shellfu < 0.11
  11. BuildRequires: shellfu-bash-inigrep
  12. BuildRequires: shellfu-bash-pretty
  13. BuildRequires: shellfu-sh-exit
  14. Requires: shellfu => 0.10
  15. Requires: shellfu < 0.11
  16. Requires: shellfu-bash
  17. Requires: shellfu-bash-inigrep
  18. Requires: shellfu-bash-pretty
  19. Requires: shellfu-sh-exit
  20. %description
  21. saturnin is Shellfu library that helps you easily build toolkit from
  22. various scripts that you may have lying around. Instead of having a
  23. herd of untamed undocumented and hard-to-share scripts, with help of
  24. saturnin you can easily create and package a meta-command with a set
  25. of discoverable and maintainable sub-commands.
  26. %prep
  27. %setup -q
  28. %build
  29. make %{?_smp_mflags} PREFIX=/usr
  30. %install
  31. %make_install PREFIX=/usr
  32. %check
  33. make test \
  34. SHELLFU_PATH=%{buildroot}/%{_datadir}/shellfu/include-bash
  35. %files
  36. %doc %{_docdir}/%{name}/README.md
  37. %{_datadir}/shellfu/include-bash/saturnin.sh
  38. %changelog
  39. # specfile built with MKit __MKIT_SELF_VERSION__