rpms/linux-libertine-fonts/F-10 .cvsignore, 1.8, 1.9 linux-libertine-fonts.spec, 1.9, 1.10 sources, 1.8, 1.9

Frank Arnold farnold at fedoraproject.org
Fri Nov 21 13:44:24 UTC 2008


Author: farnold

Update of /cvs/pkgs/rpms/linux-libertine-fonts/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26584

Modified Files:
	.cvsignore linux-libertine-fonts.spec sources 
Log Message:
* Fri Nov 21 2008 Frank Arnold <frank at scirocco-5v-turbo.de> 4.1.8-1
- Updated to 4.1.8
- Modified build procedure according to GENERATING.txt



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/linux-libertine-fonts/F-10/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore	3 Feb 2008 12:43:04 -0000	1.8
+++ .cvsignore	21 Nov 2008 13:43:53 -0000	1.9
@@ -1 +1 @@
-LinLibertineSRC-2.7.tgz
+LinLibertineSRC-4.1.8.tgz


Index: linux-libertine-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/linux-libertine-fonts/F-10/linux-libertine-fonts.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- linux-libertine-fonts.spec	3 Sep 2008 21:23:24 -0000	1.9
+++ linux-libertine-fonts.spec	21 Nov 2008 13:43:53 -0000	1.10
@@ -1,18 +1,20 @@
 %define archivename     LinLibertineSRC
 %define fontdir         %{_datadir}/fonts/linux-libertine
 
+
 Name:          linux-libertine-fonts
-Version:       2.7.9
-Release:       2%{?dist}
+Version:       4.1.8
+Release:       1%{?dist}
 Summary:       Linux Libertine Open Fonts
 Group:         User Interface/X
 License:       GPLv2+ with exceptions or OFL
 URL:           http://linuxlibertine.sf.net
-Source:        http://dl.sf.net/linuxlibertine/%{archivename}-2.7.tgz
+Source:        http://dl.sf.net/linuxlibertine/%{archivename}-%{version}.tgz
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:     noarch
 BuildRequires: fontforge
 
+
 %description
 The Linux Libertine Open Fonts are a TrueType font family for practical
 use in documents. They were created to provide a free alternative to
@@ -27,9 +29,18 @@
 %build
 fontforge -script "-" *.sfd <<EOF
 i = 1
-while ( i < \$argc )
-  Open (\$argv[i], 1)
-  Generate (\$fontname + ".ttf")
+while (i < \$argc)
+  Open(\$argv[i], 1)
+  fontname = StrJoin(StrSplit(\$fontname, "O"), "")
+  familyname = StrJoin(StrSplit(\$familyname, " O"), "")
+  fullname = StrJoin(StrSplit(\$fullname, " O"), "")
+  SetFontNames(fontname, familyname, fullname)
+  ScaleToEm(2048)
+  RoundToInt()
+  SetFontOrder(2)
+  SelectAll()
+  AutoInstr()
+  Generate(\$fontname + ".ttf")
   Close()
   i++
 endloop
@@ -38,9 +49,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
-install -p -m 0644 *.ttf  $RPM_BUILD_ROOT%{fontdir}
+install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
 
 
 %clean
@@ -49,26 +59,30 @@
 
 %post
 if [ -x %{_bindir}/fc-cache ]; then
-  %{_bindir}/fc-cache %{_datadir}/fonts
+  %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
 %postun
-if [ "$1" = "0" ]; then
+if [ $1 -eq 0 ]; then
   if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache %{_datadir}/fonts
+    %{_bindir}/fc-cache %{fontdir} || :
   fi
 fi
 
 
 %files
 %defattr(644,root,root,755)
-%doc Bugs Readme *.txt
+%doc Readme *.txt
 %dir %{fontdir}
 %{fontdir}/*.ttf
 
 
 %changelog
+* Fri Nov 21 2008 Frank Arnold <frank at scirocco-5v-turbo.de> 4.1.8-1
+- Updated to 4.1.8
+- Modified build procedure according to GENERATING.txt
+
 * Wed Sep 3 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
 -  2.7.9-2
 âš™ Rebuild with pre-F10-freeze fontforge


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/linux-libertine-fonts/F-10/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	3 Feb 2008 12:43:04 -0000	1.8
+++ sources	21 Nov 2008 13:43:53 -0000	1.9
@@ -1 +1 @@
-9a34ee20358d3c5aae7d46ed15e43d73  LinLibertineSRC-2.7.tgz
+e7357378dc803cf6a2823cae032caf24  LinLibertineSRC-4.1.8.tgz




More information about the Fedora-fonts-bugs-list mailing list