File diakonos.spec of Package diakonos
#
# spec file for package diakonos
#
# Copyright (c) 2018 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: diakonos
Version: 0.9.6
Release: 0
Summary: Customizable Console based Text Editor
License: MIT/X Licence
Group: Productivity/Editors/Other
URL: http://diakonos.pist0s.ca
Source: https://github.com/Pistos/diakonos/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: ruby-devel
Requires: ruby
%description
Diakonos is a customizable, usable console-based text editor. It features
arbitrary language scripting, an interactive help system, bookmarking, regular
expression searching, parsed ("smart") indentation, macro recording and
playback, a multi-element clipboard, multi-level undo, a customizable status
line, completely customizable keyboard mapping, and customizable syntax
highlighting.
%prep
%setup -q
%build
%install
ruby ./install.rb \
--verbose \
--prefix "%{_prefix}" \
--dest-dir "%{buildroot}" \
--doc-dir "%{_docdir}/%{name}" \
--conf-dir "%{_sysconfdir}"
%files
%doc %{_docdir}/%{name}
%config(noreplace) %{_sysconfdir}/diakonos*.conf
%{_bindir}/diakonos
%{_datadir}/diakonos
%{_libdir}/ruby/site_ruby/%{rb_ver}/diakonos.rb
%{_libdir}/ruby/site_ruby/%{rb_ver}/diakonos
%changelog