File emacs-dash.spec of Package emacs-dash

#
# spec file for package emacs-dash
#
# Copyright (c) 2016 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-dash
Version:        2.19.1
Release:        0
Summary:        A modern list library for Emacs
License:        GPL-3.0-or-later
Url:            https://github.com/magnars/dash.el
Source0:        %{url}/archive/%{version}.tar.gz
BuildRequires:  emacs-nox
BuildRequires:  make
Requires:       emacs
BuildArch:      noarch

%description
Dash is a modern list API for Emacs that requires no "cl".

%prep
%autosetup -n dash.el-%{version}

%build
emacs -L . --batch -f batch-byte-compile *.el

%install
install -d %{buildroot}%{_emacs_sitelispdir}
install -m0644 *.el *.elc %{buildroot}%{_emacs_sitelispdir}

%files
%license LICENSE
%doc README.md NEWS.md
%{_emacs_sitelispdir}/dash*.el
%{_emacs_sitelispdir}/dash*.elc

%changelog
openSUSE Build Service is sponsored by