OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 02-Feb-2008 17:44:30
Branch: HEAD Handle: 2008020216442800
Modified files:
openpkg-src/fonts-free fonts-free.spec fonts-free.txt
Log:
add Microsoft CoreFonts
Summary:
Revision Changes Path
1.9 +28 -6 openpkg-src/fonts-free/fonts-free.spec
1.3 +6 -0 openpkg-src/fonts-free/fonts-free.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/fonts-free/fonts-free.spec
============================================================================
$ cvs diff -u -r1.8 -r1.9 fonts-free.spec
--- openpkg-src/fonts-free/fonts-free.spec 21 Jan 2008 18:01:12 -0000
1.8
+++ openpkg-src/fonts-free/fonts-free.spec 2 Feb 2008 16:44:28 -0000
1.9
@@ -35,6 +35,7 @@
%define V_urw 1.41
%define V_freefont 20060126
%define V_arkpandora 2.04
+%define V_corefonts 20020815
# package information
Name: fonts-free
@@ -47,7 +48,7 @@
Group: Graphics
License: Open Source
Version: 0
-Release: 20080121
+Release: 20080202
# list of sources
Source0:
http://www.redhat.com/f/fonts/liberation-fonts-ttf-%{V_liberation}.tar.gz
@@ -63,13 +64,14 @@
Source10:
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/urwfonts-%{V_urw}.tar.bz2
Source11:
http://download.savannah.gnu.org/releases/freefont/freefont-ttf-%{V_freefont}.tar.gz
Source12:
http://www.users.bigpond.net.au/gavindi/ttf-arkpandora-%{V_arkpandora}.tgz
-Source13: fonts-free.txt
-Source14: fonts-free.conf
+Source13:
ftp://ftp.openpkg.org/sources/CPY/corefonts/corefonts-%{V_corefonts}.tar
+Source14: fonts-free.txt
+Source15: fonts-free.conf
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20060823, infozip
+BuildPreReq: OpenPKG, openpkg >= 20060823, infozip, cabextract
PreReq: OpenPKG, openpkg >= 20060823, fontconfig
AutoReq: no
AutoReqProv: no
@@ -78,8 +80,8 @@
This is a collection of high-quality fonts which are freely
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
- and ArkPandora.
+ Gentium, Lido, Union, Delicious, Fontin, URW++ PS Fonts, FreeFont,
+ ArkPandora and Microsoft CoreFonts.
%track
prog fonts-free:liberation = {
@@ -147,6 +149,11 @@
url = http://www.users.bigpond.net.au/gavindi/
regex = ttf-arkpandora-(__VER__)\.tgz
}
+ prog fonts-free:corefonts = {
+ version = %{V_corefonts}
+ url = ftp://ftp.openpkg.org/sources/CPY/corefonts/
+ regex = corefonts-(__VER__)\.tar
+ }
%prep
%setup -q -c
@@ -162,6 +169,7 @@
%setup -q -T -D -a 10
%setup -q -T -D -a 11
%setup -q -T -D -a 12
+ %setup -q -T -D -a 13
%build
@@ -248,6 +256,20 @@
cp ttf-arkpandora-*/*.ttf \
$RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/ArkPandora/
+ # install fonts: Microsoft CoreFonts
+ ( cd corefonts
+ for exe in *.exe; do
+ %{l_prefix}/bin/cabextract $exe
+ done
+ for ttf in *.TTF; do
+ mv $ttf `echo $ttf | sed -e 's;\.TTF$;.ttf;'`
+ done
+ ) || exit $?
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/CoreFonts
+ cp corefonts/*.ttf \
+ $RPM_BUILD_ROOT%{l_prefix}/share/fonts-free/CoreFonts/
+
# hook into fontconfig(1)
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/etc/fontconfig/conf.avail \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/fonts-free/fonts-free.txt
============================================================================
$ cvs diff -u -r1.2 -r1.3 fonts-free.txt
--- openpkg-src/fonts-free/fonts-free.txt 3 Aug 2007 11:21:05 -0000
1.2
+++ openpkg-src/fonts-free/fonts-free.txt 2 Feb 2008 16:44:28 -0000
1.3
@@ -63,3 +63,9 @@
Publisher: Gavin Graham
Author: Gavin Graham
+ o Font: CoreFonts
+ Homepage: http://corefonts.sourceforge.net/
+
http://web.archive.org/web/20020124085641/www.microsoft.com/typography/fontpack/default.htm
+ Publisher: Microsoft
+ Author: (various)
+
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]