demo.plug.1rrp man page

demo.plug — a dummy plugin for rpmrebuild, to show how the plugin work on spec file

Synopsis

rpmrebuild --include demo.plug <packagename>
or
rpmrebuild --change-spec-{type}="demo.sh [option]" <packagename>

the first form apply all changes
the second allow to choose which part to change, and plugin options

Description

this plugin is to show how the plugin work
it will just add plugin type name begin of line in spec file. The spec file will not work any more but will show which parts can be modified

Options

-h, --help
output help information plugins option and exit.
-v, --version
print plugin version and exit
-n, --null
do not add anything : just echo spec file

Files

demo.plug
is the 'include file' for a quicker use
demo.sh
contains the code for change-spec*
demo.plug.1
is this man page

Examples

rpmrebuild --include demo.plug rpm

will build, apply plugin to spec file, then edit it

Authors

Eric Gerbier <gerbier@users.sourceforge.net>

See <URL:http://rpmrebuild.sourceforge.net/>.

Notes

this plugin is given as an example of what can be done

See Also

rpm(8), rpmbuild(8), rpmrebuild_plugins(1)
compat_digest.plug(1), demo.plug(1), demofiles.plug(1), nodoc.plug(1), uniq.plug(1), file2pacDep.plug(1) set_tag.plug(1) unset_tag.plug(1)
man -k rrp for plugins specific manpages

Info

2.11 Eric Gerbier rpmrebuild plugin