]> git.pld-linux.org Git - packages/conman.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 19 Jan 2007 10:14:06 +0000 (10:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    conman.spec -> 1.1

conman.spec [new file with mode: 0644]

diff --git a/conman.spec b/conman.spec
new file mode 100644 (file)
index 0000000..909bbe0
--- /dev/null
@@ -0,0 +1,71 @@
+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/*
This page took 0.059787 seconds and 4 git commands to generate.