From 947ffbc8c5a95b77f67553992e177791c8909884 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 26 Jun 2023 10:39:33 +0300 Subject: [PATCH] import changed/i9/ubuntu-fonts-0.83-2.el9 --- .gitignore | 1 + .ubuntu-fonts.metadata | 1 + SOURCES/ubuntu-fontconfig.conf | 26 ++++++++++++++++++ SPECS/ubuntu-fonts.spec | 49 ++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 .gitignore create mode 100644 .ubuntu-fonts.metadata create mode 100644 SOURCES/ubuntu-fontconfig.conf create mode 100644 SPECS/ubuntu-fonts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e87b555 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fad7939b-ubuntu-font-family-0.83.zip diff --git a/.ubuntu-fonts.metadata b/.ubuntu-fonts.metadata new file mode 100644 index 0000000..13f7f2a --- /dev/null +++ b/.ubuntu-fonts.metadata @@ -0,0 +1 @@ +fad7939b33af4ae9ce803b403373ff49bbf1233f SOURCES/fad7939b-ubuntu-font-family-0.83.zip diff --git a/SOURCES/ubuntu-fontconfig.conf b/SOURCES/ubuntu-fontconfig.conf new file mode 100644 index 0000000..d660f28 --- /dev/null +++ b/SOURCES/ubuntu-fontconfig.conf @@ -0,0 +1,26 @@ + + + + + + Ubuntu + + sans-serif + + + + + Ubuntu Condensed + + sans-serif + + + + + Ubuntu Mono + + monospace + + + + diff --git a/SPECS/ubuntu-fonts.spec b/SPECS/ubuntu-fonts.spec new file mode 100644 index 0000000..b06fe3a --- /dev/null +++ b/SPECS/ubuntu-fonts.spec @@ -0,0 +1,49 @@ +%global fontname ubuntu +%global fontconf 61-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 0.83 +Release: 2%{?dist} +Summary: Ubuntu font family + +License: Ubuntu Font Licence 1.0 +URL: https://font.ubuntu.com/ +Source0: https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip +Source1: %{fontname}-fontconfig.conf + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%description +The new Ubuntu Font Family was started to enable the personality of Ubuntu +to be seen and felt in every menu, button and dialog. The typeface is +sans-serif, uses OpenType features and is manually hinted for clarity on +desktop and mobile computing screens. + +%prep +%setup -q -n ubuntu-font-family-%{version} + +%build + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.ttf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + +%_font_pkg -f *-%{fontname}.conf *.ttf +%license LICENCE.txt LICENCE-FAQ.txt copyright.txt TRADEMARKS.txt +%doc CONTRIBUTING.txt FONTLOG.txt README.txt + +%changelog +* Thu Oct 29 2020 Dawid Zych - 0.83-2 +- Fix broken symlink by @upanasiuk +* Fri Jan 06 2017 Dawid Zych - 0.83-1 +- Initial packaging.