|
|
@@ -22,31 +22,36 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_liberation 1.05.2.20091227
|
|
|
-%define V_vera 1.10
|
|
|
-%define V_dejavu 2.30
|
|
|
-%define V_cardo 98
|
|
|
-%define V_gentium 110
|
|
|
-%define V_lido 20050821
|
|
|
-%define V_union 20030604
|
|
|
-%define V_delicious 20061021
|
|
|
-%define V_fontin 2
|
|
|
-%define V_fontinsans 49
|
|
|
-%define V_urw 8.71
|
|
|
-%define V_freefont 20090104
|
|
|
-%define V_arkpandora 2.04
|
|
|
-%define V_corefonts 20020815
|
|
|
-%define V_libertine 4.4.1
|
|
|
-%define V_asanamath 20071214
|
|
|
-%define V_unifont 5.1.20080907
|
|
|
-%define V_tuffy 20071106
|
|
|
-%define V_luxi 1.0.1
|
|
|
-%define V_droid 20100107
|
|
|
-%define V_cm_unicode 0.7.0
|
|
|
-%define V_envycoder PR7
|
|
|
-%define V_inconsolata 20090207
|
|
|
-%define V_anonymouspro 1.001
|
|
|
-%define V_gyre 2.005
|
|
|
+%define V_liberation 1.05.2.20091227
|
|
|
+%define V_vera 1.10
|
|
|
+%define V_dejavu 2.30
|
|
|
+%define V_cardo 98
|
|
|
+%define V_gentium 110
|
|
|
+%define V_lido 20050821
|
|
|
+%define V_union 20030604
|
|
|
+%define V_delicious 20061021
|
|
|
+%define V_fontin 2
|
|
|
+%define V_fontinsans 49
|
|
|
+%define V_urw 8.71
|
|
|
+%define V_freefont 20090104
|
|
|
+%define V_arkpandora 2.04
|
|
|
+%define V_corefonts 20020815
|
|
|
+%define V_libertine 4.4.1
|
|
|
+%define V_asanamath 20071214
|
|
|
+%define V_unifont 5.1.20080907
|
|
|
+%define V_tuffy 20071106
|
|
|
+%define V_luxi 1.0.1
|
|
|
+%define V_droid 20100107
|
|
|
+%define V_cm_unicode 0.7.0
|
|
|
+%define V_envycoder PR7
|
|
|
+%define V_inconsolata 20090207
|
|
|
+%define V_anonymouspro 1.001
|
|
|
+%define V_gyre 2.005
|
|
|
+%define V_komikahands 20041019
|
|
|
+%define V_komikatext 20041019
|
|
|
+%define V_komikatitle 20041019
|
|
|
+%define V_komikadisplay 20041019
|
|
|
+%define V_komikaposter 20041019
|
|
|
|
|
|
# package information
|
|
|
Name: fonts-free
|
|
|
@@ -59,7 +64,7 @@ Class: EVAL
|
|
|
Group: Graphics
|
|
|
License: Open Source
|
|
|
Version: 0
|
|
|
-Release: 20100211
|
|
|
+Release: 20100313
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-%{V_liberation}.tar.gz
|
|
|
@@ -87,8 +92,13 @@ Source21: http://download.damieng.com/fonts/original/EnvyCodeR-%{V_envycoder
|
|
|
Source22: http://download.openpkg.org/components/versioned/fonts-free/Inconsolata-%{V_inconsolata}.otf
|
|
|
Source23: http://download.openpkg.org/components/versioned/fonts-free/AnonymousPro-%{V_anonymouspro}.zip
|
|
|
Source24: http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-%{V_gyre}otf.zip
|
|
|
-Source25: fonts-free.txt
|
|
|
-Source26: fonts-free.conf
|
|
|
+Source25: http://download.openpkg.org/components/versioned/fonts-free/KomikaHands-%{V_komikahands}.zip
|
|
|
+Source26: http://download.openpkg.org/components/versioned/fonts-free/KomikaText-%{V_komikatext}.zip
|
|
|
+Source27: http://download.openpkg.org/components/versioned/fonts-free/KomikaTitle-%{V_komikatitle}.zip
|
|
|
+Source28: http://download.openpkg.org/components/versioned/fonts-free/KomikaDisplay-%{V_komikadisplay}.zip
|
|
|
+Source29: http://download.openpkg.org/components/versioned/fonts-free/KomikaPoster-%{V_komikaposter}.zip
|
|
|
+Source30: fonts-free.txt
|
|
|
+Source31: fonts-free.conf
|
|
|
|
|
|
# build information
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, infozip, cabextract, xz
|
|
|
@@ -99,8 +109,8 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
available. They provide a basic set of fonts for standard purposes.
|
|
|
The particular contained fonts are Liberation, Vera, DejaVu, Cardo,
|
|
|
Gentium, Lido, Union, Delicious, Fontin, URW++ PS Fonts, FreeFont,
|
|
|
- ArkPandora, Microsoft CoreFonts, Libertine, Asana Math, UniFont and
|
|
|
- Tuffy.
|
|
|
+ ArkPandora, Microsoft CoreFonts, Libertine, Asana Math, UniFont,
|
|
|
+ Tuffy and Komika Hands.
|
|
|
|
|
|
%track
|
|
|
prog fonts-free:liberation = {
|
|
|
@@ -229,6 +239,11 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
url = http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole
|
|
|
regex = tg-(__VER__)otf\.zip
|
|
|
}
|
|
|
+ prog fonts-free:komikahands = {
|
|
|
+ version = %{V_komikahands}
|
|
|
+ url = http://download.openpkg.org/components/versioned/fonts-free/
|
|
|
+ regex = KomikaHands-(__VER__)\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
(
|
|
|
@@ -255,6 +270,11 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE21}
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE23}
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE24}
|
|
|
+ %{l_prefix}/bin/unzip -q -o -x %{SOURCE25}
|
|
|
+ %{l_prefix}/bin/unzip -q -o -x %{SOURCE26}
|
|
|
+ %{l_prefix}/bin/unzip -q -o -x %{SOURCE27}
|
|
|
+ %{l_prefix}/bin/unzip -q -o -x %{SOURCE28}
|
|
|
+ %{l_prefix}/bin/unzip -q -o -x %{SOURCE29}
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -431,6 +451,12 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
cp texgyr*.otf \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/TexGyre/
|
|
|
|
|
|
+ # install font: Komika
|
|
|
+ %{l_shtool} mkdir -f -p -m 755 \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/Komika
|
|
|
+ cp KOM*.ttf \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/Komika/
|
|
|
+
|
|
|
# hook into fontconfig(1)
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/fontconfig/conf.avail \
|