]> git.pld-linux.org Git - packages/fbgetty.git/blob - fbgetty.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/fbgetty.git] / fbgetty.spec
1 Summary:        getty program for Linux framebuffer console
2 Summary(pl.UTF-8):      Program getty dla linuksowej konsoli z framebufferem
3 Name:           fbgetty
4 Version:        0.1.698
5 Release:        5
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://projects.meuh.org/fbgetty/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  1705bc0f8f1e03fe50d324ba84ac4e56
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-debian.patch
12 URL:            http://projects.meuh.org/fbgetty/
13 BuildRequires:  automake
14 BuildRequires:  texinfo
15 Requires:       login
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 fbgetty is a new getty program that supports fully capabilities of the
20 Linux console. For the moment it run only under Linux.
21
22 Features:
23 - extended issue display (escape codes, shell variables)
24 - framebuffer support (display logo) [not yet]
25 - refresh issue when VT is activated (time, user, uptime)
26 - display date/time according to locale
27 - display the output of any program
28 - include many files in issue
29
30 %description -l pl.UTF-8
31 fbgetty to nowy program getty w pełni obsługujący możliwości
32 linuksowej konsoli. Aktualnie działa tylko pod Linuksem.
33
34 Możliwości:
35 - wyświetlanie rozszerzonego issue (kody specjalne, zmienne powłoki)
36 - obsługa framebuffera (wyświetlanie logo) [jeszcze nie działa]
37 - odświeżanie przy aktywacji VT (czas, liczba użytkowników, uptime)
38 - wyświetlanie daty i czasu zgodnie z ustawieniami lokalnymi
39 - wyświetlanie wyjścia dowolnego programu
40 - dołączanie wielu plików do issue.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
46
47 %build
48 cp -f /usr/share/automake/config.* config
49 CPPFLAGS="-Doffsetof=__builtin_offsetof"; export CPPFLAGS
50 %configure
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post   -p      /sbin/postshell
63 -/usr/sbin/fix-info-dir -c %{_infodir}
64
65 %postun -p      /sbin/postshell
66 -/usr/sbin/fix-info-dir -c %{_infodir}
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO docs/*.txt
71 %attr(755,root,root) %{_sbindir}/*
72 %{_mandir}/man8/*
73 %{_infodir}/*.info*
This page took 0.315194 seconds and 4 git commands to generate.