diff --git a/.gitignore b/.gitignore index f5ab55d..20bfc04 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ liberation-fonts-ttf-1.06.0.20100721.tar.gz /liberation-fonts-1.07.1.tar.gz /liberation-fonts-1.07.2.tar.gz /liberation-fonts-2.00.0.tar.gz +/liberation-fonts-2.00.1.tar.gz diff --git a/generate.pe b/generate.pe deleted file mode 100644 index bf9bcb2..0000000 --- a/generate.pe +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env fontforge - -# script file for FontForge for TTF generation -# usage: -# mkdir TTFfiles -# chmod +x generate.pe -# ./generate.pe *.sfd - -if ($version < "20061220") - Error("Your version of FontForge is too old - 20061220 or newer is required"); -endif -i = 1 -while ( i < $argc ) - Open($argv[i], 1) - #Use gen_flags=Defualt fmflags value as -1 - gen_flags = -1 - Generate("" + $fontname + ".ttf", "", gen_flags) - i++ -endloop diff --git a/liberation-fonts.spec b/liberation-fonts.spec index 0ef2066..e408a59 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -10,19 +10,20 @@ New. Name: %{fontname}-fonts Summary: Fonts to replace commonly used Microsoft Windows fonts -Version: 2.00.0 -Release: 2%{?dist} +Version: 2.00.1 +Release: 1%{?dist} License: OFL Group: User Interface/X URL: http://fedorahosted.org/liberation-fonts/ Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/%{archivename}.tar.gz -Source1: generate.pe Source2: 30-0-liberation-mono.conf Source3: 30-0-liberation-sans.conf Source4: 30-0-liberation-serif.conf BuildArch: noarch BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils BuildRequires: fontforge +BuildRequires: python +BuildRequires: fonttools %description %common_desc @@ -90,17 +91,10 @@ New. %prep %setup -q -n %{archivename} -rm -rf scripts -mv src/* . -rm -rf src -cp -p %{SOURCE1} . -chmod 755 generate.pe %build -./generate.pe *.sfd -mv LiberationMono.ttf LiberationMono-Regular.ttf -mv LiberationSerif.ttf LiberationSerif-Regular.ttf -mv LiberationSans.ttf LiberationSans-Regular.ttf +make +mv liberation-fonts-ttf-%{version}/* . %install @@ -134,6 +128,9 @@ mkfontdir %{buildroot}%{_fontdir} mkfontscale %{buildroot}%{_fontdir} %changelog +* Thu Oct 04 2012 Pravin Satpute - 2.00.1-1 +- Upstream release of 2.00.1 version + * Wed Sep 12 2012 Pravin Satpute - 2.00.0-2 - Removed fontconf files of 59 priority, now only has 30-0 alias file diff --git a/sources b/sources index 05be11e..b831750 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5b5055ed755025891f908b7726fea482 liberation-fonts-2.00.0.tar.gz +82ea190587aaeeb0fffb7a39dc323eab liberation-fonts-2.00.1.tar.gz