.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH RPMDEV-NEWSPEC "1" "June 2025" "rpmdev-newspec version 2.4" "User Commands" .SH NAME rpmdev-newspec \- manual page for rpmdev-newspec version 2.4 .SH SYNOPSIS .B rpmdev-newspec [\fI\,option\/\fR]... [\fI\,appname\/\fR[\fI\,.spec\/\fR]] .SH DESCRIPTION rpmdev\-newspec generates new rpm .spec files from templates. .SH OPTIONS .HP \fB\-o\fR FILE, \fB\-\-output\fR FILE .IP Output the specfile to FILE. "\-" means stdout. The default is derived from , or "newpackage.spec" if is not given. .HP \fB\-t\fR TYPE, \fB\-\-type\fR TYPE .IP Force use of the TYPE spec template. The default is guessed from , falling back to "minimal" if the guesswork does not result in a more specific one or if is not given. .TP \fB\-m\fR, \fB\-\-macros\fR Emit templates using macros instead of shell style variables. Configuration variable: NEWSPEC_PREFER_MACROS, default is off. .HP \fB\-D\fR, \fB\-\-legacy\-datestamp\fR .IP Use use legacy datestamp for changelog entries. Configuration variable: NEWSPEC_LEGACY_DATESTAMP, default is off. .HP \fB\-r\fR VERSION, \fB\-\-rpm\-version\fR VERSION .IP Filter out some spec file constructs not needed by the specified rpm(build) version and newer ones. Configuration variable: NEWSPEC_MIN_RPMVER, default is system rpm version. .TP \fB\-h\fR, \fB\-\-help\fR Show this usage message and exit. .TP \fB\-v\fR, \fB\-\-version\fR Print version information and exit. .SH FILES \fI\,/etc/rpmdevtools\/\fP .IP Directory for specfile templates. .PP \fI\,/etc/rpmdevtools/newspec.conf\/\fP .IP System wide configuration. .SH "REPORTING BUGS" Report bugs at , component rpmdevtools, or at . .SH COPYRIGHT Copyright \(co Warren Togami , Ville Skytt?? This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.