commit fec66af136cabbd50b28f74be34e9d3a0a082bda
Author: Nuno Santos <nsantos(a)redhat.com>
Date: Tue Oct 18 14:16:32 2011 -0400
install manpages, update specfile
src/CMakeLists.txt | 2 ++
src/rpm-spec/vios-proxy.spec | 24 +++++++++++++++++++++---
2 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index eedd5d6..b7636fa 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -58,3 +58,5 @@ INSTALL(TARGETS vios_proxy_guest
DESTINATION bin)
add_subdirectory(test)
+
+INSTALL(FILES ../doc/man/vios-proxy-host.1.gz ../doc/man/vios-proxy-guest.1.gz DESTINATION share/man/man1)
diff --git a/src/rpm-spec/vios-proxy.spec b/src/rpm-spec/vios-proxy.spec
index 541199d..81563fb 100644
--- a/src/rpm-spec/vios-proxy.spec
+++ b/src/rpm-spec/vios-proxy.spec
@@ -1,5 +1,5 @@
Name: vios-proxy
-Version: 0.1
+Version: 0.2
Release: 1%{?dist}
Summary: Network proxy between a QEMU host and QEMU guests using virtioserial channels
@@ -44,6 +44,18 @@ creates a listening network socket on the guest's localhost interface. When
client programs connect to this socket then the vios-proxy-guest daemon opens
a proxy channel to the host through the tunnel.
+%package doc
+
+Summary: Documentation for vios-proxy
+Group: System Environment/Daemons
+
+%description doc
+The vios-proxy program suite creates a network tunnel between
+a server in the QEMU host and a client in a QEMU guest.
+The proxy server and client programs open normal TCP network
+ports on localhost and the vios-proxy tunnel connects them using
+QEMU virtioserial channels.
+
%prep
%setup -q
pushd src
@@ -65,18 +77,24 @@ popd
rm -rf $RPM_BUILD_ROOT
-%files
+%files doc
%defattr(-,root,root,-)
-%doc
+%doc README.txt LICENSE NOTICE
+%doc doc/
%files host
%defattr(-,root,root,-)
%{_bindir}/vios-proxy-host
+%doc %{_mandir}/man1/vios-proxy-host.1.gz
%files guest
%defattr(-,root,root,-)
%{_bindir}/vios-proxy-guest
+%doc %{_mandir}/man1/vios-proxy-guest.1.gz
%changelog
+* Tue Oct 18 2011 Nuno Santos <nsantos(a)redhat.com> - 0.2-1
+- Added man pages
+
* Mon Sep 19 2011 Chuck Rolke <crolke(a)redhat.com> 0.1-1
- Initial revision