%define mver 2.0 Name: skribilo Version: 0.9.5 Release: 1%{?dist} Summary: A free document production tool License: GPL-3.0-or-later URL: https://www.nongnu.org/%{name} Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz Source1: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/3CE464558A84FDC69DB40CFB090B11993D9AEBB5 BuildRequires: emacs BuildRequires: gettext-devel BuildRequires: glibc-devel BuildRequires: guile-devel BuildRequires: guile-reader-devel BuildRequires: ImageMagick-devel BuildRequires: lout BuildRequires: make BuildRequires: texlive BuildRequires: texlive-collection-context BuildRequires: gnupg2 BuildArch: noarch Requires: lomt-junction-fonts Requires: linux-libertine-biolinum-fonts Requires: linux-libertine-fonts Requires: source-foundry-hack-fonts Requires: texlive-lobster2 %description Skribilo is a free document production tool that takes a structured document representation as its input and renders that document in a variety of output formats: HTML and Info for on-line browsing, and Lout and LaTeX for high-quality hard copies. The input document can use Skribilo's markup language to provide information about the document's structure, which is similar to HTML or LaTeX and does not require expertise. Alternatively, it can use a simpler, “markup-less” format that borrows from Emacs' outline mode and from other conventions used in emails, Usenet and text. Last but not least, Skribilo can be thought of as a complete document programming framework for the Scheme programming language that may be used to automate a variety of document generation tasks. Technically, the Skribilo language/API is an embedded domain-specific language (EDSL), implemented via so-called “deep embedding”. Skribilo uses GNU Guile 3.0 or 2.x as the underlying Scheme implementation. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %configure --with-guilemoduledir=%{_datadir}/guile/site/%{mver} %make_build %install %make_install # Replace absolute links with relative links rm %{buildroot}%{_infodir}/*.png for i in %{buildroot}%{_docdir}/%{name}/*.png; do \ (cd %{buildroot}%{_infodir}; \ ln -s -r "$i" . ); \ done %check make check %files %license COPYING %doc README %doc README.Skribe %doc NEWS %doc ChangeLog %doc ChangeLog.Skribe %doc THANKS %doc AUTHORS %{_bindir}/%{name} %{_bindir}/%{name}-config %{_datadir}/locale/da/LC_MESSAGES/*.mo %{_datadir}/locale/es/LC_MESSAGES/*.mo %{_datadir}/locale/fr/LC_MESSAGES/*.mo %{_datadir}/locale/fur/LC_MESSAGES/*.mo %{_datadir}/locale/hu/LC_MESSAGES/*.mo %{_datadir}/locale/pt_BR/LC_MESSAGES/*.mo %{_datadir}/locale/sr/LC_MESSAGES/*.mo %{_datadir}/locale/sv/LC_MESSAGES/*.mo %{_datadir}/locale/uk/LC_MESSAGES/*.mo %dir %{_datadir}/guile %dir %{_datadir}/guile/site %dir %{_datadir}/guile/site/%{mver} %{_datadir}/guile/site/%{mver}/diff.scm %{_datadir}/guile/site/%{mver}/%{name}.scm %dir %{_datadir}/guile/site/%{mver}/%{name} %{_datadir}/guile/site/%{mver}/%{name}/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/biblio %{_datadir}/guile/site/%{mver}/%{name}/biblio/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/package %{_datadir}/guile/site/%{mver}/%{name}/package/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/package/slide %{_datadir}/guile/site/%{mver}/%{name}/package/slide/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/documentation %{_datadir}/guile/site/%{mver}/%{name}/documentation/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/package/eq %{_datadir}/guile/site/%{mver}/%{name}/package/eq/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/engine %{_datadir}/guile/site/%{mver}/%{name}/engine/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/package/pie %{_datadir}/guile/site/%{mver}/%{name}/package/pie/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/utils %{_datadir}/guile/site/%{mver}/%{name}/utils/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/reader %{_datadir}/guile/site/%{mver}/%{name}/reader/*.scm %dir %{_datadir}/guile/site/%{mver}/%{name}/source %{_datadir}/guile/site/%{mver}/%{name}/source/*.scm %dir %{_docdir}/%{name}/static %{_docdir}/%{name}/static/*.css %{_docdir}/%{name}/static/*.png %{_docdir}/%{name}/*.png %{_docdir}/%{name}/*.html %exclude %{_docdir}/%{name}/*.pdf %{_docdir}/%{name}/*.sui # Junction fonts # https://packages.fedoraproject.org/pkgs/lomt-junction-fonts/lomt-junction-fonts %exclude %{_docdir}/%{name}/junction.ttf # lobster fonts have been orphaned # https://src.fedoraproject.org/rpms/impallari-lobster-fonts # Though bundled with TexLive # https://packages.fedoraproject.org/pkgs/texlive/texlive-lobster2/ %exclude %{_docdir}/%{name}/lobster-1.4.otf # Hack-Regular # https://src.fedoraproject.org/rpms/source-foundry-hack-fonts %exclude %{_docdir}/%{name}/static/Hack-Regular.ttf # LinBiolinum_Rah # https://packages.fedoraproject.org/pkgs/linux-libertine-fonts/linux-libertine-biolinum-fonts %exclude %{_docdir}/%{name}/static/LinBiolinum_Rah.ttf # LinLibertine_Rah # https://packages.fedoraproject.org/pkgs/linux-libertine-fonts/linux-libertine-fonts/ %exclude %{_docdir}/%{name}/static/LinLibertine_Rah.ttf %{_mandir}/man1/%{name}.1.gz %{_datadir}/emacs/site-lisp/skribe.el %{_libdir}/guile/%{mver}/site-ccache/diff.go %{_libdir}/guile/%{mver}/site-ccache/%{name}.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name} %{_libdir}/guile/%{mver}/site-ccache/%{name}/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/biblio %{_libdir}/guile/%{mver}/site-ccache/%{name}/biblio/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/documentation %{_libdir}/guile/%{mver}/site-ccache/%{name}/documentation/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/engine %{_libdir}/guile/%{mver}/site-ccache/%{name}/engine/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/package %{_libdir}/guile/%{mver}/site-ccache/%{name}/package/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/package/eq %{_libdir}/guile/%{mver}/site-ccache/%{name}/package/eq/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/package/pie %{_libdir}/guile/%{mver}/site-ccache/%{name}/package/pie/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/package/slide %{_libdir}/guile/%{mver}/site-ccache/%{name}/package/slide/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/reader %{_libdir}/guile/%{mver}/site-ccache/%{name}/reader/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/source %{_libdir}/guile/%{mver}/site-ccache/%{name}/source/*.go %dir %{_libdir}/guile/%{mver}/site-ccache/%{name}/utils %{_libdir}/guile/%{mver}/site-ccache/%{name}/utils/*.go %{_infodir}/*.png.gz %{_infodir}/%{name}.info.gz %changelog * Wed Jun 28 2023 Benson Muite - 0.9.5-1 - Initial packaging