File howl.spec of Package howl

# spec file for package howl
# 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

Name:           howl
Version:        0.5.3
Release:        0
Summary:        Editor with keyboard-centric minimalistic interface
License:        MIT
Group:          Productivity/Text/Editors
Patch0:         howl-respect-cflags.patch
BuildRequires:  fdupes
BuildRequires:  gcc
BuildRequires:  gtk3-devel
BuildRequires:  hicolor-icon-theme
BuildRequires:  update-desktop-files
Requires:       luajit

Howl is a general purpose editor that is customizable. It is built on
top of the LuaJIT runtime, and can be extended in either Lua or
Moonscript. It has a minimalistic UI, driven mainly using the

%setup -q
%patch0 -p1

export CFLAGS="%{optflags}"
cd src
make %{?_smp_mflags}

pushd src
%make_install PREFIX=%{_prefix}

cp -R share/ %{buildroot}%{_prefix}/

%suse_update_desktop_file -r howl Utility TextEditor

%fdupes %{buildroot}%{_prefix}

%dir %{_datadir}/appdata/

openSUSE Build Service is sponsored by