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