You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gelasio-fonts/SPECS/gelasio-fonts.spec

63 lines
1.7 KiB

%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
* Thu Nov 23 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.006-1
- Rebuilt for MSVSphere 9.3
* 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.