spec-create: new option '--changelog'

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-07 21:26:51 +01:00
parent 9421ad3760
commit 15825d0a4b
3 changed files with 31 additions and 3 deletions

View File

@ -1,3 +1,16 @@
Changes in version 1.14.1 - _TO*Hacklab release
Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* plugins/spec-create - Davide Madrisan:
New option '--changeglog'.
+ update
* po/it/spec-create - Davide Madrisan:
Updated.
-------------------------------------------------------------------------------
Changes in version 1.14.0
Thu Nov 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>

View File

@ -95,7 +95,8 @@ function usage() {
"$"Try to create a specfile for the specified source archive"".
"$"Usage"":
@frontend@ -s <source-archive> [-n <name>] [-v <ver>] [-t <type>] [-o <outfile>]
@frontend@ -s <source-archive> [-n <name>] [-v <ver>] [-t <type>] \\
[-o <outfile>] [--changelog \""$"message""\"] [<"$"git-opts"">]
"$"where the above options mean"":
-s, --source "$"Try to create a specfile for the specified source archive""
@ -111,6 +112,7 @@ function usage() {
python : "$"specfile for python modules""
standard-daemon : "$"standard specfile for system/network services""
-o, --output "$"Redirect the output to the file <outfile>""
--changelog "$"Set change information for the package""
--git-branch "$"Specify a git branch""
--preserve-dot-git "$"Do not remove git files""
@ -124,6 +126,7 @@ function usage() {
"$"Samples"":
@frontend@ -s ~/software/@package@-@version@.tar.bz2 -t standard -o @package@.spec
@frontend@ -s http://ftp.qilinux.it/devel/tools/@package@/@package@-@version@.tar.bz2
@frontend@ -s @package@-@version@.tar.bz2 --changelog \"First build\"
@frontend@ -s git://anongit.freedesktop.org/gstreamer/gst-omx \\
--git-branch=\"raspberry\" --preserve-dot-git -o gst-omx.spec
@ -157,7 +160,8 @@ config.check4user
exec_options=`LC_ALL=C getopt \
-o s:n:v:t:o:DqrhV \
--long \
source:,pck-name:,pck-version:,type:,output:,git-branch:,preserve-dot-git,\
source:,pck-name:,pck-version:,type:,output:,changelog:,\
git-branch:,preserve-dot-git,\
debug,quiet,colorize,help,version,\
frontend_opts: \
-n "$me" -- "$@"`
@ -181,6 +185,8 @@ while :; do
spec_type=$2; shift ;;
-o|--output)
outfile=$2; shift ;;
--changelog)
spec_changelog_comment="$2"; shift ;;
--git-branch)
git_branch=$2; shift ;;
--preserve-dot-git)

View File

@ -37,6 +37,12 @@ msgstr "Cerca di creare uno specfile per l'archivio sorgente indicato"
msgid "Usage"
msgstr "Utilizzo"
msgid "message"
msgstr "messaggio"
msgid "git-opts"
msgstr "opzioni-git"
msgid "where the above options mean"
msgstr "dove le precedenti opzioni significano"
@ -103,6 +109,9 @@ msgstr "Attiva la modalità di debugging (output prolisso)"
msgid "Samples"
msgstr "Alcuni esempi"
msgid "Set change information for the package"
msgstr "Scrive il messaggio indicato nel changelog del pacchetto"
msgid "Report bugs to <davide.madrisan@gmail.com>."
msgstr "Segnalare eventuali bug a <davide.madrisan@gmail.com>."