File emacs-yaml-mode.spec of Package emacs-yaml-mode

# spec file for package emacs-yaml-mode
# Copyright (c) 2019 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

%define tarname yaml-mode
Name:           emacs-yaml-mode
Version:        0.0.14
Release:        0
Summary:        Simple major mode to edit YAML file for emacs
License:        GPL-2.0-or-later
Group:          Productivity/Text/Editors
Source:         %{tarname}-%{version}.tar.gz
Patch0:         yaml-mode-destdir.patch
BuildRequires:  emacs >= 24.1
Requires:       emacs >= 24.1
BuildArch:      noarch

yaml-mode is major mode for emacs to edit YAML files.

%setup -q -n %{tarname}-%{version}

make %{?_smp_mflags} bytecompile

install -d -m 755 %{buildroot}%{_datadir}/emacs/site-lisp
make PREFIX=%{_prefix} DESTDIR=%{buildroot} install

%doc README Changes

openSUSE Build Service is sponsored by