forked from pool/presenterm
Breaking changes: * Force users to explicitly enable snippet execution (#276) (#281). New features: * Code snippet execution for various programming languages (#253) (#255) (#256) (#258) (#282). * Allow executing compiled snippets in windows (#303). * Add support for hidden lines in code snippets (#283) (#254). * Support mermaid snippet rendering to image via +render attribute (#268). * Allow scaling images dynamically based on terminal size (#288) (#291). * Allow scaling images generated via +render code blocks (mermaid, typst, latex) (#290). * Show stderr output from code execution (#252). * Wait for code execution process to exit completely (#250). * Generate images in +render code snippets asynchronously (#273) (#293) (#284) (#279). * Dim non highlighted code snippet lines (#287). * Shrink snippet execution to match code block width (#286). * Include code snippet execution output in generated PDF (#295). * Cache +render block images (#270). * Add kotlin script executor (#257). * Add nushell code execution (#274) (#275). * Add rust-script as a new code executor (#269). * Allow custom themes to extend others (#265). * Allow jumping fast between slides (#244). * Allow explicitly disabling footer in certain slides (#239). * Allow using image paths in typst (#235). * Add JSON schema for validation,completion,documentation (#228) (#236). * Allow having multiple authors (#227). Fixes: * Avoid re-rendering code output and auto rendered blocks (#280). * Use unicode width to calculate execution output's line len (#261). * Display background color behind '\t' in code exec output (#245). OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=20
50 lines
1.2 KiB
RPMSpec
50 lines
1.2 KiB
RPMSpec
#
|
|
# spec file for package presenterm
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: presenterm
|
|
Version: 0.8.0+0
|
|
Release: 0
|
|
Summary: A terminal slideshow tool
|
|
License: BSD-2-Clause
|
|
URL: https://github.com/mfontanini/presenterm
|
|
Source0: %{name}-%{version}.tar.zst
|
|
Source1: vendor.tar.zst
|
|
Source2: cargo_config
|
|
BuildRequires: cargo-packaging
|
|
|
|
%description
|
|
A terminal slideshow tool.
|
|
|
|
%prep
|
|
%autosetup -p1 -a1
|
|
install -D -m 644 %{SOURCE2} .cargo/config
|
|
|
|
%build
|
|
%{cargo_build}
|
|
|
|
%install
|
|
%{cargo_install}
|
|
|
|
%check
|
|
%{cargo_test}
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|