summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski1999-08-19 20:07:27 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit48a7a4d904d0922037bc9b5b4832aa74d2943106 (patch)
tree5ec15111556eb4b43234acd2050eef568dfcce7e
parentfbdf18cf0c2c1c99e04e6e2bff024dab92f3770b (diff)
downloadsetconsole-48a7a4d904d0922037bc9b5b4832aa74d2943106.zip
setconsole-48a7a4d904d0922037bc9b5b4832aa74d2943106.tar.gz
almost raw
Changed files: setconsole.spec -> 1.1
-rw-r--r--setconsole.spec37
1 files changed, 37 insertions, 0 deletions
diff --git a/setconsole.spec b/setconsole.spec
new file mode 100644
index 0000000..f7512ad
--- /dev/null
+++ b/setconsole.spec
@@ -0,0 +1,37 @@
+Summary: Sets the system to use either a local terminal or a serial console.
+Name: setconsole
+Version: 1.0
+Release: 8
+Copyright: GPL
+Group: Applications/System
+Source: setconsole-1.0.tar.gz
+Patch: setconsole-1.0.patch
+Exclusiveos: Linux
+Requires: /bin/sh textutils grep sed
+BuildArchitectures: noarch
+BuildRoot: /var/tmp/setconsole-root
+
+%description
+Setconsole is a basic system utility for setting up the /etc/inittab,
+/dev/systty and /dev/console files to handle a new console. The
+console can be either the local terminal (i.e., directly attached to
+the system via a video card) or a serial console.
+
+%prep
+%setup -q
+%patch -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/usr/{sbin,man/man8}
+
+install -m755 setconsole $RPM_BUILD_ROOT/usr/sbin/setconsole
+install -m644 setconsole.8 $RPM_BUILD_ROOT/usr/man/man8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+/usr/sbin/setconsole
+/usr/man/man8/setconsole.8