template.spec 1004B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 git
  9. Requires: shellfu-bash
  10. Requires: shellfu-bash-core
  11. Requires: shellfu-bash-extras
  12. %description
  13. saturnin is Shellfu library that helps you easily build toolkit from
  14. various scripts that you may have lying around. Instead of having a
  15. herd of untamed undocumented and hard-to-share scripts, with help of
  16. saturnin you can easily create and package a meta-command with a set
  17. of discoverable and maintainable sub-commands.
  18. %prep
  19. %setup -q
  20. %build
  21. make %{?_smp_mflags} PREFIX=/usr
  22. %install
  23. %make_install PREFIX=/usr
  24. %check
  25. make test \
  26. "PATH=%{buildroot}%{_bindir}:$PATH" \
  27. "SHELLFU_DIR=%{buildroot}%{_datadir}/%{name}"
  28. %files
  29. %doc %{_docdir}/%{name}/README.md
  30. %{_datadir}/shellfu/include-bash/saturnin.sh
  31. %changelog
  32. # specfile built with MKit __MKIT_SELF_VERSION__