diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2015-11-22 21:12:49 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2015-11-22 21:16:54 +0800 |
commit | 131f28b10d14166d97cafd61faf7db3b2d3d40e1 (patch) | |
tree | d410293198beafcbeb83349719d3dffdef6bcee7 /guix/emacs-dash | |
parent | 89cc580288e93680c267acf416a541e64ef59ed7 (diff) | |
download | copr-rpm-spec-131f28b10d14166d97cafd61faf7db3b2d3d40e1.tar.gz copr-rpm-spec-131f28b10d14166d97cafd61faf7db3b2d3d40e1.tar.zst copr-rpm-spec-131f28b10d14166d97cafd61faf7db3b2d3d40e1.zip |
guix: Guix 0.8.3 -> 0.9.0
Guix build dependencies:
guix -+-- guile-json (copr)
+-- gnutls-guile (official)
+-- emacs (official)
+-- emacs-geiser (copr)
+-- emacs-magit (copr) --- emacs-dash (copr)
emacs-magit package is based on the official (outdated) Fedora package.
Diffstat (limited to 'guix/emacs-dash')
-rw-r--r-- | guix/emacs-dash/emacs-dash.spec | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/guix/emacs-dash/emacs-dash.spec b/guix/emacs-dash/emacs-dash.spec new file mode 100644 index 0000000..1015179 --- /dev/null +++ b/guix/emacs-dash/emacs-dash.spec @@ -0,0 +1,64 @@ +%global pkg dash +%global pkgname Dash + +Name: emacs-%{pkg} +Version: 2.12.1 +Release: 1%{?dist} +Summary: Dash is a modern list library for Emacs + +Group: Applications/Editors +License: GPLv3+ +URL: https://github.com/magnars/dash.el +Source0: https://github.com/magnars/dash.el/archive/%{version}.tar.gz + +BuildArch: noarch +BuildRequires: emacs, texinfo +Requires: emacs(bin) >= %{_emacs_version} + +%description +%{pkgname} is an add-on package for GNU Emacs. It is a modern list library for +Emacs. No cl required. + + +%prep +%setup -q -n dash.el-%{version} + + +%build +./create-docs.sh + + +%install +mkdir -p %{buildroot}%{_emacs_sitelispdir} +install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/dash +install -m 644 dash.el dash-functional.el \ + %{buildroot}%{_emacs_sitelispdir}/dash/ +%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/dash/dash*.el +mkdir -p %{buildroot}%{_infodir} +gzip -9 < dash.info > %{buildroot}%{_infodir}/dash.info.gz + + +%post +/sbin/install-info %{_infodir}/dash.info.gz %{_infodir}/dir || : + + +%preun +if [ "$1" = 0 ]; then + /sbin/install-info --del %{_infodir}/dash.info.gz %{_infodir}/dir || : +fi + + +%files +%doc README.md +%dir %{_emacs_sitelispdir}/dash +%{_emacs_sitelispdir}/dash/dash.el +%{_emacs_sitelispdir}/dash/dash.elc +%{_emacs_sitelispdir}/dash/dash-functional.el +%{_emacs_sitelispdir}/dash/dash-functional.elc +%{_infodir}/dash.info.gz + + + +%changelog +* Sat Nov 21 2015 Ting-Wei Lan <lantw44@gmail.com> - 2.12.1-1 +- Initial packaging |