3 |
|
|
4 |
Name: %{fontname}-fonts |
Name: %{fontname}-fonts |
5 |
Version: 1.004 |
Version: 1.004 |
6 |
Release: %mkrel 3 |
Release: %mkrel 4 |
7 |
Summary: Modern style true type font |
Summary: Modern style true type font |
8 |
|
|
9 |
Group: System/X11 |
Group: System/X11 |
11 |
URL: http://aajohan.deviantart.com |
URL: http://aajohan.deviantart.com |
12 |
Source0: http://www.deviantart.com/download/105395949/comfortaa___font_by_aajohan-d1qr019.zip |
Source0: http://www.deviantart.com/download/105395949/comfortaa___font_by_aajohan-d1qr019.zip |
13 |
Source1: %{name}-fontconfig.conf |
Source1: %{name}-fontconfig.conf |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|
14 |
BuildArch: noarch |
BuildArch: noarch |
15 |
BuildRequires: fontpackages-devel |
BuildRequires: fontpackages-devel |
16 |
Requires: fontpackages-filesystem |
Requires: fontpackages-filesystem |
34 |
mv "$file.new" "$file" |
mv "$file.new" "$file" |
35 |
done |
done |
36 |
|
|
|
%build |
|
|
|
|
37 |
%install |
%install |
|
rm -rf %{buildroot} |
|
38 |
install -m 0755 -d %{buildroot}%{_fontdir} |
install -m 0755 -d %{buildroot}%{_fontdir} |
39 |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir} |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir} |
40 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ |
45 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \ |
ln -s %{_fontconfig_templatedir}/%{fontconf} \ |
46 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf} |
%{buildroot}%{_fontconfig_confdir}/%{fontconf} |
47 |
|
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
48 |
%_font_pkg -f %{fontconf} *.ttf |
%_font_pkg -f %{fontconf} *.ttf |
49 |
|
%doc *.txt |
|
%doc "Please\ read\ me.txt" "Comfortaa\ FONTLOG.txt" "OFL\ -\ Font\ License.txt" |
|
|
|
|
|
|
|