2008-07-31 Jeff Cai <[email protected]>
authorqc161282
Thu, 31 Jul 2008 13:43:54 +0000
changeset 12969 bcd2a579d556
parent 12968 b94c5e15a3d6
child 12970 4ebdb9a71c40
2008-07-31 Jeff Cai <[email protected]> * SUNWlibgpg-error.spec:Add man pages for libgpg-error. * manpages/Makefile:Add man pages for libgpg-error. * manpages/man1/dumpsexp.1:Change the typo. * manpages/man1/gpg-error-config.1:Added. * manpages/man1/gpg-error.1:Added. * manpages/man3/libgpg-error.3:Added.
ChangeLog
SUNWlibgpg-error.spec
manpages/Makefile
manpages/man1/dumpsexp.1
manpages/man1/gpg-error-config.1
manpages/man1/gpg-error.1
manpages/man3/libgpg-error.3
--- a/ChangeLog	Thu Jul 31 12:35:04 2008 +0000
+++ b/ChangeLog	Thu Jul 31 13:43:54 2008 +0000
@@ -1,3 +1,12 @@
+008-07-31  Jeff Cai <[email protected]>
+
+	* SUNWlibgpg-error.spec:Add man pages for libgpg-error.
+	* manpages/Makefile:Add man pages for libgpg-error.
+	* manpages/man1/dumpsexp.1:Change the typo.
+	* manpages/man1/gpg-error-config.1:Added.
+	* manpages/man1/gpg-error.1:Added.
+	* manpages/man3/libgpg-error.3:Added.
+
 2008-07-31 Jeff Cai <[email protected]> 
 
 	* SUNWgnutls.spec:Move man pages from devel package to the main package.
--- a/SUNWlibgpg-error.spec	Thu Jul 31 12:35:04 2008 +0000
+++ b/SUNWlibgpg-error.spec	Thu Jul 31 13:43:54 2008 +0000
@@ -27,6 +27,7 @@
 %include default-depend.inc
 Requires: SUNWgnome-base-libs
 BuildRequires: SUNWgnome-base-libs-devel
+Source1:    %{name}-manpages-0.1.tar.gz
 
 %package devel
 Summary:       %{summary} - development files
@@ -60,6 +61,10 @@
 
 %libgpgerror.build -d %name-%version/%base_arch
 
+# Expand manpages tarball
+cd %{_builddir}/%name-%version
+gzcat %SOURCE1 | tar xf -
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ifarch amd64 sparcv9
@@ -73,6 +78,9 @@
 #remove this file because SUNWgnome-base-libs deliver same file
 rm -f $RPM_BUILD_ROOT%{_libdir}/charset.alias
 
+cd %{_builddir}/%name-%version/sun-manpages
+make install DESTDIR=$RPM_BUILD_ROOT
+
 %if %build_l10n
 %else
 # REMOVE l10n FILES
