|
|
@@ -46,6 +46,7 @@
|
|
|
%define V_envycoder PR7
|
|
|
%define V_inconsolata 20090207
|
|
|
%define V_anonymouspro 1.0
|
|
|
+%define V_gyre 1.104
|
|
|
|
|
|
# package information
|
|
|
Name: fonts-free
|
|
|
@@ -58,7 +59,7 @@ Class: EVAL
|
|
|
Group: Graphics
|
|
|
License: Open Source
|
|
|
Version: 0
|
|
|
-Release: 20090829
|
|
|
+Release: 20090904
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-%{V_liberation}.tar.gz
|
|
|
@@ -85,8 +86,9 @@ Source20: http://switch.dl.sourceforge.net/sourceforge/cm-unicode/cm-unicode
|
|
|
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: ftp://ftp.openpkg.org/sources/CPY/fonts-free/AnonymousPro-%{V_anonymouspro}.zip
|
|
|
-Source24: fonts-free.txt
|
|
|
-Source25: fonts-free.conf
|
|
|
+Source24: http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-v%{V_gyre}otf.zip
|
|
|
+Source25: fonts-free.txt
|
|
|
+Source26: fonts-free.conf
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -225,6 +227,11 @@ AutoReqProv: no
|
|
|
url = ftp://ftp.openpkg.org/sources/CPY/fonts-free/
|
|
|
regex = AnonymousPro-(__VER__)\.zip
|
|
|
}
|
|
|
+ prog fonts-free:gyre = {
|
|
|
+ version = %{V_gyre}
|
|
|
+ url = http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole
|
|
|
+ regex = tg-v(__VER__)otf\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
(
|
|
|
@@ -250,6 +257,7 @@ AutoReqProv: no
|
|
|
xz -d -c %{SOURCE20} | %{l_tar} xf -
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE21}
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE23}
|
|
|
+ %{l_prefix}/bin/unzip -q -x %{SOURCE24}
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -421,6 +429,12 @@ AutoReqProv: no
|
|
|
cp "AnonymousPro/Anonymous Pro BI.ttf" \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/AnonymousPro/AnonymousProBI.ttf
|
|
|
|
|
|
+ # install font: TeX Gyre
|
|
|
+ %{l_shtool} mkdir -f -p -m 755 \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/TexGyre
|
|
|
+ cp texgyr*.otf \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/TexGyre/
|
|
|
+
|
|
|
# hook into fontconfig(1)
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/fontconfig/conf.avail \
|