rpms/conserver/devel conserver.spec,1.1,1.2

Patrick Laughton (jima) fedora-extras-commits at redhat.com
Wed Apr 26 16:07:30 UTC 2006


Author: jima

Update of /cvs/extras/rpms/conserver/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10762/devel

Modified Files:
	conserver.spec 
Log Message:

Feature request (split 'console' out to -client subpackage)



Index: conserver.spec
===================================================================
RCS file: /cvs/extras/rpms/conserver/devel/conserver.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- conserver.spec	10 Apr 2006 19:25:15 -0000	1.1
+++ conserver.spec	26 Apr 2006 16:07:30 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           conserver
 Version:        8.1.14
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Serial console server daemon/client
 
 Group:          System Environment/Daemons
@@ -22,6 +22,13 @@
 write-access of a console (one at a time), and has a variety of bells 
 and whistles to accentuate that basic functionality.
 
+%package client
+Summary: Serial console client
+Group: Applications/Communications
+
+%description client
+This is the client package needed to interact with a Conserver daemon.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -70,7 +77,13 @@
 fi
 # make sure /etc/services has a conserver entry
 if ! egrep '\<conserver\>' /etc/services > /dev/null 2>&1 ; then
-  echo "console		 782/tcp	conserver" >> /etc/services
+  echo "console		782/tcp		conserver" >> /etc/services
+fi
+
+%post client
+# make sure /etc/services has a conserver entry
+if ! egrep '\<conserver\>' /etc/services > /dev/null 2>&1 ; then
+  echo "console		782/tcp		conserver" >> /etc/services
 fi
 
 
@@ -88,15 +101,22 @@
 %doc CHANGES FAQ LICENSE INSTALL README conserver.cf/samples/ conserver.cf/conserver.cf conserver.cf/conserver.passwd
 %config(noreplace) %{_sysconfdir}/conserver.*
 %{_initrddir}/conserver
-%{_bindir}/console
 %{_libdir}/conserver
-%{_mandir}/man1/console.1.gz
 %{_mandir}/man5/conserver.cf.5.gz
 %{_mandir}/man5/conserver.passwd.5.gz
 %{_mandir}/man8/conserver.8.gz
 %{_sbindir}/conserver
 
+%files client
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_bindir}/console
+%{_mandir}/man1/console.1.gz
+
 %changelog
+* Wed Apr 26 2006 Patrick "Jima" Laughton <jima at auroralinux.org> 8.1.14-2
+- Split 'console' out to -client subpackage, as suggested by Nate Straz
+
 * Mon Apr 10 2006 Patrick "Jima" Laughton <jima at auroralinux.org> 8.1.14-1
 - Figures, two days after my initial Fedora Extras RPM, a new release...
 




More information about the fedora-extras-commits mailing list