1 #specfile originally created for Fedora, modified for Moblin Linux
2 Summary: A compact getty program for virtual consoles only
8 URL: http://sourceforge.net/projects/mingetty/
9 Source: %{name}-%{version}.tar.bz2
10 Patch1: mingetty-1.00-opt.patch
11 BuildRoot: %{_tmppath}/%{name}-root
14 The mingetty program is a lightweight, minimalist getty program for
15 use only on virtual consoles. Mingetty is not suitable for serial
16 lines (you should use the mgetty program in that case).
19 %setup -q -n %{name}-%{version}
23 make "RPM_OPTS=$RPM_OPT_FLAGS"
26 rm -rf $RPM_BUILD_ROOT
27 mkdir -p $RPM_BUILD_ROOT/{sbin,%{_mandir}/man8}
29 install -m 0755 mingetty $RPM_BUILD_ROOT/sbin/
30 install -m 0644 mingetty.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
33 rm -rf $RPM_BUILD_ROOT
39 %doc %{_mandir}/man8/mingetty.*