File vit.spec of Package vit

#
# spec file for package vit
#
# Copyright (c) 2017 SUSE LINUX 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:           vit
Version:        1.3~20171222.g2d6ec2c
Release:        0
Summary:        Curses-based front end to Taskwarrior
License:        GPL-3.0
Group:          Productivity/Office/Organizers
Url:            https://tasktools.org/
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  taskwarrior
BuildRequires:  perl(Curses)
Requires:       taskwarrior
Requires:       perl(Curses)
Requires:       perl(Text::CharWidth)
BuildArch:      noarch

%description
VIT - a minimalistic Taskwarrior full-screen terminal interface with Vim key
bindings

%prep
%setup -q
echo %{version} > VERSION

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%doc AUTHORS CHANGES LICENSE README
%{_bindir}/vit
%{_datadir}/vit
%{_mandir}/man1/vit.1%{ext_man}
%{_mandir}/man5/vitrc.5%{ext_man}

%changelog
openSUSE Build Service is sponsored by