%global pkg geiser-guile %global pkgname Geiser-Guile Name: emacs-%{pkg} Version: 0.28.3 Release: 1%{?dist} Summary: Support for Guile in Geiser License: BSD URL: https://nongnu.org/geiser Source0: https://gitlab.com/emacs-geiser/guile/-/archive/%{version}/guile-%{version}.tar.gz#/%{pkg}-%{version}.tar.gz # Use guile3.0 instead of guile because Guile 2.0 support has been dropped. Patch0: emacs-geiser-guile-default-guile-3.0.patch BuildArch: noarch BuildRequires: texinfo BuildRequires: emacs BuildRequires: emacs-geiser >= 0.13 Requires: emacs(bin) >= %{_emacs_version} Requires: emacs-geiser >= 0.13 Requires(post): info Requires(preun): info Suggests: guile30 %description %{pkgname} is an add-on package for GNU Emacs. It provides support for using GNU Guile in Emacs with Geiser. %prep %autosetup -n guile-%{version} -p1 %build makeinfo --no-split geiser-guile.texi %install install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/geiser install -m 644 *.el %{buildroot}%{_emacs_sitelispdir}/geiser/ %{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/geiser/*.el install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/geiser/src/geiser install -m 644 src/geiser/*.scm %{buildroot}%{_emacs_sitelispdir}/geiser/src/geiser/ install -m 755 -d %{buildroot}%{_infodir} gzip -9 < geiser-guile.info > %{buildroot}%{_infodir}/geiser-guile.info.gz %post /sbin/install-info %{_infodir}/geiser-guile.info.gz %{_infodir}/dir || : %preun if [ "$1" = 0 ]; then /sbin/install-info --del %{_infodir}/geiser-guile.info.gz %{_infodir}/dir || : fi %files %license license %doc readme.org %{_emacs_sitelispdir}/geiser/geiser-guile.el %{_emacs_sitelispdir}/geiser/geiser-guile.elc %dir %{_emacs_sitelispdir}/geiser/src/geiser %{_emacs_sitelispdir}/geiser/src/geiser/*.scm %{_infodir}/geiser-guile.info.gz %changelog * Sat Nov 02 2024 Ting-Wei Lan - 0.28.3-1 - Update to 0.28.3 * Wed Apr 19 2023 Ting-Wei Lan - 0.28.1-2 - Rebuilt for Fedora 38 and 39 * Sun Feb 12 2023 Ting-Wei Lan - 0.28.1-1 - Update to 0.28.1 - Switch to Guile 3.0 * Sat Oct 29 2022 Ting-Wei Lan - 0.23.2-2 - Rebuilt for Fedora 37 and 38 * Thu Apr 28 2022 Ting-Wei Lan - 0.23.2-1 - Update to 0.23.2 * Sat Sep 25 2021 Ting-Wei Lan - 0.17-2 - Rebuilt for Fedora 35 and 36 * Mon Jun 14 2021 Ting-Wei Lan - 0.17-1 - Initial packaging