[Bug 477416] Please convert to new font packaging guidelines
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jan 15 18:22:26 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477416
--- Comment #12 from Nicolas Mailhot <nicolas.mailhot at laposte.net> 2009-01-15 13:22:25 EDT ---
1. You need to install your otf files in %{_fontdir} (you can keep the mf ones)
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
2. Replace your %_font_pkg calls like
%_font_pkg -n centuryschl-fonts lilypond/%{version}/fonts/otf/CenturySchL*otf
by
%_font_pkg -n centuryschl CenturySchL*otf
(are the fonts really named centuryschl BTW?)
3. create a -fonts-common subpackage that will own %{_fontdir}
%files fonts-common
%defattr(0644,root,root,0755)
%doc
%dir %{_fontdir}
4. make sure you use the fontpackages version in rawhide
http://koji.fedoraproject.org/koji/buildinfo?buildID=78561
5. and probably add symlinks to your main package so your app still sees the
otf files in the place it's used to
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-fonts-bugs-list
mailing list