template.spec 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. Source0: %{name}-%{version}.tar.gz
  8. BuildArch: noarch
  9. BuildRequires: coreutils
  10. BuildRequires: python
  11. BuildRequires: python-libs
  12. BuildRequires: shellfu => 0.10
  13. BuildRequires: shellfu-bash-pretty
  14. Requires: python
  15. Requires: python-libs
  16. Requires: shellfu => 0.10
  17. Requires: shellfu-bash
  18. Requires: shellfu-bash-pretty
  19. %description
  20. UriPecker is Shellfu library of one function that takes a string on
  21. standard output, and looks for things that look like could be URIs.
  22. Besides real URIs, it can look for set of keywords and identifiers such
  23. as 'build 1234', 'issue#45' or 'bz6789' and translate them based on a
  24. simple INI file.
  25. %prep
  26. %setup -q
  27. %build
  28. make %{?_smp_mflags} PREFIX=/usr
  29. %install
  30. %make_install PREFIX=/usr
  31. %check
  32. make test \
  33. SHELLFU_PATH=%{buildroot}/%{_datadir}/shellfu/include-bash
  34. %files
  35. %doc %{_docdir}/%{name}/README.md
  36. %{_datadir}/shellfu/include-bash/uripecker.sh
  37. %changelog
  38. # specfile built with MKit __MKIT_SELF_VERSION__