rename downloadable postscript fonts

bz #477394 - Please convert to new font packaging guidelines
This commit is contained in:
Jan Vcelak 2010-07-30 19:39:39 +02:00
parent e9d009ca2a
commit b37670d16e

View File

@ -3,7 +3,7 @@
Summary: A document formatting system
Name: groff
Version: 1.20.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+ and GFDL and BSD and MIT
Group: Applications/Publishing
URL: http://groff.ffii.org
@ -125,6 +125,15 @@ done
cp BUG-REPORT COPYING FDL LICENSES MORE.STUFF NEWS PROBLEMS %{buildroot}%{_docdir}/%{name}-%{version}
# rename groff downloadable postscript fonts to meet Fedora Font Packaging guidelines, as these files
# are more PS instructions, than general-purpose fonts (bz #477394)
for file in $(find %{buildroot}%{_datadir}/%{name}/%{version}/font/devps -name "*.pfa"); do
mv ${file} ${file}_
done
sed --in-place 's/\.pfa$/.pfa_/' %{buildroot}%{_datadir}/%{name}/%{version}/font/devps/download
# remove unnecessary files and fix privileges
rm -f %{buildroot}%{_infodir}/dir
@ -189,6 +198,9 @@ fi
%doc %{_docdir}/%{name}-%{version}/pdf/
%changelog
* Fri Jul 30 2010 Jan Vcelak <jvcelak@redhat.com> 1.20.1-2
- Resolves: #477394 - Please convert to new font packaging guidelines
* Fri Mar 19 2010 Jan Vcelak <jvcelak@redhat.com> - 1.20.1-1
- Resolves: #530788