SPECS: showconsole.spec (NEW) - console logger from suse

glen glen at pld-linux.org
Tue Feb 14 02:26:10 CET 2006


Author: glen                         Date: Tue Feb 14 01:26:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- console logger from suse

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

---- Diffs:

================================================================
Index: SPECS/showconsole.spec
diff -u /dev/null SPECS/showconsole.spec:1.1
--- /dev/null	Tue Feb 14 02:26:10 2006
+++ SPECS/showconsole.spec	Tue Feb 14 02:26:04 2006
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+Summary:	Small daemon for logging console output during boot
+Name:		showconsole
+Version:	1.08
+Release:	0.1
+License:	GPL v2
+Group:		Applications
+# This tarball is extracted from SuSe's sysvinit-2.86-#.src.rpm
+# You can find said src rpm via opensuse.org:
+# http://mirrors.kernel.org/opensuse/distribution/SL-OSS-*/inst-source/suse/src/
+Source0:	http://distfiles.gentoo.org/distfiles/%{name}-%{version}.tar.bz2
+# Source0-md5:	392ff4f9e03b66769fa813f1897160c5
+Patch0:		%{name}-no-TIOCGDEV.patch
+Patch1:		%{name}-quiet.patch
+URL:		http://www.novell.com/linux/suse/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sbindir	/sbin
+
+%description
+This small package provides a daemon for for logging during boot time
+of System V boot.
+
+%package devel
+Summary:	Header files for showconsole library
+Group:		Development/Libraries
+
+%description devel
+This is the package containing the header files for showconsole library.
+
+%package static
+Summary:	Static showconsole library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static showconsole library.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p0
+
+%build
+%{__make} \
+	COPTS="%{rpmcflags}" \
+	CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc showconsole-*.lsm README
+%attr(755,root,root) %{_sbindir}/blogd
+%attr(755,root,root) %{_sbindir}/blogger
+%attr(755,root,root) %{_sbindir}/isserial
+%attr(755,root,root) %{_sbindir}/showconsole
+%{_mandir}/man8/blogd.8*
+%{_mandir}/man8/blogger.8*
+%{_mandir}/man8/isserial.8*
+%{_mandir}/man8/setconsole.8*
+%{_mandir}/man8/showconsole.8*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/libblogger.h
+
+%files static
+%{_libdir}/libblogger.a
+
+%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  2006/02/14 01:26:04  glen
+- console logger from suse
+
================================================================


More information about the pld-cvs-commit mailing list