Resolves:rh#880037 - Update Source URL in spec file

This commit is contained in:
Parag Nemade 2012-11-26 11:26:33 +05:30
parent 7d3c6eed8e
commit 81ac7a7185
2 changed files with 10 additions and 5 deletions

View File

@ -3,21 +3,21 @@
Name: %{fontname}-fonts Name: %{fontname}-fonts
Version: 2.000 Version: 2.000
Release: 8%{?dist} Release: 9%{?dist}
Summary: Font for Nepali language Summary: Font for Nepali language
Group: User Interface/X Group: User Interface/X
License: GPL+ License: GPL+
URL: http://madanpuraskar.org/ URL: http://madanpuraskar.org/
#Note if downloading this URL using wget,move this file to madan.zip # Found new following working Source URL. Use wget to download this archive
#Source0: http://madanpuraskar.org/index.php?option=com_docman&task=doc_download&gid=8&Itemid=63 Source0: http://download.com.np/uploads/nepali_unicode/madan.zip
Source0: madan.zip Source1: %{name}-fontconfig.conf
Source1: %{fontconf}
Source2: ttf2sfd.pe Source2: ttf2sfd.pe
Source3: sfd2ttf.pe Source3: sfd2ttf.pe
BuildArch: noarch BuildArch: noarch
BuildRequires: fontforge BuildRequires: fontforge
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem Requires: fontpackages-filesystem
# This patch will make sure "fc-scan madan.ttf |grep lang:" will show ne
Patch0: madan-fonts-2.000-bug842965-u0970.patch Patch0: madan-fonts-2.000-bug842965-u0970.patch
%description %description
@ -31,7 +31,9 @@ for file in madan/license.txt; do
touch -r $file $file.new && \ touch -r $file $file.new && \
mv $file.new $file mv $file.new $file
done done
cp -p %{SOURCE2} %{SOURCE3} . cp -p %{SOURCE2} %{SOURCE3} .
chmod 755 ttf2sfd.pe sfd2ttf.pe chmod 755 ttf2sfd.pe sfd2ttf.pe
./ttf2sfd.pe madan/*.ttf ./ttf2sfd.pe madan/*.ttf
rm -rf madan/*ttf rm -rf madan/*ttf
@ -59,6 +61,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
%changelog %changelog
* Mon Nov 26 2012 Parag <pnemade AT redhat DOT com> - 2.000-9
- Resolves:rh#880037 - Update Source URL in spec file
* Fri Aug 03 2012 Parag <pnemade AT redhat DOT com> - 2.000-8 * Fri Aug 03 2012 Parag <pnemade AT redhat DOT com> - 2.000-8
- Resolves: rh#842965, added character u0970 - Resolves: rh#842965, added character u0970
- Enabled autohint in fontconf file - Enabled autohint in fontconf file