forked from silenc3r/fedora-better-fonts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | ||
<fontconfig> | ||
|
||
<alias> | ||
<family>Ubuntu</family> | ||
<default> | ||
<family>sans-serif</family> | ||
</default> | ||
</alias> | ||
|
||
<alias> | ||
<family>Ubuntu Condensed</family> | ||
<default> | ||
<family>sans-serif</family> | ||
</default> | ||
</alias> | ||
|
||
<alias> | ||
<family>Ubuntu Mono</family> | ||
<default> | ||
<family>monospace</family> | ||
</default> | ||
</alias> | ||
|
||
</fontconfig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
%global fontname ubuntu | ||
%global fontconf 61-%{fontname}.conf | ||
|
||
Name: %{fontname}-fonts | ||
Version: 0.83 | ||
Release: 1%{?dist} | ||
Summary: Ubuntu font family | ||
|
||
License: Ubuntu Font Licence 1.0 | ||
URL: http://font.ubuntu.com/ | ||
Source0: http://font.ubuntu.com/download/ubuntu-font-family-0.83.zip | ||
Source1: %{fontname}-fontconfig.conf | ||
|
||
BuildArch: noarch | ||
BuildRequires: fontpackages-devel | ||
Requires: fontpackages-filesystem | ||
|
||
%description | ||
The new Ubuntu Font Family was started to enable the personality of Ubuntu | ||
to be seen and felt in every menu, button and dialog. The typeface is | ||
sans-serif, uses OpenType features and is manually hinted for clarity on | ||
desktop and mobile computing screens. | ||
|
||
%prep | ||
%setup -q -n ubuntu-font-family-%{version} | ||
|
||
%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}.conf \ | ||
%{buildroot}%{_fontconfig_confdir}/%{fontconf} | ||
|
||
%_font_pkg -f *-%{fontname}.conf *.ttf | ||
%license LICENCE.txt LICENCE-FAQ.txt copyright.txt TRADEMARKS.txt | ||
%doc CONTRIBUTING.txt FONTLOG.txt README.txt | ||
|
||
%changelog | ||
* Fri Jan 06 2017 Dawid Zych <[email protected]> - 0.83-1 | ||
- Initial packaging. |