Name: tasksh Version: 1.1.0 Release: 1%{?dist} Summary: Shell command that wraps Taskwarrior commands. License: MIT URL: https://taskwarrior.org/ Source0: https://taskwarrior.org/download/%{name}-%{version}.tar.gz # We install docs ourselves Patch0: %{name}-0001-don-t-install-docs.patch BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: readline-devel Requires: task %description Tasksh is a shell command that wraps Taskwarrior commands. It is intended to provide simpler Taskwarrior access, and add a few new features of its own. Tasksh replaces the built-in shell command of older releases, and the bundled tasksh program of version 2.3.0. The former was very limited and the latter unsupported, buggy and flawed. %prep %autosetup -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo popd %make_build -C %{_target_platform} %install %make_install -C %{_target_platform} %files %license LICENSE %doc README.md ChangeLog AUTHORS NEWS %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Thu Dec 01 2016 Igor Gnatenko - 1.1.0-1 - Initial package