|
|
|
|
@ -65,6 +65,7 @@
|
|
|
|
|
%define V_ubuntu 0.69 |
|
|
|
|
%define V_roboto 4.0 |
|
|
|
|
%define V_pt 20120211 |
|
|
|
|
%define V_opensans 20120215 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: fonts-free |
|
|
|
|
@ -77,7 +78,7 @@ Class: EVAL
|
|
|
|
|
Group: Graphics |
|
|
|
|
License: Open Source |
|
|
|
|
Version: 0 |
|
|
|
|
Release: 20120211 |
|
|
|
|
Release: 20120215 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-%{V_liberation}.tar.gz |
|
|
|
|
@ -127,8 +128,9 @@ Source43: http://download.openpkg.org/components/versioned/fonts-free/Roboto
|
|
|
|
|
Source44: http://download.openpkg.org/components/versioned/fonts-free/PTSerif-%{V_pt}.zip |
|
|
|
|
Source45: http://download.openpkg.org/components/versioned/fonts-free/PTSans-%{V_pt}.zip |
|
|
|
|
Source46: http://download.openpkg.org/components/versioned/fonts-free/PTMono-%{V_pt}.zip |
|
|
|
|
Source47: fonts-free.txt |
|
|
|
|
Source48: fonts-free.conf |
|
|
|
|
Source47: http://download.openpkg.org/components/versioned/fonts-free/open-sans-%{V_opensans}.zip |
|
|
|
|
Source48: fonts-free.txt |
|
|
|
|
Source49: fonts-free.conf |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20120101, cabextract |
|
|
|
|
@ -142,7 +144,7 @@ PreReq: OpenPKG, openpkg >= 20120101, fontconfig
|
|
|
|
|
ArkPandora, Microsoft CoreFonts, Libertine, Asana Math, UniFont, |
|
|
|
|
Tuffy, Komika Hands, Graublau Sans Web, M+ Outline, Junius & |
|
|
|
|
Junius-Unicode, Aller, Kaffesatz, Vollkorn, Vegur, Tiresias, Amble, |
|
|
|
|
Ubuntu and Roboto. |
|
|
|
|
Ubuntu, Roboto, PT, Open Sans. |
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog fonts-free:liberation = { |
|
|
|
|
@ -341,6 +343,11 @@ PreReq: OpenPKG, openpkg >= 20120101, fontconfig
|
|
|
|
|
url = http://download.openpkg.org/components/versioned/fonts-free/ |
|
|
|
|
regex = PTSerif-(__VER__)\.zip |
|
|
|
|
} |
|
|
|
|
prog fonts-free:open-sans = { |
|
|
|
|
version = %{V_opensans} |
|
|
|
|
url = http://download.openpkg.org/components/versioned/fonts-free/ |
|
|
|
|
regex = open-sans-(__VER__)\.zip |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
( |
|
|
|
|
@ -388,6 +395,7 @@ PreReq: OpenPKG, openpkg >= 20120101, fontconfig
|
|
|
|
|
%setup -q -T -D -a 44 |
|
|
|
|
%setup -q -T -D -a 45 |
|
|
|
|
%setup -q -T -D -a 46 |
|
|
|
|
%setup -q -T -D -a 47 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
|
@ -651,6 +659,12 @@ PreReq: OpenPKG, openpkg >= 20120101, fontconfig
|
|
|
|
|
cp PT*.ttf \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/PT/ |
|
|
|
|
|
|
|
|
|
# install font: Open Sans |
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/OpenSans |
|
|
|
|
cp OpenSans*.ttf \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/OpenSans/ |
|
|
|
|
|
|
|
|
|
# hook into fontconfig(1) |
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/fontconfig/conf.avail \ |
|
|
|
|
|