Debian Codegraph @

upstream/mageia-cauldron/man1/rpmdev-newspec.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
2 .TH RPMDEV-NEWSPEC "1" "June 2025" "rpmdev-newspec version 2.4" "User Commands"
3 .SH NAME
4 rpmdev-newspec \- manual page for rpmdev-newspec version 2.4
5 .SH SYNOPSIS
6 .B rpmdev-newspec
7 [\fI\,option\/\fR]... [\fI\,appname\/\fR[\fI\,.spec\/\fR]]
8 .SH DESCRIPTION
9 rpmdev\-newspec generates new rpm .spec files from templates.
10 .SH OPTIONS
11 .HP
12 \fB\-o\fR FILE, \fB\-\-output\fR FILE
13 .IP
14 Output the specfile to FILE. "\-" means stdout. The default is
15 derived from <appname>, or "newpackage.spec" if <appname> is
16 not given.
17 .HP
18 \fB\-t\fR TYPE, \fB\-\-type\fR TYPE
19 .IP
20 Force use of the TYPE spec template. The default is guessed
21 from <appname>, falling back to "minimal" if the guesswork
22 does not result in a more specific one or if <appname> is not
23 given.
24 .TP
25 \fB\-m\fR, \fB\-\-macros\fR
26 Emit templates using macros instead of shell style variables.
27 Configuration variable: NEWSPEC_PREFER_MACROS, default is off.
28 .HP
29 \fB\-D\fR, \fB\-\-legacy\-datestamp\fR
30 .IP
31 Use use legacy datestamp for changelog entries.
32 Configuration variable: NEWSPEC_LEGACY_DATESTAMP, default is off.
33 .HP
34 \fB\-r\fR VERSION, \fB\-\-rpm\-version\fR VERSION
35 .IP
36 Filter out some spec file constructs not needed by the
37 specified rpm(build) version and newer ones. Configuration
38 variable: NEWSPEC_MIN_RPMVER, default is system rpm version.
39 .TP
40 \fB\-h\fR, \fB\-\-help\fR
41 Show this usage message and exit.
42 .TP
43 \fB\-v\fR, \fB\-\-version\fR
44 Print version information and exit.
45 .SH FILES
46 \fI\,/etc/rpmdevtools\/\fP
47 .IP
48 Directory for specfile templates.
49 .PP
50 \fI\,/etc/rpmdevtools/newspec.conf\/\fP
51 .IP
52 System wide configuration.
53 .SH "REPORTING BUGS"
54 Report bugs at <https://bugzilla.redhat.com/>, component rpmdevtools,
55 or at <https://pagure.io/rpmdevtools/issues>.
56 .SH COPYRIGHT
57 Copyright \(co Warren Togami <[email protected]>, Ville Skytt??
58 <[email protected]>
59 This program is free software; you can redistribute it and/or modify
60 it under the terms of the GNU General Public License as published by
61 the Free Software Foundation; either version 2 of the License, or
62 (at your option) any later version.