template.spec 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Name: satcmd
  2. Version: __MKIT_PROJ_VERSION__
  3. Release: 1%{?dist}
  4. Summary: satcmd - __MKIT_PROJ_TAGLINE__
  5. License: LGPLv2
  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. This package contains a demo meta-command built with saturnin; you can
  19. also re-use the source as template for your new toolkit.
  20. %prep
  21. %setup -q
  22. %build
  23. # %%configure
  24. make %{?_smp_mflags}
  25. %install
  26. %make_install
  27. %files
  28. %config %{_sysconfdir}/bash_completion.d/satcmd.bash
  29. %dir /usr/local/libexec/satcmd
  30. %dir /usr/local/share/satcmd
  31. %dir /usr/local/share/satcmd/ini.d
  32. %dir /usr/local/share/satcmd/ini.d/main
  33. %dir /usr/local/share/satcmd/shellfu
  34. %doc /usr/local/share/doc/satcmd/README.md
  35. /usr/local/bin/satcmd
  36. /usr/local/libexec/satcmd/satcmd-dump
  37. /usr/local/libexec/satcmd/satcmd-echo
  38. /usr/local/share/satcmd/ini.d/main/echo.ini
  39. /usr/local/share/satcmd/shellfu/saturnin.sh
  40. %changelog
  41. # specfile built with MKit __MKIT_SELF_VERSION__