template.spec 1.0KB

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