Files
tasksh/tasksh.spec
Michal Vyskocil 6c2ae9cb2b Accepting request 802610 from home:mvyskocil:branches:utilities
- Update to 1.2.0
 + Responds to Ctrl-D by exiting.
 + Support for a GTD-like review session.
 + 'review' command begins an interactive review session
 + 'diag' command shows diagnostic info for problem solving
 + The 'tasksh.autoclear' setting in Taskwarrior is used by Tasksh
   to clear the terminal before every command, if set to '1'.
- sync package description with manual pages

OBS-URL: https://build.opensuse.org/request/show/802610
OBS-URL: https://build.opensuse.org/package/show/utilities/tasksh?expand=0&rev=3
2020-05-11 07:09:09 +00:00

58 lines
1.6 KiB
RPMSpec

#
# spec file for package tasksh
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: tasksh
Version: 1.2.0
Release: 0
Summary: Interactive taskwarrior shell
License: MIT
Group: Productivity/Office/Organizers
Url: http://taskwarrior.org
Source0: http://www.taskwarrior.org/download/tasksh-%{version}.tar.gz
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: readline-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The shell for taskwarrior, old task shell command now as external project.
%prep
%setup -q
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
rm -f %{buildroot}/%{_datadir}/doc/%{name}/INSTALL
mkdir -p %{buildroot}%{_datadir}/doc/packages/
mv %{buildroot}/%{_datadir}/doc/%{name} \
%{buildroot}/%{_datadir}/doc/packages
%files
%defattr(-,root,root)
%doc %{_defaultdocdir}/%{name}/
%{_bindir}/%{name}
%{_datadir}/man/man1/%{name}*
%changelog