From 91f6080f49f3b665a4cf7a08cb5e95505839b169 Mon Sep 17 00:00:00 2001 From: nmontero Date: Mon, 17 Mar 2025 13:36:53 +0100 Subject: [PATCH] New package --- .gitignore | 1 + 59-adwaita-mono-fonts.conf | 16 +++++++++ 59-adwaita-sans-fonts.conf | 16 +++++++++ README.md | 3 -- adwaita-fonts.spec | 70 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 6 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 59-adwaita-mono-fonts.conf create mode 100644 59-adwaita-sans-fonts.conf delete mode 100644 README.md create mode 100644 adwaita-fonts.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da287b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/adwaita-fonts-48.2.tar.xz diff --git a/59-adwaita-mono-fonts.conf b/59-adwaita-mono-fonts.conf new file mode 100644 index 0000000..502181d --- /dev/null +++ b/59-adwaita-mono-fonts.conf @@ -0,0 +1,16 @@ + + + + + monospace + + Adwaita Mono + + + + Adwaita Mono + + monospace + + + \ No newline at end of file diff --git a/59-adwaita-sans-fonts.conf b/59-adwaita-sans-fonts.conf new file mode 100644 index 0000000..b8c991b --- /dev/null +++ b/59-adwaita-sans-fonts.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Adwaita Sans + + + + Adwaita Sans + + sans-serif + + + \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 8a669b2..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# adwaita-fonts - -The adwaita-fonts package diff --git a/adwaita-fonts.spec b/adwaita-fonts.spec new file mode 100644 index 0000000..1f07a8b --- /dev/null +++ b/adwaita-fonts.spec @@ -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 - 48.2-2 +- New package diff --git a/sources b/sources new file mode 100644 index 0000000..6287590 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (adwaita-fonts-48.2.tar.xz) = 598f763b62cf3fda7585e30622acf82f4150cec137fd13940ab5a38255d53d06de1ccccd4168f18c2b09611f9a33303c92c74be0e5677378873ea8d32329ba93