Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

15 changed files with 171 additions and 22 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/liberation-fonts-2.00.3.tar.gz
liberation-fonts*.tar.gz
liberation-fonts*/

View File

@ -1 +0,0 @@
f76fbfb89e10a78cea76eed3a04d8994c211e5f9 SOURCES/liberation-fonts-2.00.3.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -14,5 +14,18 @@
<family>Arial</family>
</default>
</alias>
<!-- for ArialMT -->
<alias binding="same">
<family>ArialMT</family>
<accept>
<family>Liberation Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Liberation Sans</family>
<default>
<family>ArialMT</family>
</default>
</alias>
</fontconfig>

View File

@ -9,12 +9,12 @@ used fonts on Microsoft systems: Times New Roman, Arial, and Courier New.
Name: %{fontname}-fonts
Summary: Fonts to replace commonly used Microsoft Windows fonts
Version: 2.00.3
Release: 7%{?dist}
Version: 2.1.5
Release: 11%{?dist}
Epoch: 1
License: OFL
License: OFL-1.1-RFN
URL: https://github.com/liberationfonts/liberation-fonts
Source0: %{url}/files/2012633/%{archivename}.tar.gz
Source0: %{url}/files/7261483/%{archivename}.tar.gz
Source2: %{name}-mono.conf
Source3: %{name}-sans.conf
Source4: %{name}-serif.conf
@ -24,11 +24,13 @@ Source8: %{fontname}-sans.metainfo.xml
Source9: %{fontname}-serif.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils
BuildRequires: fontpackages-devel >= 1.13
BuildRequires: mkfontscale mkfontdir
BuildRequires: fontforge
BuildRequires: libappstream-glib
BuildRequires: python3-devel
BuildRequires: python3
BuildRequires: python3-fonttools
BuildRequires: make
Requires: %{fontname}-mono-fonts = %{epoch}:%{version}-%{release}
Requires: %{fontname}-sans-fonts = %{epoch}:%{version}-%{release}
@ -51,7 +53,7 @@ Requires: fontpackages-filesystem >= 1.13
Shared common files of Liberation font families.
%files -n %{fontname}-fonts-common
%doc AUTHORS ChangeLog README TODO
%doc AUTHORS ChangeLog README.md TODO
%license LICENSE
%{_datadir}/appdata/liberation.metainfo.xml
@ -179,33 +181,111 @@ mkfontdir %{buildroot}%{_fontdir}-serif
%check
appstream-util validate-relax --nonet \
%{buildroot}%{_datadir}/appdata/%{fontname}*.metainfo.xml
%files
%changelog
* Wed Jan 08 2020 Vishal Vijayraghavan <vvijayra@redhat.com> - 1:2.00.3-7
- Resolves: #1664501 - updated .uuid file permission in ghost macro
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:2.1.5-11
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Wed Dec 11 2019 Vishal Vijayraghavan <vvijayra@redhat.com> - 1:2.00.3-6
- Resolves: #1664501 - liberation-fonts-common contains fonts.dir
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:2.1.5-10
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Sep 25 2023 Akira TAGOH <tagoh@redhat.com> - 1:2.1.5-7
- Add a rule to use Liberation Sans as a fallback of ArialMT.
Resolves: rhbz#1490184
* Mon Aug 21 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 1:2.1.5-6
- Migrate to SPDX license expression
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Oct 06 2021 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.1.5-1
- New release of liberation-fonts 2.1.5
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 31 2021 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.1.4-1
- New release of liberation-fonts 2.1.4
* Thu Mar 04 2021 Peter Hutterer <peter.hutterer@redhat.com> 1:2.1.3-2
- Require mkfontscale and mkfontdir directly, not xorg-x11-font-utils
(#1933539)
* Mon Mar 01 2021 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.1.3-1
- New release of liberation-fonts 2.1.3
- Resolves:rh#1464310 : Tilded G not works with Liberation Sans and Serif
* Tue Feb 02 2021 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.1.2-1
- New release of liberation-fonts 2.1.2
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Feb 10 2020 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.1.0-1
- New release of liberation-fonts 2.1.0
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.00.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 13 2020 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.00.5-7
- update .uuid file permission in ghost macro
* Fri Sep 13 2019 Jens Petersen <petersen@redhat.com> - 1:2.00.5-6
- base package now pulls in subpackages (#1748803)
- improve descriptions
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.00.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 1 2019 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.00.5-4
- Updated CI test
* Mon Jun 24 2019 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.00.5-3
- Remove Obsoletes and Provides for liberation-narrow-fonts (#1707712)
- Splitted the font family(mono, sans and serif) into diferrent root font directories
* Mon Dec 02 2019 Vishal Vijayraghavan <vvijayra@redhat.com> - 1:2.00.3-5
- Resolves: #1682441 - Added CI tests
* Mon Apr 15 2019 Vishal Vijayraghavan <vishalvijayraghavan AT gmail DOT com> - 1:2.00.5-2
- Added CI Test
* Wed Oct 31 2018 Vishal vijayraghavan <vishalvijayraghavan AT gmail DOT com> - 1:2.00.3-4
- Resolves: rhbz#1643920: Removed Obsoletes: %{fontname}-narrow-fonts and Provides: %{fontname}-narrow-fonts macro
* Wed Mar 6 2019 Vishal Vijayraghavan <vishalvijayraghavan AT gmail DOT com> - 1:2.00.5-1
- New release of liberation-fonts 2.00.5
* Thu Aug 23 2018 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 1:2.00.3-3
- Resolves: rhbz#1617907: Updated License from Liberation to OFL
* Tue Dec 11 2018 Vishal Vijayraghavan <vishalvijayraghavan AT gmail DOT com> - 1:2.00.4-1
- Resolves:rh#1490184 - ArialMT fonts should be replaced by Liberation Sans (instead of default "Dejavu Sans" "Book")
- Update to 2.00.4
* Tue Aug 14 2018 Vishal Vijayraghavan <vishalvijayraghavan AT gmail DOT com> - 1:2.00.3-2
- Resolves: rhbz#1615541: BR:python3-devel
* Thu Aug 16 2018 Vishal Vijayraghavan <vishalvijayraghavan AT gmail DOT com> - 1:2.00.3-2
- Updated License from Liberation to OFL
* Wed Jul 25 2018 Vishal Vijayraghavan <vishalvijayraghavan AT gmail DOT com> - 1:2.00.3-1
- Resolves: rhbz#1614529
- Updated the BuildRequires to python3 and using latest build
- Changed the upstream URL
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.00.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Mar 17 2018 Björn Esser <besser82@fedoraproject.org> - 1:2.00.1-2
- Add proper Obsoletes/Provides for liberation-narrow-fonts

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (liberation-fonts-2.1.5.tar.gz) = 22893a4d1543428f752925366ec29e45140381603c5d03c1811253e633db5ea9dc1e2788eb678a654c523990c8b254a06de4210a67aa33bbc828ba50065cbd38

3
tests/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
tmp/
artifacts/
tests.retry

View File

@ -0,0 +1,45 @@
- hosts: localhost
vars:
config:
fontname: liberation
lang: ["en","az-az","de","el","he"]
testgiturl: https://pagure.io/font_ci_testing.git
testgitclonepath: fonttest
testfilename: fonttest.py
testfilepath: /usr/local/bin
logfilepath: /tmp/test.log
artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
tasks:
- name: Install required package
dnf:
name:
- git
- "{{ config.fontname }}-fonts"
- python3
- fontconfig
- name: git clone the tests
git:
repo: "{{ config.testgiturl }}"
dest: "{{ config.testgitclonepath }}"
force: yes
- name: Test Execution
block:
- name: Execute the tests
command: python3 {{ config.testgitclonepath }}/tests/{{ config.testfilename }} "{{ config }}"
always:
- name: Pull out the artifacts
fetch:
dest: "{{ config.artifacts }}/"
src: "{{ item }}"
flat: yes
with_items:
- "{{ config.logfilepath }}"

1
tests/tests.yml Normal file
View File

@ -0,0 +1 @@
- import_playbook: fonttest_playbook.yml