From 7051698d4d309c491aea9697dd9a35bbf9b5f148 Mon Sep 17 00:00:00 2001 From: Sergey Konev Date: Wed, 16 Oct 2024 13:34:26 +0300 Subject: [PATCH] Spec and .gear/rules --- .gear/rules | 1 + typst.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 .gear/rules create mode 100644 typst.spec diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 000000000..4283c857e --- /dev/null +++ b/.gear/rules @@ -0,0 +1 @@ +tar: v@version@:. \ No newline at end of file diff --git a/typst.spec b/typst.spec new file mode 100644 index 000000000..73f7c81e5 --- /dev/null +++ b/typst.spec @@ -0,0 +1,71 @@ +Name: typst +Version: 0.11.1 +Release: alt1 + +Summary: A new markup-based typesetting system that is powerful and easy to learn. +License: Apache-2.0 +Group: Text tools +Url: https://github.com/typst/typst + +Packager: Sergey Konev + +Source: %name-%version.tar + +BuildRequires(pre): rpm-build-rust +BuildRequires: /proc +BuildRequires: rust-cargo + +BuildRequires: libssl-devel + +%description +Typst is a new markup-based typesetting system that is designed to be as powerful +as LaTeX while being much easier to learn and use. Typst has: + +- Built-in markup for the most common formatting tasks +- Flexible functions for everything else +- A tightly integrated scripting system +- Math typesetting, bibliography management, and more +- Fast compile times thanks to incremental compilation +- Friendly error messages in case something goes wrong + +%prep +%setup + +mkdir -p ./.cargo +cat >> ./.cargo/config <