rpmdev-newspec (1) Linux Manual Page
NAME
rpmdev-newspec – manual page for rpmdev-newspec version 2.2
SYNOPSIS
rpmdev-newspec [option]… [appname[.spec]]
DESCRIPTION
rpmdev-newspec generates new rpm .spec files from templates.
OPTIONS
-
-oFILE,–outputFILE -
- Output the specfile to FILE. "-" means stdout. The default is derived from <appname>, or "newpackage.spec" if <appname> is not given.
-
-tTYPE,–typeTYPE -
- Force use of the TYPE spec template. The default is guessed from <appname>, falling back to "minimal" if the guesswork does not result in a more specific one or if <appname> is not given.
-m,–macros- Emit templates using macros instead of shell style variables. Configuration variable: NEWSPEC_PREFER_MACROS, default is off.
-
-rVERSION,–rpm-versionVERSION -
- 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.
-h,–help- Show this usage message and exit.
-v,–version- Print version information and exit.
FILES
/etc/rpmdevtools
- Directory for specfile templates.
/etc/rpmdevtools/newspec.conf
- System wide configuration.
REPORTING BUGS
Report bugs at <https://bugzilla.redhat.com/>, component rpmdevtools, or at <https://fedorahosted.org/rpmdevtools/>.
COPYRIGHT
Copyright © Warren Togami <warren [at] togami.com>, Ville Skyttä <ville.skytta [at] iki.fi> 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.
