template.spec 1.2KB

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