rename downloadable postscript fonts
bz #477394 - Please convert to new font packaging guidelines
This commit is contained in:
parent
e9d009ca2a
commit
b37670d16e
14
groff.spec
14
groff.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: A document formatting system
|
Summary: A document formatting system
|
||||||
Name: groff
|
Name: groff
|
||||||
Version: 1.20.1
|
Version: 1.20.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3+ and GFDL and BSD and MIT
|
License: GPLv3+ and GFDL and BSD and MIT
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
URL: http://groff.ffii.org
|
URL: http://groff.ffii.org
|
||||||
@ -125,6 +125,15 @@ done
|
|||||||
|
|
||||||
cp BUG-REPORT COPYING FDL LICENSES MORE.STUFF NEWS PROBLEMS %{buildroot}%{_docdir}/%{name}-%{version}
|
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
|
# remove unnecessary files and fix privileges
|
||||||
|
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
@ -189,6 +198,9 @@ fi
|
|||||||
%doc %{_docdir}/%{name}-%{version}/pdf/
|
%doc %{_docdir}/%{name}-%{version}/pdf/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 19 2010 Jan Vcelak <jvcelak@redhat.com> - 1.20.1-1
|
||||||
- Resolves: #530788
|
- Resolves: #530788
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user