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 http://bugs.opensuse.org/
#
Name: emacs-yaml-mode
Version: 0.0.16
Release: 0
Summary: Simple major mode to edit YAML file for emacs
License: GPL-3.0-or-later
URL: https://github.com/yoshiki/yaml-mode
Source: %{url}/archive/%{version}.tar.gz
Patch0: 0001-yaml-mode-destdir.patch
BuildRequires: emacs-nox >= 24.1
Requires: emacs >= 24.1
BuildArch: noarch
%description
yaml-mode is major mode for emacs to edit YAML files.
%prep
%autosetup -p1 -n yaml-mode-%{version}
%build
%make_build
%install
install -d %{buildroot}%{_emacs_sitelispdir}
%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix}
%files
%license LICENSE.txt
%doc Changes README
%{_emacs_sitelispdir}/yaml-mode.el
%{_emacs_sitelispdir}/yaml-mode.elc
%changelog