Add sigcpp manpage.
--- a/ChangeLog Mon Aug 04 06:38:42 2008 +0000
+++ b/ChangeLog Mon Aug 04 09:27:23 2008 +0000
@@ -1,3 +1,9 @@
+2008-08-04 Elaine Xiong <[email protected]>
+
+ * manpages/man3/libsigc++-2.0.3: Added.
+ * manpages/Makefile:
+ * SUNWsigcpp.spec: Updated. Add the manpage for sigcpp.
+
2008-08-04 simon.zheng <[email protected]>
* manpages/man3/libgio-2.0.3:
--- a/SUNWsigcpp.spec Mon Aug 04 06:38:42 2008 +0000
+++ b/SUNWsigcpp.spec Mon Aug 04 09:27:23 2008 +0000
@@ -16,6 +16,7 @@
Name: SUNWsigcpp
Summary: Libsigc++ - a library that implements typesafe callback system for standard C++
Version: %{sigcpp.version}
+Source: %{name}-manpages-0.1.tar.gz
SUNW_BaseDir: %{_basedir}
SUNW_Copyright: %{name}.copyright
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -34,6 +35,7 @@
mkdir %name-%version
%sigcpp.prep -d %name-%version
cd %{_builddir}/%name-%version
+gzcat %SOURCE0 | tar xf -
%build
%if %cc_is_gcc
@@ -51,6 +53,11 @@
%sigcpp.install -d %name-%version
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
+# install man page
+rm -rf $RPM_BUILD_ROOT%{_mandir}
+cd %{_builddir}/%name-%version/sun-manpages
+make install DESTDIR=$RPM_BUILD_ROOT
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -70,8 +77,13 @@
%{_datadir}/doc/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
+%dir %attr(0755, root, bin) %{_mandir}
+%dir %attr(0755, root, bin) %{_mandir}/*
+%{_mandir}/*/*
%changelog
+* Mon Aug 04 2008 - [email protected]
+- Add manpage.
* Thu Mar 27 2008 - [email protected]
- Add file SUNWsigcpp.copyright.
* Sun Mar 02 2008 - [email protected]
--- a/manpages/Makefile Mon Aug 04 06:38:42 2008 +0000
+++ b/manpages/Makefile Mon Aug 04 09:27:23 2008 +0000
@@ -143,6 +143,7 @@
SUNWprint-monitor \
SUNWIPython \
SUNWglibmm \
+ SUNWsigcpp \
SUNWlibsoup \
SUNWxdg-user-dirs \
SUNWxdg-user-dirs-gtk \
@@ -833,6 +834,10 @@
man3/libglibmm-2.4.3
SUNWglibmm.PAGES: $(SUNWglibmm_PAGES)
+SUNWsigcpp_PAGES = \
+ man3/libsigc++-2.0.3
+SUNWsigcpp.PAGES: $(SUNWsigcpp_PAGES)
+
SUNWlibsoup_PAGES = \
man3/libsoup-2.4.3
SUNWlibsoup.PAGES: $(SUNWlibsoup_PAGES)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/manpages/man3/libsigc++-2.0.3 Mon Aug 04 09:27:23 2008 +0000
@@ -0,0 +1,73 @@
+<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
+<!--ArborText, Inc., 1988-1999, v.4002-->
+<!--ARC : LSARC 2008/074 Gtkmm,glibmm,cairomm and libsigc++ for Indiana-->
+<!ENTITY cmd "libsigc++-2.0">
+<!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="libsigc++-2.0-3">
+<!-- %Z%%M% %I% %E% SMI; -->
+<refmeta><refentrytitle>libsigc++-2.0</refentrytitle><manvolnum>3</manvolnum>
+<refmiscinfo class="date">01 Aug 2008</refmiscinfo>
+<refmiscinfo class="sectdesc">&man3;</refmiscinfo>
+<refmiscinfo class="software">&release;</refmiscinfo>
+<refmiscinfo class="arch">generic</refmiscinfo>
+<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
+</refmeta>
+<indexterm><primary>&cmd</primary></indexterm><indexterm><primary>
+a typesafe callback system for standard C++</primary></indexterm>
+<refnamediv id="libsigc++-2.0-3-name"><refname>libsigc++-2.0</refname>
+<refpurpose>a typesafe callback system for standard C++</refpurpose></refnamediv>
+<refsect1 id="libsigc++-2.0-3-desc"><title>&desc-tt;</title>
+<para><command>&cmd;</command> implements a typesafe callback system for standard C++. It allows you to define signals and to connect those signals to any callback function, either global or a member function, regardless of whether it is static or virtual. </para>
+<para><command>&cmd;</command> also contains adapter classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries.</para>
+<para>These C++ interfaces are built with Sun CC compiler.</para>
+</refsect1>
+<refsect1 id="libsigc++-2.0-3-file"><title>&file-tt;</title>
+<para>The following files are used by this library:</para>
+<variablelist termlength="wide">
+
+<varlistentry><term><filename>/usr/lib/&cmd;.so</filename> </term><listitem>
+<para><command>&cmd;</command> shared library</para>
+</listitem></varlistentry>
+<varlistentry><term><filename>/usr/share/doc/&cmd;</filename> </term>
+<listitem><para><command>&cmd;</command> docs and examples</para>
+</listitem></varlistentry>
+
+</variablelist></refsect1>
+<refsect1 id="libsigc++-2.0-3-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>SUNWsigcpp</para></entry></row>
+<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
+colname="COLSPEC1"><para>Uncommitted</para></entry></row>
+</tbody>
+</tgroup>
+</informaltable>
+</refsect1>
+<refsect1 id="libsigc++-2.0-3-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>
+<refsect1 id="libsigc++-2.0-3-note"><title>¬e-tt;</title>
+<para>Written by Elaine Xiong, Sun Microsystems Inc., 2008.</para>
+</refsect1>
+</refentry>