Resolves:rh#880012 - upstream new release available 2.8

This commit is contained in:
Parag 2012-11-30 11:24:30 +05:30
parent e455dfd1a0
commit a6236f580d
3 changed files with 8 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
ttf-sil-padauk-2.4.tar.gz ttf-sil-padauk-2.4.tar.gz
/ttf-sil-padauk-2.8.tar.gz /ttf-sil-padauk-2.8.tar.gz
/padauk-2.8.zip

View File

@ -1,6 +1,6 @@
%global fontname sil-padauk %global fontname sil-padauk
%global fontconf 65-%{fontname}.conf %global fontconf 65-%{fontname}.conf
%global archivename ttf-sil-padauk-2.8 %global archivename padauk-2.8
Name: %{fontname}-fonts Name: %{fontname}-fonts
Version: 2.8 Version: 2.8
@ -11,7 +11,7 @@ Group: User Interface/X
License: OFL License: OFL
URL: http://scripts.sil.org/Padauk URL: http://scripts.sil.org/Padauk
# The source link is a redirect and is not directly accessible # The source link is a redirect and is not directly accessible
Source0: %{archivename}.tar.gz Source0: %{archivename}.zip
Source1: %{name}-fontconfig.conf Source1: %{name}-fontconfig.conf
BuildArch: noarch BuildArch: noarch
@ -26,14 +26,8 @@ The font is a smart font using a Graphite description.
%prep %prep
%setup -q -c %setup -q -n padauk-2.80
for txt in doc/*.txt ; do sed -i 's/\r//' OFL.txt
fold -s $txt > $txt.new
sed -i 's/\r//' $txt.new
touch -r $txt $txt.new
mv $txt.new $txt
done
%build %build
# Nothing there # Nothing there
@ -53,7 +47,8 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf} %{buildroot}%{_fontconfig_confdir}/%{fontconf}
%_font_pkg -f %{fontconf} *.ttf %_font_pkg -f %{fontconf} *.ttf
%doc doc/*.txt
%doc *.txt

View File

@ -1 +1 @@
4d0197ba31a782e91178a4fe017741a2 ttf-sil-padauk-2.8.tar.gz 5601d47d09ea76d271abd624638a3c5b padauk-2.8.zip