/usr/share/GNUstep/Documentation/Developer/Make/Manual/gnustep-make/rpm_002emake.html is in gnustep-make-doc 2.6.6-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
<head>
<title>GNUstep Makefile Package: rpm.make</title>
<meta name="description" content="GNUstep Makefile Package: rpm.make">
<meta name="keywords" content="GNUstep Makefile Package: rpm.make">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<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.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.indentedblock {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
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.nocodebreak {white-space:nowrap}
span.nolinebreak {white-space:nowrap}
span.roman {font-family:serif; font-weight:normal}
span.sansserif {font-family:sans-serif; font-weight:normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<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> </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>
</body>
</html>
|