1 |
%global fontname aajohan-comfortaa |
%define fontname aajohan-comfortaa |
2 |
%global fontconf 61-%{fontname}.conf |
%define fontconf 61-%{fontname}.conf |
3 |
|
|
4 |
Name: %{fontname}-fonts |
Name: %{fontname}-fonts |
5 |
Version: 1.004 |
Version: 2.004 |
6 |
Release: %mkrel 5 |
Release: %mkrel 1 |
7 |
Summary: Modern style true type font |
Summary: Modern style true type font |
|
|
|
8 |
Group: System/X11 |
Group: System/X11 |
9 |
License: OFL |
License: OFL |
10 |
URL: http://aajohan.deviantart.com |
URL: http://aajohan.deviantart.com |
11 |
Source0: http://www.deviantart.com/download/105395949/comfortaa___font_by_aajohan-d1qr019-old.zip |
Source0: http://www.deviantart.com/download/105395949/Comfortaa___font_by_aajohan-d1qr019.zip |
12 |
Source1: %{name}-fontconfig.conf |
Source1: %{name}-fontconfig.conf |
13 |
BuildArch: noarch |
BuildArch: noarch |
14 |
BuildRequires: fontpackages-devel |
BuildRequires: fontpackages-devel |
17 |
%description |
%description |
18 |
Comfortaa is a sans-serif font comfortable in every aspect with |
Comfortaa is a sans-serif font comfortable in every aspect with |
19 |
Bold, Regular, and Thin variants. |
Bold, Regular, and Thin variants. |
20 |
It has very good European language coverage and decent Cyrillic coverage. |
It has very good European language coverage and decent Cyrillic coverage. |
21 |
|
|
22 |
%prep |
%prep |
23 |
%setup -q -n comfortaa |
%setup -q -n Comfortaa |
24 |
|
|
25 |
# Fixing |
# Fixing |
26 |
# wrong-file-end-of-line-encoding issue |
# wrong-file-end-of-line-encoding issue |
33 |
mv "$file.new" "$file" |
mv "$file.new" "$file" |
34 |
done |
done |
35 |
|
|
36 |
|
%build |
37 |
|
|
38 |
%install |
%install |
39 |
install -m 0755 -d %{buildroot}%{_fontdir} |
install -m 0755 -d %{buildroot}%{_fontdir} |
40 |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir} |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir} |