template.spec 779B

1234567891011121314151617181920212223242526272829303132333435363738
  1. Name: __MKIT_PROJ_PKGNAME__
  2. Version: __MKIT_PROJ_VERSION__
  3. Release: 1%{?dist}
  4. Summary: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
  5. URL: __MKIT_PROJ_VCS_BROWSER__
  6. License: LGPLv2
  7. %define sfincb %{_datadir}/shellfu/include-bash
  8. %define sfmodn __SHELLFU_MODNAME__
  9. %define shellfu_req shellfu >= 0.10.4, shellfu < 0.11
  10. Source0: %{name}-%{version}.tar.gz
  11. BuildArch: noarch
  12. Requires: %shellfu_req
  13. Requires: shellfu-bash
  14. Requires: shellfu-bash-pretty
  15. %description
  16. Cached is a Shellfu module implementing simple caching model.
  17. %prep
  18. %setup -q
  19. %build
  20. make %{?_smp_mflags} PREFIX=/usr
  21. %install
  22. %make_install PREFIX=/usr
  23. %files
  24. %doc %{_docdir}/%{name}/README.md
  25. %{sfincb}/%{sfmodn}.sh
  26. %changelog
  27. # specfile built with MKit __MKIT_SELF_VERSION__