SPECS: conman.spec (NEW) - initial pld release

arekm arekm at pld-linux.org
Fri Jan 19 11:14:12 CET 2007


Author: arekm                        Date: Fri Jan 19 10:14:12 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial pld release

---- Files affected:
SPECS:
   conman.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/conman.spec
diff -u /dev/null SPECS/conman.spec:1.1
--- /dev/null	Fri Jan 19 11:14:12 2007
+++ SPECS/conman.spec	Fri Jan 19 11:14:06 2007
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+Summary:	The Console Manager
+Name:		conman
+Version:	0.1.9.2
+Release:	1
+License:	GPL
+Group:		Daemons
+Source0:	http://download.gna.org/conman/0.1.9.2/%{name}-%{version}.tar.bz2
+# Source0-md5:	8e737e64ae3dfac37bd93df38ac0f6cb
+Source1:	%{name}d.init
+Source2:	%{name}d.sysconfig
+Source3:	%{name}.logrotate
+URL:		http://home.gna.org/conman/
+BuildRequires:	libwrap-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ConMan is a console management program designed to support a large
+number of console devices and simultaneous users. It currently
+supports local serial devices and remote terminal servers (via the
+telnet protocol).
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--with-tcp-wrappers
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig,logrotate.d}
+install -d $RPM_BUILD_ROOT/var/log/conman
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1}	$RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/conmand
+install %{SOURCE2}	$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/conmand
+install %{SOURCE3}	$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/conmand
+
+rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/examples
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add conmand
+%service conmand restart
+
+%preun
+if [ "$1" = "0" ]; then
+        %service conmand stop
+        /sbin/chkconfig --del conmand
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog FAQ NEWS
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
+%{_libdir}/%{name}
+%dir %{_var}/log/conman
+%{_mandir}/man*/*
+
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
+%attr(754,root,root) /etc/rc.d/init.d/conmand
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/conmand
+/etc/logrotate.d/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/01/19 10:14:06  arekm
+- initial pld release
+
+
================================================================


More information about the pld-cvs-commit mailing list