From b37670d16e616a92f19183b70972036737fc634f Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Fri, 30 Jul 2010 19:39:39 +0200 Subject: [PATCH] rename downloadable postscript fonts bz #477394 - Please convert to new font packaging guidelines --- groff.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/groff.spec b/groff.spec index d4df230..7674941 100644 --- a/groff.spec +++ b/groff.spec @@ -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 1.20.1-2 +- Resolves: #477394 - Please convert to new font packaging guidelines + * Fri Mar 19 2010 Jan Vcelak - 1.20.1-1 - Resolves: #530788