Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Fedora Release Engineering
14c80998d8 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:29:14 +00:00
Parag Nemade
b32ea254ce Drop 'BuildRequires: fonts-rpm-templates'
... because it's is not required to build this package.

Fallout from 0adeb7e620

https://src.fedoraproject.org/rpms/adwaita-fonts/pull-request/1

[skip changelog]
2025-11-24 23:52:48 +01:00
Debarshi Ray
f67a56da6b Silence mixed-use-of-spaces-and-tabs
Fallout from 0adeb7e620

[skip changelog]
2025-10-31 18:26:39 +01:00
Debarshi Ray
e5902f7e33 Skip %changelog entries for user-invisible changes
The Fedora 43 mass rebuild had added manual RPM %changelog entries above
%autochangelog [1], because the rebuild script got confused by the
absence of %autorelease.

Commit 02112a0307 sorted this out by removing the manual entries,
but it didn't use '[skip changelog]' [2].  Thus, future RPM builds would
have a %changelog entry for it:
  * Fri Aug 29 2025 Michael Catanzaro <mcatanzaro@redhat.com> - 49.0-3
  - Fix changelog and add %autorelease

Since commit 02112a0307 is not interesting for the user, it would
be good if it could be skipped from the RPM %changelog.  This is done by
introducing a 'changelog' file with all the previous entries that are
desired, because rpmautospec with only generate entries from Git commits
after the last change to this file [2].

Fallout from 02112a0307

[1] Commit 9870fc694d
    https://src.fedoraproject.org/rpms/adwaita-fonts/c/9870fc694dd5cac4
    https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild

[2] https://docs.pagure.org/fedora-infra.rpmautospec/autochangelog.html
    https://fedora-infra.github.io/rpmautospec-docs/autochangelog.html

[skip changelog]
2025-10-31 18:05:39 +01:00
Michael Catanzaro
02112a0307 Fix changelog and add %autorelease 2025-08-29 14:21:11 -05:00
Fedora Release Engineering
9870fc694d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:47:55 +00:00
Milan Crha
e9f0d766b3 Update to 49.0 2025-07-09 13:28:53 +02:00
nmontero
0adeb7e620 New package 2025-03-17 13:36:53 +01:00
7 changed files with 111 additions and 3 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/adwaita-fonts-*.tar.xz
/adwaita-fonts-*-build

View 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>

View 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>

View file

@ -1,3 +0,0 @@
# adwaita-fonts
The adwaita-fonts package

68
adwaita-fonts.spec Normal file
View file

@ -0,0 +1,68 @@
%global tarball_version %%(echo %{version} | tr '~' '.')
BuildArch: noarch
BuildRequires: meson
BuildRequires: fonts-rpm-macros
Version: 49.0
Release: %autorelease
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 LICENSE
%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 LICENSE
%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/49/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
%autochangelog

8
changelog Normal file
View file

@ -0,0 +1,8 @@
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 49.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jul 09 2025 Milan Crha <mcrha@redhat.com> - 49.0-1
- Update to 49.0
* Mon Mar 17 2025 nmontero <nmontero@redhat.com> - 48.2-1
- New package

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (adwaita-fonts-49.0.tar.xz) = 38c991817ad0e737bfa901d62d6366f132a77cf452d210bbf33691dc3c6c396a7ec50f75b6655bf2d16a05bc3c3d0b648057dd58b9cc65ab93234661bd547fef