[INF-951] adapted the spec file for 8

i8e changed/i8e/sorkintype-merriweather-sans-fonts-1.008-8.el8
Sergey Cherevko 11 months ago
parent ea5ad6615c
commit cdc681fe89
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -0,0 +1,46 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!-- SPDX-License-Identifier: MIT -->
<fontconfig>
<match target="scan">
<test name="fullname">
<string>Merriweather Sans Regular</string>
</test>
<test name="family">
<string>Merriweather Sans</string>
</test>
<test name="style">
<string>Regular</string>
</test>
<edit name="fullname" mode="prepend">
<string>Merriweather Sans</string>
</edit>
</match>
<match target="scan">
<test name="fullname">
<string>Merriweather Sans Regular</string>
</test>
<test name="family">
<string>Merriweather Sans</string>
</test>
<test name="style">
<string>Regular</string>
</test>
<edit name="fullname" mode="prepend">
<string>Merriweather Sans</string>
</edit>
</match>
<alias binding="same">
<family>Merriweather Sans</family>
<accept>
<family>sans-serif</family>
</accept>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Merriweather Sans</family>
</prefer>
</alias>
</fontconfig>

@ -0,0 +1,153 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: MIT -->
<component type="font">
<id>org.fedoraproject.sorkintype-merriweather-sans-fonts</id>
<metadata_license>MIT</metadata_license>
<project_license>OFL</project_license>
<name>SorkinType Merriweather Sans</name>
<summary><![CDATA[Merriweather Sans, a low-contrast semi-condensed sans-serif font family]]></summary>
<description>
<p><![CDATA[Merriweather Sans is a low-contrast semi-condensed sans-serif font family designed to be readable at very small sizes. Merriweather Sans is traditional in feeling despite the modern shapes it has adopted for screens. It is a companion to the serif font family Merriweather.]]></p>
</description>
<updatecontact>fonts@lists.fedoraproject.org</updatecontact>
<url type="homepage">https://github.com/SorkinType/Merriweather-Sans</url>
<releases>
<release version="1.008-8.20240220gitf36d6e1.el9" date="2023-11-22"/>
</releases>
<provides>
<font></font>
<font>Merriweather Sans Black</font>
<font>Merriweather Sans Bold Italic</font>
<font>Merriweather Sans Bold</font>
<font>Merriweather Sans Italic</font>
<font>Merriweather Sans Light Italic</font>
<font>Merriweather Sans Light</font>
<font>Merriweather Sans Regular</font>
<font>Merriweather Sans UltraBold Italic</font>
</provides>
<languages>
<lang>aa</lang>
<lang>an</lang>
<lang>ast</lang>
<lang>ay</lang>
<lang>az-az</lang>
<lang>bi</lang>
<lang>bin</lang>
<lang>br</lang>
<lang>bs</lang>
<lang>ca</lang>
<lang>ch</lang>
<lang>co</lang>
<lang>crh</lang>
<lang>cs</lang>
<lang>csb</lang>
<lang>cy</lang>
<lang>da</lang>
<lang>de</lang>
<lang>en</lang>
<lang>eo</lang>
<lang>es</lang>
<lang>et</lang>
<lang>eu</lang>
<lang>fi</lang>
<lang>fil</lang>
<lang>fj</lang>
<lang>fo</lang>
<lang>fr</lang>
<lang>fur</lang>
<lang>fy</lang>
<lang>ga</lang>
<lang>gd</lang>
<lang>gl</lang>
<lang>gn</lang>
<lang>gv</lang>
<lang>haw</lang>
<lang>ho</lang>
<lang>hr</lang>
<lang>hsb</lang>
<lang>ht</lang>
<lang>hu</lang>
<lang>ia</lang>
<lang>id</lang>
<lang>ie</lang>
<lang>ig</lang>
<lang>io</lang>
<lang>is</lang>
<lang>it</lang>
<lang>jv</lang>
<lang>ki</lang>
<lang>kj</lang>
<lang>kl</lang>
<lang>ku-tr</lang>
<lang>kw</lang>
<lang>kwm</lang>
<lang>la</lang>
<lang>lb</lang>
<lang>lg</lang>
<lang>li</lang>
<lang>lt</lang>
<lang>lv</lang>
<lang>mg</lang>
<lang>mh</lang>
<lang>ms</lang>
<lang>mt</lang>
<lang>na</lang>
<lang>nb</lang>
<lang>nds</lang>
<lang>ng</lang>
<lang>nl</lang>
<lang>nn</lang>
<lang>no</lang>
<lang>nr</lang>
<lang>nso</lang>
<lang>nv</lang>
<lang>ny</lang>
<lang>oc</lang>
<lang>om</lang>
<lang>pap-an</lang>
<lang>pap-aw</lang>
<lang>pl</lang>
<lang>pt</lang>
<lang>qu</lang>
<lang>quz</lang>
<lang>rm</lang>
<lang>rn</lang>
<lang>ro</lang>
<lang>rw</lang>
<lang>sc</lang>
<lang>se</lang>
<lang>sg</lang>
<lang>sk</lang>
<lang>sl</lang>
<lang>sm</lang>
<lang>sma</lang>
<lang>smj</lang>
<lang>smn</lang>
<lang>sn</lang>
<lang>so</lang>
<lang>sq</lang>
<lang>ss</lang>
<lang>st</lang>
<lang>su</lang>
<lang>sv</lang>
<lang>sw</lang>
<lang>tk</lang>
<lang>tl</lang>
<lang>tn</lang>
<lang>to</lang>
<lang>tr</lang>
<lang>ts</lang>
<lang>ty</lang>
<lang>uz</lang>
<lang>vi</lang>
<lang>vo</lang>
<lang>vot</lang>
<lang>wa</lang>
<lang>wen</lang>
<lang>wo</lang>
<lang>xh</lang>
<lang>yap</lang>
<lang>za</lang>
<lang>zu</lang>
</languages>
</component>

