parent
265988e05b
commit
b9519e9803
@ -0,0 +1 @@
|
|||||||
|
/croscorefonts-1.21.0.tar.gz
|
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Arimo</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Arimo</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Liberation Sans</family>
|
||||||
|
<accept>
|
||||||
|
<family>Arimo</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Arimo</family>
|
||||||
|
<accept>
|
||||||
|
<family>Liberation Sans</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Microsoft -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Arimo</family>
|
||||||
|
<default>
|
||||||
|
<family>Arial</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Arial</family>
|
||||||
|
<default>
|
||||||
|
<family>Arimo</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Cousine</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Cousine</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Liberation Sans</family>
|
||||||
|
<accept>
|
||||||
|
<family>Cousine</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Cousine</family>
|
||||||
|
<accept>
|
||||||
|
<family>Liberation Sans</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Microsoft -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Cousine</family>
|
||||||
|
<default>
|
||||||
|
<family>Arial</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Arial</family>
|
||||||
|
<default>
|
||||||
|
<family>Cousine</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Symbol</family>
|
||||||
|
<accept>
|
||||||
|
<family>Symbol Neu</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Symbol Neu</family>
|
||||||
|
<default>
|
||||||
|
<family>Symbol</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Tinos</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Tinos</family>
|
||||||
|
<default>
|
||||||
|
<family>serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Liberation Serif</family>
|
||||||
|
<accept>
|
||||||
|
<family>Tinos</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Tinos</family>
|
||||||
|
<accept>
|
||||||
|
<family>Liberation Serif</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Microsoft -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Tinos</family>
|
||||||
|
<default>
|
||||||
|
<family>Times New Roman</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Times New Roman</family>
|
||||||
|
<default>
|
||||||
|
<family>Tinos</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -0,0 +1,134 @@
|
|||||||
|
%global fontname google-croscore
|
||||||
|
%global fontconf 62-%{fontname}
|
||||||
|
|
||||||
|
%global common_desc \
|
||||||
|
This package contains a collections of fonts that offers improved on-screen \
|
||||||
|
readability characteristics and the pan-European WGL character set and solves \
|
||||||
|
the needs of developers looking for width-compatible fonts to address document \
|
||||||
|
portability across platforms.
|
||||||
|
|
||||||
|
|
||||||
|
Name: %{fontname}-fonts
|
||||||
|
Version: 1.21.0
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: The width-compatible fonts for improved on-screen readability
|
||||||
|
|
||||||
|
Group: User Interface/X
|
||||||
|
License: OFL
|
||||||
|
#URL:
|
||||||
|
Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/croscorefonts-%{version}.tar.gz
|
||||||
|
Source1: %{fontconf}-arimo-fontconfig.conf
|
||||||
|
Source2: %{fontconf}-cousine-fontconfig.conf
|
||||||
|
Source3: %{fontconf}-tinos-fontconfig.conf
|
||||||
|
Source4: %{fontconf}-symbolneu-fontconfig.conf
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
%common_desc
|
||||||
|
|
||||||
|
|
||||||
|
%package common
|
||||||
|
Summary: Common files of %{name}
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
|
||||||
|
%description common
|
||||||
|
This package consists of files used by other %{name} packages.
|
||||||
|
|
||||||
|
# Repeat for every font family
|
||||||
|
%package -n %{fontname}-arimo-fonts
|
||||||
|
Summary: The croscore Arimo family fonts
|
||||||
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n %{fontname}-arimo-fonts
|
||||||
|
%common_desc
|
||||||
|
Arimo was designed by Steve Matteson as an innovative, refreshing sans serif
|
||||||
|
design that is metrically compatible with Arial. Arimo offers improved
|
||||||
|
on-screen readability characteristics and the pan-European WGL character set
|
||||||
|
and solves the needs of developers looking for width-compatible fonts to
|
||||||
|
address document portability across platforms.
|
||||||
|
|
||||||
|
%_font_pkg -n arimo -f %{fontconf}-arimo.conf Arimo*.ttf
|
||||||
|
|
||||||
|
|
||||||
|
%package -n %{fontname}-cousine-fonts
|
||||||
|
Summary: The croscore Cousine family fonts
|
||||||
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n %{fontname}-cousine-fonts
|
||||||
|
%common_desc
|
||||||
|
Cousine was designed by Steve Matteson as an innovative, refreshing sans serif
|
||||||
|
design that is metrically compatible with Courier New. Cousine offers improved
|
||||||
|
on-screen readability characteristics and the pan-European WGL character set
|
||||||
|
and solves the needs of developers looking for width-compatible fonts to
|
||||||
|
address document portability across platforms.
|
||||||
|
|
||||||
|
%_font_pkg -n cousine -f %{fontconf}-cousine.conf Cousine*.ttf
|
||||||
|
|
||||||
|
%package -n %{fontname}-tinos-fonts
|
||||||
|
Summary: The croscore Tinos family fonts
|
||||||
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n %{fontname}-tinos-fonts
|
||||||
|
%common_desc
|
||||||
|
Tinos was designed by Steve Matteson as an innovative, refreshing serif design
|
||||||
|
that is metrically compatible with Times New Roman. Tinos offers improved
|
||||||
|
on-screen readability characteristics and the pan-European WGL character set
|
||||||
|
and solves the needs of developers looking for width-compatible fonts to
|
||||||
|
address document portability across platforms.
|
||||||
|
|
||||||
|
%_font_pkg -n tinos -f %{fontconf}-tinos.conf Tinos*.ttf
|
||||||
|
|
||||||
|
%package -n %{fontname}-symbolneu-fonts
|
||||||
|
Summary: The croscore Symbol Neu family fonts
|
||||||
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n %{fontname}-symbolneu-fonts
|
||||||
|
%common_desc
|
||||||
|
Symbol Neu is a metrically compatible font to Symbol.
|
||||||
|
|
||||||
|
%_font_pkg -n symbolneu -f %{fontconf}-symbolneu.conf SymbolNeu.ttf
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n croscorefonts-%{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}
|
||||||
|
|
||||||
|
# Repeat for every font family
|
||||||
|
install -m 0644 -p %{SOURCE1} \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-arimo.conf
|
||||||
|
install -m 0644 -p %{SOURCE2} \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-cousine.conf
|
||||||
|
install -m 0644 -p %{SOURCE3} \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-tinos.conf
|
||||||
|
install -m 0644 -p %{SOURCE4} \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-symbolneu.conf
|
||||||
|
|
||||||
|
for fconf in %{fontconf}-arimo.conf \
|
||||||
|
%{fontconf}-cousine.conf \
|
||||||
|
%{fontconf}-tinos.conf \
|
||||||
|
%{fontconf}-symbolneu.conf; do
|
||||||
|
ln -s %{_fontconfig_templatedir}/$fconf \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}/$fconf
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
%files common
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 27 2012 Parag Nemade <pnemade AT redhat DOT com>- 1.21.0-2
|
||||||
|
- Updated fontconfig rules.
|
||||||
|
|
||||||
|
* Wed Mar 21 2012 Parag Nemade <pnemade AT redhat DOT com>- 1.21.0-1
|
||||||
|
- Initial packaging
|
Loading…
Reference in new issue