template.spec 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. SHELLFU_PATH=%{buildroot}/%{_datadir}/shellfu/include-bash
  33. %files
  34. %doc %{_docdir}/%{name}/README.md
  35. %{_datadir}/shellfu/include-bash/saturnin.sh
  36. %changelog
  37. # specfile built with MKit __MKIT_SELF_VERSION__