@ -1,50 +1,67 @@
# SPDX-License-Identifier: MIT
%global forgeurl https://github.com/SorkinType/Merriweather-Sans
%global commit f36d6e1eb17fd4eead50c320fc8313f5353c9f5f
%forgemeta
BuildArch: noarch
Name: sorkintype-merriweather-sans-fonts
Version: 1.008
Release: 8%{?dist}
URL: %{forgeurl}
%global foundry SorkinType
%global fontlicense OFL
%global fontlicenses OFL.txt
%global fontdocs *txt *md
%global fontdocsex %{fontlicenses}
%global fontfamily Merriweather Sans
%global fontsummary Merriweather Sans, a low-contrast semi-condensed sans-serif font family
%global fonts fonts/ttfs/*ttf fonts/variable/*.ttf
%global fontconfngs %{SOURCE10}
%global fontdescription %{expand:
URL: https://github.com/SorkinType/Merriweather-Sans
License: OFL
Summary: Merriweather Sans, a low-contrast semi-condensed sans-serif font family
Source0: Merriweather-Sans-f36d6e1eb17fd4eead50c320fc8313f5353c9f5f.tar.gz
Source10: 57-%{name}.xml
Source11: 57-%{name}.conf
Source12: org.fedoraproject.sorkintype-merriweather-sans-fonts.metainfo.xml
%description
Merriweather Sans is a low-contrast semi-condensed sans-serif font family
designed to be readable at very small sizes. Merriweather Sans is traditional
in feeling despite the modern shapes it has adopted for screens. It is a
companion to the serif font family Merriweather.}
Source0: %{forgesource}
Source10: 57-%{fontpkgname}.xml
companion to the serif font family Merriweather.
%fontpkg
%prep
%forgesetup
%setup -n Merriweather-Sans-f36d6e1eb17fd4eead50c320fc8313f5353c9f5f
%build
%fontbuild
# nothing to do here
%install
%fontinstall
install -m 0755 -d %{buildroot}/etc/fonts/conf.d/
ln -sf ../../../usr/share/fontconfig/conf.avail/57-%{name}.conf %{buildroot}/etc/fonts/conf.d/57-%{name}.conf
install -m 0755 -d %{buildroot}/usr/share/fontconfig/conf.avail/
install -m 0644 -t %{buildroot}/usr/share/fontconfig/conf.avail/ %{SOURCE11}
install -m 0755 -d %{buildroot}/usr/share/fonts/
install -m 0755 -d %{buildroot}/usr/share/fonts/%{name}/
install -m 0644 -t %{buildroot}/usr/share/fonts/%{name}/ fonts/ttfs/MerriweatherSans-Black.ttf fonts/ttfs/MerriweatherSans-Bold.ttf fonts/ttfs/MerriweatherSans-BoldItalic.ttf fonts/ttfs/MerriweatherSans-Italic.ttf
install -m 0644 -t %{buildroot}/usr/share/fonts/%{name}/ fonts/ttfs/MerriweatherSans-Light.ttf fonts/ttfs/MerriweatherSans-LightItalic.ttf fonts/ttfs/MerriweatherSans-Regular.ttf fonts/ttfs/MerriweatherSans-UltraBoldItalic.ttf
install -m 0755 -d %{buildroot}/usr/share/licenses/
install -m 0755 -d %{buildroot}/usr/share/licenses/%{name}/
install -m 0644 -t %{buildroot}/usr/share/licenses/%{name}/ OFL.txt
install -m 0755 -d %{buildroot}/usr/share/doc/%{name}
install -m 0644 -t %{buildroot}/usr/share/doc/%{name} AUTHORS.txt CONTRIBUTORS.txt README.md requirements.txt TRADEMARKS.txt
install -m 0755 -d %{buildroot}/usr/share/metainfo/
install -m 0644 -t %{buildroot}/usr/share/metainfo/ %{SOURCE12}
%check
%fontcheck
%files
%{_sysconfdir}/fonts/conf.d/57-%{name}.conf
%{_datadir}/fontconfig/conf.avail/57-%{name}.conf
%{_datadir}/fonts/%{name}/*.ttf
%{_datadir}/licenses/%{name}/OFL.txt
%{_docdir}/%{name}/*
%{_datadir}/metainfo/*.xml
%fontfiles
%changelog
* Wed Nov 22 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.008-8.gitf36d6e1
- Rebuilt for MSVSphere 9.3
* Wed Feb 21 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.008-8
- Rebuilt for MSVSphere 8.9
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.008-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

Loading…
Cancel
Save