Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91f6080f49 |
6 changed files with 104 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/adwaita-fonts-48.2.tar.xz
|
||||
16
59-adwaita-mono-fonts.conf
Normal file
16
59-adwaita-mono-fonts.conf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Adwaita Mono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Adwaita Mono</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
16
59-adwaita-sans-fonts.conf
Normal file
16
59-adwaita-sans-fonts.conf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Adwaita Sans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Adwaita Sans</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# adwaita-fonts
|
||||
|
||||
The adwaita-fonts package
|
||||
70
adwaita-fonts.spec
Normal file
70
adwaita-fonts.spec
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: meson
|
||||
BuildRequires: fonts-rpm-macros
|
||||
BuildRequires: fonts-rpm-templates
|
||||
|
||||
Version: 48.2
|
||||
Release: 2%{?dist}
|
||||
License: OFL-1.1
|
||||
URL: https://gitlab.gnome.org/GNOME/adwaita-fonts.git
|
||||
|
||||
%global foundry adwaita-fonts
|
||||
%global fontdocs README.md
|
||||
|
||||
%global common_description %{expand:
|
||||
Adwaita Fonts contains Adwaita Sans, a variation of Inter,
|
||||
and Adwaita Mono, Iosevka customized to match Inter.
|
||||
}
|
||||
|
||||
%global fontfamily1 adwaita-sans-fonts
|
||||
%global fontsummary1 Adwaita Sans font family
|
||||
%global fonts1 sans/*.ttf
|
||||
%global fontlicenses1 sans/LICENSE.md
|
||||
%global fontconfs1 %{SOURCE1}
|
||||
%global fontdescription1 %{expand:
|
||||
%{common_description}
|
||||
Adwaita Sans is a variation of the Inter font family.
|
||||
}
|
||||
|
||||
%global fontfamily2 adwaita-mono-fonts
|
||||
%global fontsummary2 Adwaita Mono font family
|
||||
%global fonts2 mono/*.ttf
|
||||
%global fontlicenses2 mono/LICENSE.md
|
||||
%global fontconfs2 %{SOURCE2}
|
||||
%global fontdescription2 %{expand:
|
||||
%{common_description}
|
||||
Adwaita Mono is a customized version of the Iosevka font, designed to match Inter.
|
||||
}
|
||||
|
||||
|
||||
Source0: https://download.gnome.org/sources/adwaita-fonts/48/adwaita-fonts-%{tarball_version}.tar.xz
|
||||
Source1: 59-adwaita-sans-fonts.conf
|
||||
Source2: 59-adwaita-mono-fonts.conf
|
||||
|
||||
Name: adwaita-fonts
|
||||
Summary: Adwaita fonts
|
||||
%description
|
||||
%wordwrap -v common_description
|
||||
|
||||
%fontpkg -a
|
||||
%fontmetapkg
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{tarball_version}
|
||||
|
||||
%build
|
||||
%fontbuild -a
|
||||
|
||||
%install
|
||||
%fontinstall -a
|
||||
|
||||
%check
|
||||
%fontcheck -a
|
||||
|
||||
%fontfiles -a
|
||||
|
||||
%changelog
|
||||
* Fri Mar 14 2025 Nieves Montero <nmontero@redhat.com> - 48.2-2
|
||||
- New package
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (adwaita-fonts-48.2.tar.xz) = 598f763b62cf3fda7585e30622acf82f4150cec137fd13940ab5a38255d53d06de1ccccd4168f18c2b09611f9a33303c92c74be0e5677378873ea8d32329ba93
|
||||
Loading…
Add table
Add a link
Reference in a new issue