old-www/HOWTO/Font-HOWTO/bcisrcrpm.html

198 lines
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Recompiling an RPM Ready for Your Distribution</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Optimal Use of Fonts on Linux"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Recompiling FreeType for BCI"
HREF="bci.html"><LINK
REL="NEXT"
TITLE="We Need Your Help"
HREF="contrib.html"></HEAD
><BODY
CLASS="appendix"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Optimal Use of Fonts on Linux</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="bci.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="contrib.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="appendix"
><H1
CLASS="appendix"
><A
NAME="bcisrcrpm"
></A
>B. Recompiling an RPM Ready for Your Distribution</H1
><P
>If your distribution appears in the list on <A
HREF="fix.html#freetype"
>Section 3.1</A
> but you can't find the binary package for your platform (for example x86_64), you can easily create the RPM compatible with your system following this steps:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Have installed compiler and development packages on your system</P
></LI
><LI
><P
>Download the source RPM file (<TT
CLASS="filename"
>.src.rpm</TT
> extension) for your distribution from <A
HREF="fix.html#freetype"
>Section 3.1</A
>. For example, on Fedora 5, the correct source package is <A
HREF=""
TARGET="_top"
>this one</A
>.</P
></LI
><LI
><P
>As root, do this command:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>bash# rpmbuild --rebuild [the .src.rpm file you just downloaded]</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>Find the binary RPMs for your platform at <TT
CLASS="filename"
>/usr/src/rpm</TT
> or <TT
CLASS="filename"
>/usr/src/redhat</TT
>.</P
></LI
><LI
><P
>Send them to us so we can publish them on this documentation.</P
></LI
></OL
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="bci.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="contrib.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Recompiling FreeType for BCI</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>We Need Your Help</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>