mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-24 20:41:50 +00:00
fix: prefix Source Han packages with adobe (#13295)
This commit is contained in:
+4
-4
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
%global ver 2.005R
|
||||
|
||||
Name: source-han-sans-fonts
|
||||
Name: adobe-source-han-sans-fonts
|
||||
Version: %(echo %ver | sed -E 's/R$//')
|
||||
Release: 1%?dist
|
||||
Summary: Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
|
||||
@@ -27,10 +27,10 @@ This package ships the Static OTC versions.
|
||||
%dnl Parameterized macros cannot be defined using `%global`. Guess I'm today years old. — mado
|
||||
%dnl ╭── %define fpkg(vhs)
|
||||
%define fpkg(vhs) \
|
||||
%package -n source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%package -n adobe-source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
Summary: %name: %{-h:half-width }%{-v:variable }%{-s:subset }%{upper:%1} font files \
|
||||
\
|
||||
%description -n source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%description -n adobe-source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
This package provides a specific font type of %name. \
|
||||
%{-v:VF: variable font: Variable font weights are supported. \
|
||||
}%{-h:HW: half-width: some proportional punctuations are turned into half-width. \
|
||||
@@ -39,7 +39,7 @@ https://github.com/adobe-fonts/source-han-sans/blob/release/SourceHanSansReadMe.
|
||||
}%{-s:Subset: The fonts are split into regional-specific subset fonts. \
|
||||
} \
|
||||
\
|
||||
%files -n source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%files -n adobe-source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%license LICENSE.txt
|
||||
%dnl ╰── %define fpkg(vhs)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "source-han-sans-fonts.spec"
|
||||
spec = "adobe-source-han-sans-fonts.spec"
|
||||
}
|
||||
labels {
|
||||
weekly = 6
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
%global ver 2.003R
|
||||
|
||||
Name: source-han-serif-fonts
|
||||
Name: adobe-source-han-serif-fonts
|
||||
Version: %(echo %ver | sed -E 's/R$//')
|
||||
Release: 1%?dist
|
||||
Summary: Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조
|
||||
@@ -27,10 +27,10 @@ This package ships the Static OTC versions.
|
||||
%dnl Parameterized macros cannot be defined using `%global`. Guess I'm today years old. — mado
|
||||
%dnl ╭── %define fpkg(vhs)
|
||||
%define fpkg(vhs) \
|
||||
%package -n source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%package -n adobe-source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
Summary: %name: %{-h:half-width }%{-v:variable }%{-s:subset }%{upper:%1} font files \
|
||||
\
|
||||
%description -n source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%description -n adobe-source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
This package provides a specific font type of %name. \
|
||||
%{-v:VF: variable font: Variable font weights are supported. \
|
||||
}%{-h:HW: half-width: some proportional punctuations are turned into half-width. \
|
||||
@@ -39,7 +39,7 @@ https://github.com/adobe-fonts/source-han-sans/blob/release/SourceHanSansReadMe.
|
||||
}%{-s:Subset: The fonts are split into regional-specific subset fonts. \
|
||||
} \
|
||||
\
|
||||
%files -n source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%files -n adobe-source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \
|
||||
%license LICENSE.txt
|
||||
%dnl ╰── %define fpkg(vhs)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "source-han-serif-fonts.spec"
|
||||
spec = "adobe-source-han-serif-fonts.spec"
|
||||
}
|
||||
labels {
|
||||
weekly = 6
|
||||
Reference in New Issue
Block a user