Resolves:rh#880012 - upstream new release available 2.8
This commit is contained in:
parent
e455dfd1a0
commit
a6236f580d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
ttf-sil-padauk-2.4.tar.gz
|
||||
/ttf-sil-padauk-2.8.tar.gz
|
||||
/padauk-2.8.zip
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user