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

Name:           emacs-dash
Version:        2.12.1
Release:        0
Summary:        A modern list library for Emacs
License:        GPL-3.0+
Group:          Productivity/Editors/Emacs
BuildRequires:  emacs-nox
BuildRequires:  make
Requires:       emacs
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

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

%setup -q -n dash.el-%{version}

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


install -d %{buildroot}/%{_datadir}/emacs/site-lisp/
install -m 644 *.el *.elc %{buildroot}/%{_datadir}/emacs/site-lisp/