[paktype-naqsh-fonts] upstream 3.1 release
Pravin Satpute
pravins at fedoraproject.org
Mon Sep 3 10:16:00 UTC 2012
commit d450153b96cfc982b668efa2328487c80be63ace
Author: प्रविण सातपुते <psatpute at redhat.com>
Date: Mon Sep 3 15:45:25 2012 +0530
upstream 3.1 release
.gitignore | 1 +
paktype-naqsh-fonts.spec | 39 ++++++++++++++-------------------------
sources | 2 +-
3 files changed, 16 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7d0acfe..96f5218 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
PakType_Naqsh.ttf
Naqsh-3.0.tar.gz
+/PakType-Naqsh-3.1.tar.gz
diff --git a/paktype-naqsh-fonts.spec b/paktype-naqsh-fonts.spec
index 68e2c39..cb325ce 100644
--- a/paktype-naqsh-fonts.spec
+++ b/paktype-naqsh-fonts.spec
@@ -1,19 +1,17 @@
-%define fontname paktype-naqsh
-%define fontconf 67-paktype
-%define fontdir %{_datadir}/fonts/%{fontname}
+%global fontname paktype-naqsh
+%global fontconf 67-paktype
Name: %{fontname}-fonts
-Version: 3.0
-Release: 7%{?dist}
+Version: 3.1
+Release: 1%{?dist}
Summary: Fonts for Arabic from PakType
Group: User Interface/X
License: GPLv2 with exceptions
URL: https://sourceforge.net/projects/paktype/
-Source0: http://downloads.sourceforge.net/project/paktype/Naqsh-3.0.tar.gz
+Source0: http://nchc.dl.sourceforge.net/project/paktype/Individual-Release/PakType-Naqsh-3.1.tar.gz
Source1: %{fontconf}-naqsh.conf
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
Obsoletes: paktype-fonts-common < %{version}i-%{release}
@@ -25,29 +23,19 @@ Arabic from the PakType by Lateef Sagar.
%prep
%setup -q -c
-rm -rf Naqsh-3.0/Project\ files/
+rm -rf Code
# get rid of the white space (' ')
-mv Naqsh-3.0/Ready*/PakType\ Naqsh.ttf PakType_Naqsh.ttf
-mv Naqsh-3.0/License\ files/PakType\ Naqsh\ License.txt PakType_Naqsh_License.txt
+mv PakType\ Naqsh.ttf PakType_Naqsh.ttf
+mv PakType\ Naqsh\ License.txt PakType_Naqsh_License.txt
+mv PakType\ Naqsh\ Features.pdf PakType_Naqsh_Features.pdf
%{__sed} -i 's/\r//' PakType_Naqsh_License.txt
-
-for txt in Naqsh-3.0/Readme.txt ; do
- fold -s $txt > $txt.new
- sed -i 's/\x92//g' $txt.new
- sed -i 's/\x93//g' $txt.new
- sed -i 's/\x94//g' $txt.new
- sed -i 's/\x96//g' $txt.new
- sed -i 's/\r//' $txt.new
- touch -r $txt $txt.new
- mv $txt.new $txt
-done
+chmod a-x PakType_Naqsh.ttf PakType_Naqsh_License.txt PakType_Naqsh_Features.pdf
%build
echo "Nothing to do in Build."
%install
-rm -rf $RPM_BUILD_ROOT
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
install -m 0644 -p PakType_Naqsh.ttf $RPM_BUILD_ROOT%{_fontdir}
@@ -60,14 +48,15 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf}-naqsh.conf \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}-naqsh.conf
-%clean
-rm -rf $RPM_BUILD_ROOT
%_font_pkg -f %{fontconf}-naqsh.conf PakType_Naqsh.ttf
-%doc PakType_Naqsh_License.txt Naqsh-3.0/Readme.txt
+%doc PakType_Naqsh_License.txt PakType_Naqsh_Features.pdf
%changelog
+* Mon Sep 03 2012 Pravin Satpute <psatpute at redhat.com> - 3.1-1
+- upstream 3.1 release
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 8667372..388a54c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8fbe43a931dea72e87a5b0807278e988 Naqsh-3.0.tar.gz
+19952b7f3dac39370f65064328be02b5 PakType-Naqsh-3.1.tar.gz
More information about the fonts-bugs
mailing list