mirror of
https://codeberg.org/hyperreal/better_fonts
synced 2024-11-01 08:33:08 +01:00
60 lines
1.6 KiB
RPMSpec
60 lines
1.6 KiB
RPMSpec
%global fontname gelasio
|
|
%global fontconf 62-%{fontname}.conf
|
|
|
|
Name: %{fontname}-fonts
|
|
Version: 1.006
|
|
Release: 1%{?dist}
|
|
Summary: Gelasio serif family by Eben Sorkin
|
|
|
|
Group: User Interface/X
|
|
License: OFL
|
|
URL: https://github.com/SorkinType/Gelasio
|
|
Source0: %{name}-%{version}.tar.xz
|
|
Source1: %{fontname}-fontconfig.conf
|
|
Source2: get-%{fontname}.sh
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: fontpackages-devel
|
|
Requires: fontpackages-filesystem
|
|
|
|
%description
|
|
Gelasio is designed to be metrics compatible with Georgia. Gelasio is
|
|
a "Reale" or Transitional design with many style cues coming from the
|
|
period immediately after the Romain du Roi type was introduced. Despite
|
|
sharing common letter widths the texture and feeling of the two typefaces
|
|
are different. Georgia is warmer and friendlier while Gelasio is cooler
|
|
and more formal.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%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}
|
|
|
|
mv OFL.txt LICENSE
|
|
sed -i 's/\r$//' LICENSE
|
|
|
|
%_font_pkg -f %{fontconf} *.ttf
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Fri Oct 30 2020 Dawid Zych <dawid.zych@yandex.com> - 1.006-1
|
|
- Download font from Google Fonts
|
|
|
|
* Wed Jan 11 2017 Dawid Zych <dawid.zych@yandex.com> - 1.0-2
|
|
- Update fontconfig and it's priority.
|
|
|
|
* Thu Jan 05 2017 Dawid Zych <dawid.zych@yandex.com> - 1.0-1
|
|
- Initial packaging.
|