63 lines
2.2 KiB
RPMSpec
63 lines
2.2 KiB
RPMSpec
|
#
|
||
|
# spec file for package tectonic
|
||
|
#
|
||
|
# Copyright (c) 2022 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: tectonic
|
||
|
Version: 0.9.0
|
||
|
Release: 0
|
||
|
Summary: Modernized self-contained TeX and LaTeX engine
|
||
|
License: (Apache-2.0 OR MIT) AND BSD-3-Clause ) AND ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT ) AND ( MIT OR Apache-2.0 AND BSD-2-Clause ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND WTFPL
|
||
|
Group: Productivity/Publishing/TeX/Utilities
|
||
|
URL: https://tectonic-typesetting.github.io
|
||
|
Source0: %{name}-%{version}.tar.gz
|
||
|
Source1: vendor.tar.gz
|
||
|
Source2: cargo_config
|
||
|
BuildRequires: c++_compiler
|
||
|
BuildRequires: c_compiler
|
||
|
BuildRequires: cargo-packaging
|
||
|
BuildRequires: pkg-config
|
||
|
BuildRequires: pkgconfig(fontconfig)
|
||
|
BuildRequires: pkgconfig(freetype2)
|
||
|
BuildRequires: pkgconfig(harfbuzz)
|
||
|
BuildRequires: pkgconfig(icu-uc)
|
||
|
BuildRequires: pkgconfig(libpng)
|
||
|
BuildRequires: pkgconfig(openssl)
|
||
|
BuildRequires: pkgconfig(zlib)
|
||
|
ExclusiveArch: %{rust_arches}
|
||
|
|
||
|
%description
|
||
|
Tectonic is a complete self-contained TeX/LaTeX engine powered by
|
||
|
XeTeX and TeXLive.
|
||
|
|
||
|
%prep
|
||
|
%autosetup -a1
|
||
|
mkdir -p .cargo
|
||
|
cp %{SOURCE2} .cargo/config
|
||
|
|
||
|
%build
|
||
|
%{cargo_build} --features external-harfbuzz
|
||
|
|
||
|
%install
|
||
|
%{cargo_install} --features external-harfbuzz
|
||
|
|
||
|
%files
|
||
|
%{_bindir}/tectonic
|
||
|
%license LICENSE
|
||
|
%doc README.md
|
||
|
|
||
|
%changelog
|