packages: fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.spec, fon...

arekm arekm at pld-linux.org
Tue Aug 31 21:31:01 CEST 2010


Author: arekm                        Date: Tue Aug 31 19:31:01 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 1; fix monospace bug (patch from fc); build fonts from sources instead of using prepared ttfs

---- Files affected:
packages/fonts-TTF-RedHat-liberation:
   fonts-TTF-RedHat-liberation.spec (1.19 -> 1.20) 
packages/fonts-TTF-RedHat-liberation:
   rh-bug-620273.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.spec
diff -u packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.spec:1.19 packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.spec:1.20
--- packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.spec:1.19	Tue Aug 31 21:18:09 2010
+++ packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.spec	Tue Aug 31 21:30:56 2010
@@ -3,15 +3,16 @@
 Summary(pl.UTF-8):	Fonty zastępujące popularne fonty z Microsoft Windows
 Name:		fonts-TTF-RedHat-liberation
 Version:	1.06.0.20100721
-# https://bugzilla.redhat.com/show_bug.cgi?id=508899
-Release:	0.1
+Release:	1
 Epoch:		1
 License:	GPL v2 + exceptions
 Group:		Fonts
-Source0:	https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-%{version}.tar.gz
-# Source0-md5:	ca4870d899fd7e943ffc310a5421ad4d
+Source0:	https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-%{version}.tar.gz
+# Source0-md5:	2f45bd873ab48cf0c3a00fbd350c0e80
 Source1:	%{name}.fontconfig
+Patch0:		rh-bug-620273.patch
 URL:		https://fedorahosted.org/liberation-fonts/
+BuildRequires:	fontforge >= 20090923
 BuildRequires:	unzip
 Requires(post,postun):	fontpostinst
 Requires:	%{_fontsdir}/TTF
@@ -42,7 +43,11 @@
 Bitstream Vera Sans Mono).
 
 %prep
-%setup -q -n liberation-fonts-ttf-%{version}
+%setup -q -n liberation-fonts-%{version}
+%patch0 -p0
+
+%build
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -50,7 +55,7 @@
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
 
-cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
+cp -a liberation-*/*.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
 ln -s ../conf.avail/60-liberation.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
 
@@ -79,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2010/08/31 19:30:56  arekm
+- rel 1; fix monospace bug (patch from fc); build fonts from sources instead of using prepared ttfs
+
 Revision 1.19  2010/08/31 19:18:09  patrys
 - 1.06
 

================================================================
Index: packages/fonts-TTF-RedHat-liberation/rh-bug-620273.patch
diff -u /dev/null packages/fonts-TTF-RedHat-liberation/rh-bug-620273.patch:1.1
--- /dev/null	Tue Aug 31 21:31:01 2010
+++ packages/fonts-TTF-RedHat-liberation/rh-bug-620273.patch	Tue Aug 31 21:31:00 2010
@@ -0,0 +1,101 @@
+--- src/LiberationMono-Bold.sfd	2010-07-21 10:29:58.000000000 -0400
++++ src/LiberationMono-Bold.sfd	2010-08-01 18:58:28.000000000 -0400
+@@ -20,7 +20,7 @@ 
+ OS2_WeightWidthSlopeOnly: 0
+ OS2_UseTypoMetrics: 1
+ CreationTime: 1095817380
+-ModificationTime: 1273478962
++ModificationTime: 1280703506
+ PfmFamily: 17
+ TTFWeight: 700
+ TTFWidth: 5
+@@ -3228,14 +3228,14 @@ 
+ DisplaySize: -24
+ AntiAlias: 1
+ FitToEm: 1
+-WinInfo: 8520 40 16
++WinInfo: 0 40 16
+ TeXData: 1 0 0 346030 173015 115343 553984 -1048576 115343 783286 444596 497025 792723 393216 433062 380633 303038 157286 324010 404750 52429 2506097 1059062 262144
+ BeginChars: 1114127 669
+ 
+ StartChar: .notdef
+ Encoding: 1114112 -1 0
+-Width: 748
+-Flags: W
++Width: 1229
++Flags: HW
+ TtInstrs:
+ PUSHB_2
+  1
+--- src/LiberationMono-BoldItalic.sfd	2010-07-21 10:29:58.000000000 -0400
++++ src/LiberationMono-BoldItalic.sfd	2010-08-01 18:58:52.000000000 -0400
+@@ -20,7 +20,7 @@ 
+ OS2_WeightWidthSlopeOnly: 0
+ OS2_UseTypoMetrics: 1
+ CreationTime: 1095817380
+-ModificationTime: 1273479320
++ModificationTime: 1280703529
+ PfmFamily: 17
+ TTFWeight: 700
+ TTFWidth: 5
+@@ -2845,8 +2845,8 @@ 
+ 
+ StartChar: .notdef
+ Encoding: 1114112 -1 0
+-Width: 748
+-Flags: W
++Width: 1229
++Flags: HW
+ TtInstrs:
+ PUSHB_2
+  1
+--- src/LiberationMono-Italic.sfd	2010-07-21 10:29:58.000000000 -0400
++++ src/LiberationMono-Italic.sfd	2010-08-01 18:58:03.000000000 -0400
+@@ -20,7 +20,7 @@ 
+ OS2_WeightWidthSlopeOnly: 0
+ OS2_UseTypoMetrics: 1
+ CreationTime: 1095817380
+-ModificationTime: 1273479577
++ModificationTime: 1280703479
+ PfmFamily: 17
+ TTFWeight: 400
+ TTFWidth: 5
+@@ -3414,13 +3414,13 @@ 
+ DisplaySize: -24
+ AntiAlias: 1
+ FitToEm: 1
+-WinInfo: 8160 40 16
++WinInfo: 0 40 16
+ BeginChars: 1114127 669
+ 
+ StartChar: .notdef
+ Encoding: 1114112 -1 0
+-Width: 748
+-Flags: W
++Width: 1229
++Flags: HW
+ TtInstrs:
+ PUSHB_2
+  1
+--- src/LiberationMono-Regular.sfd	2010-07-21 10:29:58.000000000 -0400
++++ src/LiberationMono-Regular.sfd	2010-08-01 18:57:18.000000000 -0400
+@@ -20,7 +20,7 @@ 
+ OS2_WeightWidthSlopeOnly: 0
+ OS2_UseTypoMetrics: 1
+ CreationTime: 1095817380
+-ModificationTime: 1273478721
++ModificationTime: 1280703432
+ PfmFamily: 17
+ TTFWeight: 400
+ TTFWidth: 5
+@@ -3213,8 +3213,8 @@ 
+ 
+ StartChar: .notdef
+ Encoding: 1114112 -1 0
+-Width: 748
+-Flags: W
++Width: 1229
++Flags: HW
+ TtInstrs:
+ PUSHB_2
+  1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list