Compare commits

...

3 Commits
i9ce ... i8e

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: MIT -->
<component type="font">
<id>org.fedoraproject.quoteunquoteapps-courier-prime-fonts</id>
<metadata_license>MIT</metadata_license>
<project_license>OFL</project_license>
<name>QuoteUnquoteApps Courier Prime</name>
<summary><![CDATA[A free, improved, classical monospaced typeface]]></summary>
<description>
<p><![CDATA[Courier Prime is a new take on IBM's Courier which was designed in 1956 by Howard Kettler.]]></p><p><![CDATA[It is a monospaced family, designed specifically for screenplays. Overall the family is more refined than its predecessor. The serifs are crisper and less rounded. The counters are subtly wider. The bold weight is a bit darker and the italics are more cursive.]]></p>
</description>
<updatecontact>fonts@lists.fedoraproject.org</updatecontact>
<url type="homepage">https://quoteunquoteapps.com/courierprime/</url>
<releases>
<release version="3.018-1.20240216git7fd585a.el9" date="2020-11-02"/>
</releases>
<provides>
<font>Courier Prime Bold Italic</font>
<font>Courier Prime Bold</font>
<font>Courier Prime Italic</font>
<font>Courier Prime Regular</font>
</provides>
<languages>
<lang>aa</lang>
<lang>an</lang>
<lang>ay</lang>
<lang>bi</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>gd</lang>
<lang>gl</lang>
<lang>gv</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>io</lang>
<lang>is</lang>
<lang>it</lang>
<lang>jv</lang>
<lang>ki</lang>
<lang>kj</lang>
<lang>ku-tr</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>ny</lang>
<lang>oc</lang>
<lang>om</lang>
<lang>pap-an</lang>
<lang>pap-aw</lang>
<lang>pl</lang>
<lang>pt</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>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>tr</lang>
<lang>ts</lang>
<lang>uz</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,40 +1,48 @@
# SPDX-License-Identifier: MIT
%global forgeurl https://github.com/quoteunquoteapps/CourierPrime
%global commit 7fd585a2dd4c1612c79b3308e300923d1c13df93
%forgemeta
# Fix text files produced on other systems. Arguments
# -e <encoding> source OS encoding
# -n do not recode files, only adjust folding and end of lines
%define linuxtext(e:n) %{expand:
for textfile in %* ; do
%{!-n:
iconv -f %{-e*}%{!-e:$(uchardet "${textfile}")} -t UTF-8 -o "${textfile}.tmp" "${textfile}"
touch -r "${textfile}" "${textfile}.tmp"
mv "${textfile}.tmp" "${textfile}"
}
fold -s "${textfile}" > "${textfile}.tmp"
LANG=C LC_ALL=C sed -e 's/\\r$// ; 1 s/^\\xef\\xbb\\xbf//' -i "${textfile}.tmp"
touch -r "${textfile}" "${textfile}.tmp"
mv "${textfile}.tmp" "${textfile}"
chmod 0644 "${textfile}"
done
}
%define debug_package %{nil}
BuildArch: noarch
Version: 3.018
Release: 1%{?dist}
Release: 1%{?dist}.1
Name: quoteunquoteapps-courier-prime-fonts
URL: https://quoteunquoteapps.com/courierprime/
License: OFL
Summary: A free, improved, classical monospaced typeface
Source0: CourierPrime-7fd585a2dd4c1612c79b3308e300923d1c13df93.tar.gz
Source10: 61-%{name}.conf
Source11: org.fedoraproject.%{name}.metainfo.xml
BuildRequires: uchardet
Requires: fontpackages-filesystem
%global foundry QuoteUnquoteApps
%global fontlicense OFL
%global fontlicenses OFL.txt
%global fontdocs *txt *md
%global fontdocsex %{fontlicenses} requirements.txt
%global fontfamily Courier Prime
%global fontsummary A free, improved, classical monospaced typeface
%global fonts fonts/ttf/*ttf
%global fontconfs %{SOURCE10}
%global fontpkgheader %{expand:
Provides: courier-prime-fonts
Obsoletes: courier-prime-fonts < %{version}-%{release}
}
%global fontdescription %{expand:
%description
Courier Prime is a new take on IBM's Courier which was designed in 1956
by Howard Kettler.
It is a monospaced family, designed specifically for screenplays. Overall
the family is more refined than its predecessor. The serifs are crisper
and less rounded. The counters are subtly wider. The bold weight is a
bit darker and the italics are more cursive.}
Source0: %{forgesource}
Source10: 61-%{fontpkgname}.conf
%fontpkg
bit darker and the italics are more cursive.
%package doc
Summary: Optional documentation files of %{name}
@ -44,24 +52,45 @@ This package provides optional documentation files shippend with
%{name}.
%prep
%forgesetup
%setup -n CourierPrime-7fd585a2dd4c1612c79b3308e300923d1c13df93
%linuxtext *.txt
%build
%fontbuild
# nothing to do here
%install
%fontinstall
install -m 0755 -d %{buildroot}/etc/fonts/conf.d/
install -m 0755 -d %{buildroot}/usr/share/fontconfig/conf.avail/
install -m 0755 -d %{buildroot}/usr/share/fonts/%{name}/
install -m 0755 -d %{buildroot}/usr/share/metainfo/
install -m 0644 -t %{buildroot}/usr/share/fontconfig/conf.avail/ %{SOURCE10}
ln -sr %{buildroot}%{_datadir}/fontconfig/conf.avail/61-%{name}.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/61-%{name}.conf
install -m 0644 fonts/ttf/*.ttf %{buildroot}/usr/share/fonts/%{name}/
%check
%fontcheck
install -m 0644 -t %{buildroot}/usr/share/metainfo/ %{SOURCE11}
%fontfiles
%files
%config %{_sysconfdir}/fonts/conf.d/61-%{name}.conf
%{_datadir}/fontconfig/conf.avail/61-%{name}.conf
%{_datadir}/fonts/%{name}/*.ttf
%{_datadir}/metainfo/org.fedoraproject.%{name}.metainfo.xml
%doc AUTHORS.txt CONTRIBUTING.md README.md
%license OFL.txt
%files doc
%defattr(644, root, root, 0755)
%license OFL.txt
%changelog
* Wed Feb 21 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.018-1.1
- Bump version
* Tue Feb 20 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.018-1
- Package architecture was defined as noarch
- Rebuilt for MSVSphere 8.9
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 3.018-1
- Initial packaging

Loading…
Cancel
Save