|
|
@@ -63,6 +63,7 @@
|
|
|
%define V_tiresias 20100417
|
|
|
%define V_amble 1.00000
|
|
|
%define V_ubuntu 0.69
|
|
|
+%define V_roboto 4.0
|
|
|
|
|
|
# package information
|
|
|
Name: fonts-free
|
|
|
@@ -121,12 +122,13 @@ Source39: http://www.dotcolon.net/DL/font/vegur_L_R_M_B_%{V_vegur}.zip
|
|
|
Source40: http://download.openpkg.org/components/versioned/fonts-free/tiresias-%{V_tiresias}.tar.gz
|
|
|
Source41: http://download.openpkg.org/components/versioned/fonts-free/Amble-%{V_amble}.tar.gz
|
|
|
Source42: http://font.ubuntu.com/download/ubuntu-font-family-%{V_ubuntu}+ufl.zip
|
|
|
-Source43: fonts-free.txt
|
|
|
-Source44: fonts-free.conf
|
|
|
+Source43: http://download.openpkg.org/components/versioned/fonts-free/Roboto-Fonts-%{V_roboto}.zip
|
|
|
+Source44: fonts-free.txt
|
|
|
+Source45: fonts-free.conf
|
|
|
|
|
|
# build information
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20100101, cabextract, xz
|
|
|
-PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20120101, cabextract
|
|
|
+PreReq: OpenPKG, openpkg >= 20120101, fontconfig
|
|
|
|
|
|
%description
|
|
|
This is a collection of high-quality fonts which are freely
|
|
|
@@ -135,7 +137,8 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
Gentium, Lido, Union, Delicious, Fontin, URW++ PS Fonts, FreeFont,
|
|
|
ArkPandora, Microsoft CoreFonts, Libertine, Asana Math, UniFont,
|
|
|
Tuffy, Komika Hands, Graublau Sans Web, M+ Outline, Junius &
|
|
|
- Junius-Unicode, Aller, Kaffesatz and Vollkorn.
|
|
|
+ Junius-Unicode, Aller, Kaffesatz, Vollkorn, Vegur, Tiresias, Amble,
|
|
|
+ Ubuntu and Roboto.
|
|
|
|
|
|
%track
|
|
|
prog fonts-free:liberation = {
|
|
|
@@ -324,6 +327,11 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
url = http://font.ubuntu.com/
|
|
|
regex = ubuntu-font-family-(__VER__)\+ufl\.zip
|
|
|
}
|
|
|
+ prog fonts-free:roboto = {
|
|
|
+ version = %{V_roboto}
|
|
|
+ url = http://download.openpkg.org/components/versioned/fonts-free/
|
|
|
+ regex = Roboto-Fonts-(__VER__)\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
(
|
|
|
@@ -367,6 +375,7 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
%setup -q -T -D -a 40
|
|
|
%setup -q -T -D -a 41
|
|
|
%setup -q -T -D -a 42
|
|
|
+ %setup -q -T -D -a 43
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -618,6 +627,12 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
cp ubuntu-font-family-%{V_ubuntu}+ufl/*.ttf \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/Ubuntu/
|
|
|
|
|
|
+ # install font: Roboto
|
|
|
+ %{l_shtool} mkdir -f -p -m 755 \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/Roboto
|
|
|
+ cp Roboto*.ttf \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/Roboto/
|
|
|
+
|
|
|
# hook into fontconfig(1)
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/fontconfig/conf.avail \
|