[sil-padauk-fonts] Resolves:rh#880012 - upstream new release available 2.8
paragn
paragn at fedoraproject.org
Fri Nov 30 05:58:08 UTC 2012
commit a6236f580da803a62315e25ecf61db73bf43bd71
Author: Parag <paragn at fedoraproject.org>
Date: Fri Nov 30 11:24:30 2012 +0530
Resolves:rh#880012 - upstream new release available 2.8
.gitignore | 1 +
sil-padauk-fonts.spec | 17 ++++++-----------
sources | 2 +-
3 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 83bc482..a40349f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
ttf-sil-padauk-2.4.tar.gz
/ttf-sil-padauk-2.8.tar.gz
+/padauk-2.8.zip
diff --git a/sil-padauk-fonts.spec b/sil-padauk-fonts.spec
index cda7ff0..1d59325 100644
--- a/sil-padauk-fonts.spec
+++ b/sil-padauk-fonts.spec
@@ -1,6 +1,6 @@
%global fontname sil-padauk
%global fontconf 65-%{fontname}.conf
-%global archivename ttf-sil-padauk-2.8
+%global archivename padauk-2.8
Name: %{fontname}-fonts
Version: 2.8
@@ -11,7 +11,7 @@ Group: User Interface/X
License: OFL
URL: http://scripts.sil.org/Padauk
# The source link is a redirect and is not directly accessible
-Source0: %{archivename}.tar.gz
+Source0: %{archivename}.zip
Source1: %{name}-fontconfig.conf
BuildArch: noarch
@@ -26,14 +26,8 @@ The font is a smart font using a Graphite description.
%prep
-%setup -q -c
-for txt in doc/*.txt ; do
- fold -s $txt > $txt.new
- sed -i 's/\r//' $txt.new
- touch -r $txt $txt.new
- mv $txt.new $txt
-done
-
+%setup -q -n padauk-2.80
+sed -i 's/\r//' OFL.txt
%build
# Nothing there
@@ -53,7 +47,8 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%_font_pkg -f %{fontconf} *.ttf
-%doc doc/*.txt
+
+%doc *.txt
diff --git a/sources b/sources
index 8561bee..c8e1d06 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4d0197ba31a782e91178a4fe017741a2 ttf-sil-padauk-2.8.tar.gz
+5601d47d09ea76d271abd624638a3c5b padauk-2.8.zip
More information about the fonts-bugs
mailing list