forked from pool/consoleet-terminus-fonts
- Obsolete terminus-ttf-fonts and add 40-terminus-alias.conf.
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/consoleet-terminus-fonts?expand=0&rev=2
This commit is contained in:
parent
7cc7a6ff66
commit
bdc3fecd01
11
40-terminus-alias.conf
Normal file
11
40-terminus-alias.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>Terminus (TTF)</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Consoleet Terminus-32 Smooth</family>
|
||||||
|
<family>Consoleet Terminus-32</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 29 09:35:41 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Obsolete terminus-ttf-fonts and add 40-terminus-alias.conf.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 20 17:42:56 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Mon Sep 20 17:42:56 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -25,9 +25,11 @@ Group: System/X11/Fonts
|
|||||||
URL: https://inai.de/projects/consoleet/
|
URL: https://inai.de/projects/consoleet/
|
||||||
Source: https://inai.de/files/consoleet/consoleet-terminus-4.49.1.tar.zst
|
Source: https://inai.de/files/consoleet/consoleet-terminus-4.49.1.tar.zst
|
||||||
Source2: https://inai.de/files/consoleet/consoleet-terminus-4.49.1.tar.zst.asc
|
Source2: https://inai.de/files/consoleet/consoleet-terminus-4.49.1.tar.zst.asc
|
||||||
|
Source3: 40-terminus-alias.conf
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
BuildRequires: zstd
|
BuildRequires: zstd
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Obsoletes: terminus-ttf-fonts <= %version
|
||||||
%reconfigure_fonts_prereq
|
%reconfigure_fonts_prereq
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -41,13 +43,20 @@ tar --use=zstd --strip-components=1 -xf %SOURCE0
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p "%buildroot/%_ttfontsdir"
|
mkdir -p "%buildroot/%_ttfontsdir" "%buildroot/%_sysconfdir/fonts/conf.d" "%buildroot/%_datadir/fontconfig/conf.avail"
|
||||||
cp -av *.otf "%buildroot/%_ttfontsdir/"
|
cp -av *.otf "%buildroot/%_ttfontsdir/"
|
||||||
|
# Obsolete Terminus font variation from ax86
|
||||||
|
cp -av "%_sourcedir/40-terminus-alias.conf" "%buildroot/%_datadir/fontconfig/conf.avail"
|
||||||
|
ln -s "%_datadir/fontconfig/conf.avail/40-terminus-alias.conf" "%buildroot/%_sysconfdir/fonts/conf.d/"
|
||||||
|
|
||||||
%reconfigure_fonts_scriptlets
|
%reconfigure_fonts_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license OFL.txt
|
%license OFL.txt
|
||||||
|
%dir %_sysconfdir/fonts
|
||||||
|
%dir %_sysconfdir/fonts/conf.d
|
||||||
|
%config %_sysconfdir/fonts/conf.d/*.conf
|
||||||
%_ttfontsdir/
|
%_ttfontsdir/
|
||||||
|
%_datadir/fontconfig/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user