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

%define tarname yaml-mode-release
Name:		emacs-yaml-mode
Version:	0.0.10
Release:	1
Summary:	Simple major mode to edit YAML file for emacs
License:	GPL-2.0+
Group:		Development/Languages/Python
Source:		%{tarname}-%{version}.tar.gz
Patch0:		yaml-mode-destdir.patch
BuildArch:	noarch
BuildRequires:	emacs
Requires:	emacs
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

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

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

make bytecompile

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

rm -rf %{buildroot}

%doc README Changes