## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 0 # prevent library files from being installed %global cargo_install_lib 0 Name: typst Version: 0.14.1 Release: %autorelease Summary: A markup-based typesetting system that is powerful and easy to learn License: Apache-2.0 URL: https://github.com/typst Source: https://github.com/typst/typst/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: %{name}-%{version}-vendor.tar.xz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: pkgconfig(openssl) %global _description %{expand: 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. } %description %{_description} %files %license LICENSE %license LICENSE.images %license LICENSE.dependencies %license cargo-vendor.txt %{_bindir}/typst %prep %autosetup -n %{name}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install pushd crates/typst-cli %cargo_install popd %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Fri Dec 12 2025 John Doe - 0.14.1-1 - Uncommitted changes ## END: Generated by rpmautospec