@@ -91,6 +99,12 @@
 %ifarch amd64 sparcv9
 %{_libdir}/%{_arch64}/lib*.so*
 %endif
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr(0755, root, bin) %{_mandir}
+%dir %attr(0755, root, bin) %{_mandir}/man1
+%{_mandir}/man1/*
+%dir %attr(0755, root, bin) %{_mandir}/man3
+%{_mandir}/man3/*
 
 %files devel
 %defattr (-, root, bin)
--- a/manpages/Makefile	Thu Jul 31 12:35:04 2008 +0000
+++ b/manpages/Makefile	Thu Jul 31 13:43:54 2008 +0000
@@ -151,7 +151,8 @@
 	SUNWlibgtop  \
 	SUNWgnome-spell \
 	SUNWgnutls \
-	SUNWlibgcrypt
+	SUNWlibgcrypt \
+	SUNWlibgpg-error \
 
 all: TARBALLS
 
@@ -827,6 +828,12 @@
 		man3/libgcrypt.3 
 SUNWlibgcrypt.PAGES: $(SUNWgnome-manager_PAGES)
 
+SUNWlibgpg-error_PAGES =   \
+		man1/gpg-error-config.1 \
+		man1/gpg-error.1 \
+		man3/libgpg-error.3 
+SUNWlibgpg-error.PAGES: $(SUNWgnome-manager_PAGES)
+
 .SUFFIXES: -manpages-$(MANPAGE_VERSION).tar.gz .PAGES
 .SUFFIXES: .check-used .PAGES
 
--- a/manpages/man1/dumpsexp.1	Thu Jul 31 12:35:04 2008 +0000
+++ b/manpages/man1/dumpsexp.1	Thu Jul 31 13:43:54 2008 +0000
@@ -1,6 +1,6 @@
 <!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
 <!--ArborText, Inc., 1988-1999, v.4002-->
-<!--ARC : LSARC 2008/354 dumpsexp-->
+<!--ARC : LSARC 2008/354 libgcrypt-->
 <!ENTITY envr-tt "ENVIRONMENT VARIABLES">
 <!ENTITY cmd "dumpsexp">
 <!ENTITY % commonents SYSTEM "smancommon.ent">
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manpages/man1/gpg-error-config.1	Thu Jul 31 13:43:54 2008 +0000
@@ -0,0 +1,131 @@
+<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
+<!--ArborText, Inc., 1988-1999, v.4002-->
+<!--ARC : LSARC 2008/207 GNOME 2.22-->
+<!ENTITY suncopy "Copyright (c) 2008, Sun Microsystems, Inc. 
+All Rights Reserved.">
+<!ENTITY cmd "gpg-error-config">
+<!ENTITY % commonents SYSTEM "smancommon.ent">
+%commonents;
+<!ENTITY % booktitles SYSTEM "booktitles.ent">
+%booktitles;
+]>
+<?Pub UDT _bookmark _target>
+<?Pub Inc>
+<refentry id="gpg-error-config-1">
+<!-- %Z%%M% %I% %E% SMI; -->
+<refmeta><refentrytitle>gpg-error-config</refentrytitle><manvolnum>1</manvolnum>
+<refmiscinfo class="date">10 Jan 2008</refmiscinfo>
+<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
+<refmiscinfo class="software">&release;</refmiscinfo>
+<refmiscinfo class="arch">generic</refmiscinfo>
+<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
+</refmeta>
+<indexterm><primary>gpg-error-config</primary></indexterm><indexterm><primary>
+helper script for building with <filename>libgpg-error</filename></primary></indexterm>
+<refnamediv id="gpg-error-config-1-name"><refname>gpg-error-config</refname><refpurpose>
+helper script for building with <filename>libgpg-error</filename></refpurpose>
+</refnamediv>
+<refsynopsisdiv id="gpg-error-config-1-synp"><title>&synp-tt;</title>
+<cmdsynopsis><command>&cmd;</command><arg choice="opt"><option>-version</option></arg>
+<arg choice="opt"><option>-prefix=<replaceable>dir</replaceable></option></arg>
+<arg choice="opt"><option>-cflags</option></arg><arg choice="opt"><option>
+-libs</option></arg><arg choice="opt"><option>-exec-prefix=<replaceable>dir
+</replaceable></option></arg>
+</cmdsynopsis></refsynopsisdiv>
+<refsect1 id="gpg-error-config-1-desc"><title>&desc-tt;</title>
+<para>The <command>&cmd;</command> tool is used to determine the compiler
+and linker flags that should be used to compile and link programs that use
+the <filename>libgpg-error</filename> library.</para>
+</refsect1>
+<refsect1 id="gpg-error-config-1-opts"><title>&opts-tt;</title>
+<para>The following options are supported:</para>
+<variablelist termlength="medium"><varlistentry><term><option>-cflags</option></term>
+<listitem><para>Print the compiler flags that are necessary to compile a program
+using the specified library.</para>
+</listitem></varlistentry>
+<varlistentry><term><option>-exec-prefix=<replaceable>dir</replaceable></option></term>
+<listitem><para>If specified, use <replaceable>dir</replaceable> instead of
+the <literal>exec</literal> installation prefix that the library was built
+with, when computing the output for the <option>-cflags</option> and <option>
+-libs</option> options. This option must be specified before any <option>
+-libs</option> or <option>-cflags</option> options.</para>
+</listitem></varlistentry>
+<varlistentry><term><option>-libs</option></term><listitem><para>Print the
+linker flags that are necessary to link with the specified library.</para>
+</listitem></varlistentry>
+<varlistentry><term><option>-prefix=<replaceable>dir</replaceable></option></term>
+<listitem><para>If specified, use <replaceable>dir</replaceable> instead of
+the installation prefix that the library was built with, when computing the
+output for the <option>-cflags</option> and <option>-libs</option> options.
+This option must be specified before any <option>-libs</option> or <option>
+-cflags</option> options. This option is also used for the <literal>exec</literal>
+prefix if the <option>-exec-prefix</option> option is not specified.
+</para>
+</listitem></varlistentry>
+<varlistentry><term><option>-version</option></term><listitem><para>Print
+the currently installed version of the library on the standard output.</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="gpg-error-config-1-exam"><title>&exam-tt;</title>
+<example role="example"><title>Getting the libgpg-error library version</title>
+<para><screen>example% <userinput>&cmd; --version</userinput></screen></para>
+</example>
+<example role="example"><title>Determining the libraries required to link
+with the libgpg-error library</title>
+<para><screen>example% <userinput>&cmd; --libs</userinput></screen></para>
+</example>
+</refsect1>
+<refsect1 id="gpg-error-config-1-exit"><title>&exit-tt;</title>
+<para>The following exit values are returned:</para>
+<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
+<listitem><para>Application exited successfully</para>
+</listitem></varlistentry>
+<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
+exited with failure</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="gpg-error-config-1-file"><title>&file-tt;</title>
+<para>The following files are used by this application:</para>
+<variablelist termlength="wide"><varlistentry><term><filename>/usr/bin/&cmd;</filename> 
+</term><listitem><para>Executable for <filename>libgpg-error</filename> helper
+script</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+
+<refsect1 id="gpg-error-config-1-attr"><title>&attr-tt;</title>
+<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
+<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
+for descriptions of the following attributes:</para>
+<informaltable frame="all">
+<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
+<colspec colname="COLSPEC1" colwidth="1*">
+<thead>
+<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
+valign="middle">ATTRIBUTE VALUE</entry></row>
+</thead>
+<tbody>
+<row><entry><para>Availability</para></entry><entry><para>SUNWgpg-error
+</para></entry></row>
+<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
+colname="COLSPEC1"><para>Volatile</para></entry></row>
+</tbody>
+</tgroup>
+</informaltable>
+</refsect1>
+<refsect1 id="gpg-error-config-1-also"><title>&also-tt;</title>
+<!--Reference to another man page-->
+<!--Reference to a Help manual-->
+<!--Reference to a book.-->
+<para>
+<citerefentry><refentrytitle>gpg-error</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>libgpg-error</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+</para>
+<refsect1>
+<para>
+Written by Jeff Cai, Sun Microsystems Inc., 2008.
+</para>
+</refsect1>
+</refsect1>
+</refentry>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manpages/man1/gpg-error.1	Thu Jul 31 13:43:54 2008 +0000
@@ -0,0 +1,99 @@
+<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
+<!--ArborText, Inc., 1988-1999, v.4002-->
+<!--ARC : LSARC 2008/207 GNOME 2.22-->
+<!ENTITY envr-tt "ENVIRONMENT VARIABLES">
+<!ENTITY cmd "gpg-error">
+<!ENTITY % commonents SYSTEM "smancommon.ent">
+%commonents;
+<!ENTITY % booktitles SYSTEM "booktitles.ent">
+%booktitles;
+<!ENTITY suncopy "Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.">
+]>
+<?Pub UDT _bookmark _target>
+<?Pub Inc>
+<refentry id="gpg-error-1">
+<!-- %Z%%M% %I% %E% SMI; -->
+<refmeta><refentrytitle>gpg-error</refentrytitle><manvolnum>1</manvolnum>
+<refmiscinfo class="date">31 Jul 2008</refmiscinfo>
+<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
+<refmiscinfo class="software">&release;</refmiscinfo>
+<refmiscinfo class="arch">generic</refmiscinfo>
+<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
+</refmeta>
+<refnamediv id="gpg-error-1-name">
+<indexterm><primary>gpg-error</primary></indexterm>
+<refname>gpg-error</refname><refpurpose>
+Get the error description for specified error numbers.
+</refpurpose></refnamediv>
+<refsynopsisdiv id="gpg-error-1-synp"><title>&synp-tt;</title>
+<cmdsynopsis><command>&cmd;</command>
+<arg choice="plain"><option role="nodash"><replaceable>errorno</replaceable></option></arg>
+<arg choice="opt"><option role="nodash"><replaceable>...</replaceable></option></arg>
+
+</cmdsynopsis></refsynopsisdiv>
+<refsect1 id="gpg-error-1-desc"><title>&desc-tt;</title>
+<para>gpg-error is a tool helps get the description of specified error numbers.
+</para>
+</refsect1>
+
+<refsect1 id="gpg-error-1-oper"><title>&oper-tt;</title>
+<para>The following operands are supported:</para>
+<variablelist termlength="medium">
+<varlistentry><term><option role="nodash"><replaceable>errorno</replaceable></option></term>
+<listitem><para>Error numbers for which you want to get the description.</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+
+
+<refsect1 id="gpg-error-1-exit"><title>&exit-tt;</title>
+<para>The following exit values are returned:</para>
+<variablelist termlength="xtranarrow">
+<varlistentry><term><returnvalue>0</returnvalue></term><listitem><para>Application
+exited successfully</para>
+</listitem></varlistentry>
+<varlistentry><term><returnvalue>1</returnvalue></term><listitem><para>Application
+exited with failure</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="gpg-error-1-file"><title>&file-tt;</title>
+<para>The following files are used by this application:</para>
+<variablelist termlength="medium">
+<varlistentry><term><filename>/usr/bin/&cmd;</filename> </term><listitem>
+<para>Executable for gpg-error</para>
+</listitem></varlistentry>
+</varlistentry>
+</refsect1>
+
+<refsect1 id="gpg-error-1-attr"><title>&attr-tt;</title>
+<para>See <olink targetdocent="REFMAN2" localinfo="attributes-5"><citerefentry>
+<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
+for descriptions of the following attributes:</para>
+<informaltable frame="all">
+<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
+<colspec colname="COLSPEC1" colwidth="1*">
+<thead>
+<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
+valign="middle">ATTRIBUTE VALUE</entry></row>
+</thead>
+<tbody>
+<row><entry><para>Availability</para></entry><entry><para>SUNWgpg-error</para></entry>
+</row>
+<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
+colname="COLSPEC1"><para>Volatile</para></entry></row>
+</tbody>
+</tgroup>
+</informaltable>
+</refsect1>
+<refsect1 id="gpg-error-1-also"><title>&also-tt;</title>
+<!--Reference to another man page-->
+<!--Reference to a Help manual-->
+<!--Reference to a book.-->
+<para>
+<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+</para>
+</refsect1>
+<para>
+Written by Jeff Cai, Sun Microsystems Inc., 2008.
+</para>
+</refsect1>
+</refentry>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manpages/man3/libgpg-error.3	Thu Jul 31 13:43:54 2008 +0000
@@ -0,0 +1,69 @@
+<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
+<!--ArborText, Inc., 1988-1999, v.4002-->
+<!--ARC : LSARC 2008/207 GNOME 2.22-->
+<!ENTITY cmd "libgpg-error">
+<!ENTITY % commonents SYSTEM "smancommon.ent">
+%commonents;
+<!ENTITY % booktitles SYSTEM "booktitles.ent">
+%booktitles;
+<!ENTITY suncopy "Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.">
+]>
+<?Pub UDT _bookmark _target>
+<?Pub Inc>
+<refentry id="libgpg-error-3">
+<!-- %Z%%M% %I% %E% SMI; -->
+<refmeta><refentrytitle>libgpg-error</refentrytitle><manvolnum>3</manvolnum>
+<refmiscinfo class="date">31 Jul 2008</refmiscinfo>
+<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
+<refmiscinfo class="software">&release;</refmiscinfo>
+<refmiscinfo class="arch">generic</refmiscinfo>
+<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
+</refmeta>
+<indexterm><primary>libgpg-error</primary></indexterm>
+<refnamediv id="libgpg-error-3-name"><refname>libgpg-error</refname><refpurpose>is a small library with error codes and descriptions shared by most GnuPG related software.
+<refsect1 id="libgpg-error-3-desc"><title>&desc-tt;</title>
+<para><literal>&cmd;</literal> is a small library with error codes and descriptions shared by most GnuPG related software.
+</para>
+</refsect1>
+<refsect1 id="libgpg-error-3-file"><title>&file-tt;</title>
+<para>The following files are used by this application:</para>
+<variablelist termlength="wide">
+<varlistentry>
+<term><filename>/usr/lib/&cmd;.so</filename></term>
+<listitem><para>
+libgpg-error shared library
+</para></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="libgpg-error-3-attr"><title>&attr-tt;</title>
+<para>See <olink targetdocent="REFMAN5" localinfo="attributes-3"><citerefentry>
+<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
+for descriptions of the following attributes:</para>
+<informaltable frame="all">
+<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
+<colspec colname="COLSPEC1" colwidth="1*">
+<thead>
+<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
+valign="middle">ATTRIBUTE VALUE</entry></row>
+</thead>
+<tbody>
+<row><entry><para>Availability</para></entry><entry><para>SUNWlibgpg-error</para></entry></row>
+<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry colname="COLSPEC1"><para>Volatile</para></entry></row>
+</tbody>
+</tgroup>
+</informaltable>
+</refsect1>
+<refsect1 id="libgpg-error-1-also"><title>&also-tt;</title>
+<!--Reference to another man page-->
+<!--Reference to a Help manual-->
+<!--Reference to a book.-->
+<para>
+<citerefentry><refentrytitle>gpg-error</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+<citerefentry><refentrytitle>gpg-error-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+</para>
+<refsect1>
+
+<refsect1 id="libgpg-error-3-note"><title>&note-tt;</title>
+<para>Written by Jeff Cai, Sun Microsystems Inc., 2008.</para>
+</refsect1>
+</refentry>