add gnu-freefont.metainfo.xml

This commit is contained in:
Than Ngo 2021-01-12 21:46:04 +01:00
parent f62e1b6cff
commit 9e09cce2ec
2 changed files with 23 additions and 0 deletions

18
gnu-freefont.metainfo.xml Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2020 Tom Callaway <spot AT fedoraproject DOT org> -->
<component type="font">
<id>gnu-freefont</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>GNU Free font</name>
<summary>A Unicode font, with rather wide coverage</summary>
<description>
<p>
The package provides a set of outline (i.e. OpenType) fonts covering
as much as possible of the Unicode character set. The set consists of
three typefaces: one monospaced and two proportional (one with uniform
and one with modulated stroke).
</p>
</description>
<updatecontact>spotrh_at_gmail_dot_com</updatecontact>
<url type="homepage">https://ctan.org/pkg/gnu-freefont</url>
</component>

View File

@ -94,6 +94,7 @@ Source1: macros.texlive
Source2: texlive-licenses.tar.xz
Source3: http://ctan.math.illinois.edu/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
Source4: generate-fmtutilcnf
Source5: gnu-freefont.metainfo.xml
Source28: http://ctan.math.illinois.edu/systems/texlive/tlnet/archive/attachfile2.doc.tar.xz
Source29: http://ctan.math.illinois.edu/systems/texlive/tlnet/archive/attachfile2.tar.xz
Source0100: http://ctan.math.illinois.edu/systems/texlive/tlnet/archive/ae.tar.xz
@ -25494,6 +25495,10 @@ pushd %{buildroot}%{_datadir}/fonts
ln -s ../texlive/texmf-dist/fonts/opentype/public/gnu-freefont .
popd
# install AppStream metadata
mkdir -p %{buildroot}%{_datadir}/appdata/
install -m 644 %{SOURCE5} %{buildroot}%{_datadir}/appdata/
# SCRIPTLETS
%pretrans base -p <lua>
path = "/usr/share/texmf"