template.spec 1.0KB

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