|
|
@@ -22,29 +22,30 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_liberation 1.05.1.20090630
|
|
|
-%define V_vera 1.10
|
|
|
-%define V_dejavu 2.29
|
|
|
-%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 1.41
|
|
|
-%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.0
|
|
|
-%define V_droid 20080314
|
|
|
-%define V_cm_unicode 0.7.0
|
|
|
-%define V_envycoder PR7
|
|
|
-%define V_inconsolata 20090207
|
|
|
+%define V_liberation 1.05.1.20090630
|
|
|
+%define V_vera 1.10
|
|
|
+%define V_dejavu 2.29
|
|
|
+%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 1.41
|
|
|
+%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.0
|
|
|
+%define V_droid 20080314
|
|
|
+%define V_cm_unicode 0.7.0
|
|
|
+%define V_envycoder PR7
|
|
|
+%define V_inconsolata 20090207
|
|
|
+%define V_anonymouspro 1.0
|
|
|
|
|
|
# package information
|
|
|
Name: fonts-free
|
|
|
@@ -83,8 +84,9 @@ Source19: ftp://ftp.openpkg.org/sources/CPY/fonts-free/droid-%{V_droid}.tar.
|
|
|
Source20: http://switch.dl.sourceforge.net/sourceforge/cm-unicode/cm-unicode-%{V_cm_unicode}-otf.tar.xz
|
|
|
Source21: http://download.damieng.com/fonts/original/EnvyCodeR-%{V_envycoder}.zip
|
|
|
Source22: ftp://ftp.openpkg.org/sources/CPY/fonts-free/Inconsolata-%{V_inconsolata}.otf
|
|
|
-Source23: fonts-free.txt
|
|
|
-Source24: fonts-free.conf
|
|
|
+Source23: ftp://ftp.openpkg.org/sources/CPY/fonts-free/AnonymousPro-%{V_anonymouspro}.zip
|
|
|
+Source24: fonts-free.txt
|
|
|
+Source25: fonts-free.conf
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -218,6 +220,11 @@ AutoReqProv: no
|
|
|
url = ftp://ftp.openpkg.org/sources/CPY/fonts-free/
|
|
|
regex = inconsolata-(\d+)\.otf
|
|
|
}
|
|
|
+ prog fonts-free:anonymouspro = {
|
|
|
+ version = %{V_anonymouspro}
|
|
|
+ url = ftp://ftp.openpkg.org/sources/CPY/fonts-free/
|
|
|
+ regex = AnonymousPro-(__VER__)\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
(
|
|
|
@@ -242,6 +249,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 19
|
|
|
xz -d -c %{SOURCE20} | %{l_tar} xf -
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE21}
|
|
|
+ %{l_prefix}/bin/unzip -q -x %{SOURCE23}
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -401,6 +409,18 @@ AutoReqProv: no
|
|
|
cp %{SOURCE Inconsolata-%{V_inconsolata}.otf} \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/Inconsolata/Inconsolata.otf
|
|
|
|
|
|
+ # install font: Anonymous Pro
|
|
|
+ %{l_shtool} mkdir -f -p -m 755 \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/AnonymousPro
|
|
|
+ cp "AnonymousPro/Anonymous Pro.ttf" \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/AnonymousPro/AnonymousPro.ttf
|
|
|
+ cp "AnonymousPro/Anonymous Pro B.ttf" \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/AnonymousPro/AnonymousProB.ttf
|
|
|
+ cp "AnonymousPro/Anonymous Pro I.ttf" \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/AnonymousPro/AnonymousProI.ttf
|
|
|
+ cp "AnonymousPro/Anonymous Pro BI.ttf" \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/AnonymousPro/AnonymousProBI.ttf
|
|
|
+
|
|
|
# hook into fontconfig(1)
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/fontconfig/conf.avail \
|