forked from claaj/typst-copr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypst.spec
57 lines (35 loc) · 1.16 KB
/
typst.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Name: typst
Version: 0.13.0
Release: 1
Summary: A new markup-based typesetting system that is powerful and easy to learn.
License: Apache-2.0
URL: https://github.com/typst/typst
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
%global debug_package %{nil}
BuildRequires: rust-packaging
BuildRequires: openssl
BuildRequires: openssl-libs
BuildRequires: perl
%description
A new markup-based typesetting system that is powerful and easy to learn.
%prep
%autosetup
%build
cargo build -p typst-cli --release --all-features --locked
%install
install -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 target/release/typst %{buildroot}%{_bindir}/%{name}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog
* Thu Feb 20 2025 Ernesto Martínez <me@ecomaikgolf.com>
- typst 0.13.0
* Mon Oct 21 2024 Ernesto Martínez <me@ecomaikgolf.com>
- Rollback rhel-based build support
- Undefine debug_package macro
* Mon Oct 21 2024 Ernesto Martínez <me@ecomaikgolf.com>
- Added rhel-based build support
* Mon Oct 21 2024 Ernesto Martínez <me@ecomaikgolf.com>
- Removed autorelease and autochangelog due to RHEL 8,9 and OpenSUSE builds