Compare commits

...

No commits in common. "c9-beta" and "c9s" have entirely different histories.
c9-beta ... c9s

10 changed files with 122 additions and 2 deletions

View File

@ -1 +1 @@
24c391f641a39c489f024909ab08715876e97333 SOURCES/fonts-rpm-macros-2.0.5.tar.gz
24c391f641a39c489f024909ab08715876e97333 fonts-rpm-macros-2.0.5.tar.gz

9
.gitignore vendored
View File

@ -1 +1,8 @@
SOURCES/fonts-rpm-macros-2.0.5.tar.gz
/fonts-rpm-macros-2.0.1.tar.gz
/fonts-rpm-macros-2.0.2.tar.gz
/fonts-rpm-macros-2.0.3.tar.gz
/fonts-rpm-macros-2.0.4.tar.gz
/fonts-rpm-macros-2.0.5.tar.gz
/fonts-rpm-macros-3.0.1.tar.gz
/fonts-rpm-macros-3.0.2.tar.gz
/fonts-rpm-macros-3.0.3.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# fonts-rpm-macros
rpm macros, templates and documentation for the packaging of fonts in Fedora. Technical core of Fedoras fonts packaging guidelines

7
gating.yaml Normal file
View File

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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (fonts-rpm-macros-2.0.5.tar.gz) = f3cb2a85c982100d001d905306868c05061a585e8b4ebb95062e9ddbee257b2b75318c1d1616cc37baa3b6644ba8e6712fb63566b1d04606013c13ac64d068f6

3
tests/basic/subpkgs Normal file
View File

@ -0,0 +1,3 @@
vl-gothic-fonts-1-1.noarch
vl-pgothic-fonts-1-1.noarch
vl-gothic-fonts-all-1-1.noarch

11
tests/basic/test.sh Executable file
View File

@ -0,0 +1,11 @@
#! /bin/sh
err=0
echo "" > test.log
if cmp subpkgs <(rpmspec -q test.spec) > /dev/null 2>&1; then
echo PASS subpkgs
else
echo FAIL subpkgs
false
fi

76
tests/basic/test.spec Normal file
View File

@ -0,0 +1,76 @@
Version: 1
Release: 1
URL: http://dicey.org/vlgothic
%global foundry VL
%global fontlicense mplus and BSD
%global fontlicenses LICENSE*
#%%global fontlicensesex
%global fontdocs README*
%global fontdocsex %{fontlicenses}
%global common_description %{expand:
VLGothic provides Japanese TrueType fonts from the Vine Linux project.
Most of the glyphs are taken from the M+ and Sazanami Gothic fonts,
but some have also been improved by the project.
}
%global fontfamily0 VL Gothic
%global fontsummary0 Japanese TrueType font
%global fontpkgheader0 %{expand:
Obsoletes: vlgothic-fonts < %{version}-%{release}
Provides: vlgothic-fonts = %{version}-%{release}
}
%global fonts0 VL-Gothic-Regular.ttf
#%%global fontsex0
%global fontconfs0 %{SOURCE1}
#%%global fontconfsex0
#%%global fontappstream0 %{SOURCE3}
#%%global fontappstreamex0
%global fontdescription0 %{expand:
%{common_description}
This package provides the monospace VLGothic font.
}
%global fontfamily1 VL PGothic
%global fontsummary1 Proportional Japanese TrueType font
%global fontpkgheader1 %{expand:
Obsoletes: vlgothic-p-fonts < %{version}-%{release}
Provides: vlgothic-p-fonts = %{version}-%{release}
}
%global fonts1 VL-PGothic-Regular.ttf
#%%global fontsex1
%global fontconfs1 %{SOURCE2}
#%%global fontconfsex1
#%%global fontappstream1 %{SOURCE4}
#%%global fontappstreamex1
%global fontdescription1 %{expand:
%{common_description}
This package provides the monospace VLGothic font.
}
Source0: https://ja.osdn.net/projects/vlgothic/downloads/73361/VLGothic-%{version}.tar.xz
Source1: 65-3-%{fontpkgname0}.conf
Source2: 65-2-%{fontpkgname1}.conf
%fontpkg -a
%fontmetapkg
%prep
%setup -q -n VLGothic
%build
%fontbuild -a
%install
%fontinstall -a
%check
%fontcheck -a
%fontfiles -a
%changelog

12
tests/tests.yml Normal file
View File

@ -0,0 +1,12 @@
- hosts: localhost
become: yes
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- fonts-rpm-macros
- rpm-build
tests:
- basic:
run: ./test.sh