Accepting request 263573 from Publishing
1 OBS-URL: https://build.opensuse.org/request/show/263573 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sgml-skel?expand=0&rev=18
This commit is contained in:
@@ -4,14 +4,16 @@
|
|||||||
# This program is under GPL license. See LICENSE file for details.
|
# This program is under GPL license. See LICENSE file for details.
|
||||||
|
|
||||||
# Set help message
|
# Set help message
|
||||||
SGML_HELP_MESSAGE="Usage: `basename $0` [<option>] <action>\n\
|
SGML_HELP_MESSAGE="\
|
||||||
where <option> is:\n\
|
Usage: `basename $0` [<option>] <action>
|
||||||
\040 -d|--delegate: \t\t\t Use DELEGATE instead of CATALOG\n\
|
where <option> is:
|
||||||
and where <action> is:\n\
|
-d|--delegate: Use DELEGATE instead of CATALOG
|
||||||
\040 -a|--add <centralized> <ordinary>: \t Declare ordinary catalog in the centralized catalog\n\
|
and where <action> is:
|
||||||
\040 -r|--remove <centralized> <ordinary>:\t Remove ordinary catalog from the centralized catalog\n\
|
-a|--add <centralized> <ordinary>: Declare ordinary catalog in the centralized catalog
|
||||||
\040 -h, --help: \t\t\t\t Print this help message and exit\n\
|
-r|--remove <centralized> <ordinary>: Remove ordinary catalog from the centralized catalog
|
||||||
\040 -v, --version: \t\t\t Print the version number and exit\n"
|
-h, --help: Print this help message and exit
|
||||||
|
-v, --version: Print the version number and exit
|
||||||
|
"
|
||||||
|
|
||||||
# Set version message
|
# Set version message
|
||||||
SGML_VERSION_MESSAGE="sgml-common version @VERSION@ (install-catalog version 1.0)"
|
SGML_VERSION_MESSAGE="sgml-common version @VERSION@ (install-catalog version 1.0)"
|
||||||
@@ -48,16 +50,16 @@ case $1 in
|
|||||||
SGML_CENTRALIZED=$2
|
SGML_CENTRALIZED=$2
|
||||||
SGML_ORDINARY=$3
|
SGML_ORDINARY=$3
|
||||||
;;
|
;;
|
||||||
-h|--help) echo -e $SGML_HELP_MESSAGE
|
-h|--help) echo $SGML_HELP_MESSAGE
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
-v|--version) echo -e $SGML_VERSION_MESSAGE
|
-v|--version) echo $SGML_VERSION_MESSAGE
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
--install) echo "install-catalog: Old syntax; doing nothing"
|
--install) echo "install-catalog: Old syntax; doing nothing"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*) echo -e $SGML_HELP_MESSAGE >&2
|
*) echo $SGML_HELP_MESSAGE >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -88,7 +90,7 @@ esac
|
|||||||
# Check that the centralized catalog can be created, changed and deleted
|
# Check that the centralized catalog can be created, changed and deleted
|
||||||
if [ -z "$SGML_CENTRALIZED" ]
|
if [ -z "$SGML_CENTRALIZED" ]
|
||||||
then
|
then
|
||||||
echo -e $SGML_HELP_MESSAGE >&2
|
echo $SGML_HELP_MESSAGE >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
case $SGML_ACTION in
|
case $SGML_ACTION in
|
||||||
@@ -111,7 +113,7 @@ esac
|
|||||||
# Check that we have at least one ordinary package to process
|
# Check that we have at least one ordinary package to process
|
||||||
if [ -z "$SGML_ORDINARY" ]
|
if [ -z "$SGML_ORDINARY" ]
|
||||||
then
|
then
|
||||||
echo -e $SGML_HELP_MESSAGE >&2
|
echo $SGML_HELP_MESSAGE >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
case $SGML_ACTION in
|
case $SGML_ACTION in
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 30 01:21:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- remove '-e' option of 'echo' command in install-catalog script.
|
||||||
|
That option may be unsupported in some POSIX-complete shells
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 1 16:49:07 UTC 2011 - coolo@suse.com
|
Thu Dec 1 16:49:07 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sgml-skel
|
# spec file for package sgml-skel
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,18 +15,19 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: sgml-skel
|
Name: sgml-skel
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libxml2
|
BuildRequires: libxml2
|
||||||
Summary: Helper Scripts for the SGML System
|
Summary: Helper Scripts for the SGML System
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: Productivity/Publishing/SGML
|
||||||
Version: 0.6
|
Version: 0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Group: Productivity/Publishing/SGML
|
|
||||||
Requires: libxml2
|
Requires: libxml2
|
||||||
PreReq: /bin/awk
|
PreReq: /bin/awk
|
||||||
PreReq: /bin/mv
|
PreReq: /bin/mv
|
||||||
PreReq: /bin/chmod
|
PreReq: /bin/chmod
|
||||||
License: GPL-2.0+
|
|
||||||
# URL:
|
# URL:
|
||||||
Source0: http://www.suse.de/~ke/%{name}/%{name}-%{version}.tar.bz2
|
Source0: http://www.suse.de/~ke/%{name}/%{name}-%{version}.tar.bz2
|
||||||
# :pserver:anoncvs@sources.redhat.com:/cvs/docbook-tools
|
# :pserver:anoncvs@sources.redhat.com:/cvs/docbook-tools
|
||||||
|
Reference in New Issue
Block a user