|
|
@@ -54,6 +54,7 @@
|
|
|
%define V_komikaposter 20041019
|
|
|
%define V_graublau 20091207
|
|
|
%define V_mplusoutline TESTFLIGHT-029
|
|
|
+%define V_junicode 0-6-17
|
|
|
|
|
|
# package information
|
|
|
Name: fonts-free
|
|
|
@@ -66,7 +67,7 @@ Class: EVAL
|
|
|
Group: Graphics
|
|
|
License: Open Source
|
|
|
Version: 0
|
|
|
-Release: 20100331
|
|
|
+Release: 20100401
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-%{V_liberation}.tar.gz
|
|
|
@@ -102,8 +103,9 @@ Source29: http://download.openpkg.org/components/versioned/fonts-free/Komika
|
|
|
Source30: http://download.openpkg.org/components/versioned/fonts-free/GraublauSansWeb-%{V_graublau}.zip
|
|
|
Source31: http://switch.dl.sourceforge.net/dejavu/dejavu-lgc-fonts-ttf-%{V_dejavu}.tar.bz2
|
|
|
Source32: http://iij.dl.sourceforge.jp/mplus-fonts/6650/mplus-%{V_mplusoutline}.tar.gz
|
|
|
-Source33: fonts-free.txt
|
|
|
-Source34: fonts-free.conf
|
|
|
+Source33: http://switch.dl.sourceforge.net/junicode/junicode-%{V_junicode}.zip
|
|
|
+Source34: fonts-free.txt
|
|
|
+Source35: fonts-free.conf
|
|
|
|
|
|
# build information
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, infozip, cabextract, xz
|
|
|
@@ -259,6 +261,11 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
url = http://sourceforge.jp/projects/mplus-fonts/releases/
|
|
|
regex = mplus-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog fonts-free:junicode = {
|
|
|
+ version = %{V_junicode}
|
|
|
+ url = http://sourceforge.net/projects/junicode/files/
|
|
|
+ regex = junicode-(__VER__)\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
(
|
|
|
@@ -293,6 +300,7 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
%{l_prefix}/bin/unzip -q -o -x %{SOURCE30}
|
|
|
%setup -q -T -D -a 31
|
|
|
%setup -q -T -D -a 32
|
|
|
+ %setup -q -T -D -a 33
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -488,6 +496,12 @@ PreReq: OpenPKG, openpkg >= 20100101, fontconfig
|
|
|
cp mplus-*/*.ttf \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/M+Outline/
|
|
|
|
|
|
+ # install font: M+ Outline
|
|
|
+ %{l_shtool} mkdir -f -p -m 755 \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/JUnicode
|
|
|
+ cp junicode/fonts/* \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/JUnicode/
|
|
|
+
|
|
|
# hook into fontconfig(1)
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/fontconfig/conf.avail \
|