fixup! [INF-951] adapted the spec file for 8

i8e changed/i8e/sorkintype-merriweather-sans-fonts-1.008-8.20240109gitf36d6e1.el8
Sergey Cherevko 10 months ago
parent cdc681fe89
commit fe4e2d5346
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -1,12 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- SPDX-License-Identifier: MIT -->
<fontconfig>
<group>
<target>Merriweather Sans</target>
<like>
<family>sans-serif</family>
</like>
</group>
</fontconfig>

@ -2,15 +2,16 @@ BuildArch: noarch
Name: sorkintype-merriweather-sans-fonts
Version: 1.008
Release: 8%{?dist}
Release: 8.20240109gitf36d6e1%{?dist}
URL: https://github.com/SorkinType/Merriweather-Sans
License: OFL
Summary: Merriweather Sans, a low-contrast semi-condensed sans-serif font family
Requires: fontpackages-filesystem
Source0: Merriweather-Sans-f36d6e1eb17fd4eead50c320fc8313f5353c9f5f.tar.gz
Source10: 57-%{name}.xml
Source11: 57-%{name}.conf
Source12: org.fedoraproject.sorkintype-merriweather-sans-fonts.metainfo.xml
Source10: 57-%{name}.conf
Source11: org.fedoraproject.sorkintype-merriweather-sans-fonts.metainfo.xml
%description
Merriweather Sans is a low-contrast semi-condensed sans-serif font family
@ -20,7 +21,7 @@ companion to the serif font family Merriweather.
%prep
%setup -n Merriweather-Sans-f36d6e1eb17fd4eead50c320fc8313f5353c9f5f
%autosetup -n Merriweather-Sans-f36d6e1eb17fd4eead50c320fc8313f5353c9f5f
%build
@ -28,39 +29,30 @@ companion to the serif font family Merriweather.
%install
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}%{_datadir}/fonts/%{name}
install -m 0755 -d %{buildroot}%{_sysconfdir}/fonts/conf.d
install -m 0755 -d %{buildroot}%{_datadir}/fontconfig/conf.avail
install -m 0755 -d %{buildroot}%{_datadir}/metainfo
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 0644 -t %{buildroot}%{_datadir}/fontconfig/conf.avail/ %{SOURCE10}
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
ln -sr %{buildroot}%{_datadir}/fontconfig/conf.avail/* %{buildroot}%{_sysconfdir}/fonts/conf.d/
install -m 0755 -d %{buildroot}/usr/share/metainfo/
install -m 0644 -t %{buildroot}/usr/share/metainfo/ %{SOURCE12}
cp fonts/ttfs/*.ttf fonts/variable/*.ttf %{buildroot}%{_datadir}/fonts/%{name}
install -m 0644 -t %{buildroot}%{_datadir}/metainfo/ %{SOURCE11}
%files
%{_sysconfdir}/fonts/conf.d/57-%{name}.conf
%config %{_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}/*
%license OFL.txt
%doc README.md AUTHORS.txt CONTRIBUTORS.txt TRADEMARKS.txt
%{_datadir}/metainfo/*.xml
%changelog
* Wed Feb 21 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.008-8
* Wed Feb 21 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.008-8.20240109gitf36d6e1
- Rebuilt for MSVSphere 8.9
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.008-8

Loading…
Cancel
Save