1 Summary: Linux console utilities
2 Summary(pl): Narzêdzia do obs³ugi konsoli
4 %define date 1998.08.11
8 Group: Utilities/Console
9 Vendor: Yann Dirson <dirson@debian.org>
10 Source: ftp://sunsite.unc.edu/pub/Linux/system/keyboards/console-tools-%{date}.tar.gz
11 Patch: %{name}-ndebug.patch
12 Source1: console-init.tar.gz
13 Prereq: /sbin/chkconfig
16 BuildRoot: /tmp/%{name}-%{version}-root
19 console-tools are utilities for handling console fonts and keyboard
20 maps. The package includes various fonts and keymaps.
22 It is derived from kbd-0.96a.tar.gz, with many bug-fixes and
26 Console-tools to narzêdzia zajmuj±ce siê fontami i mapami klawiatury
27 na konsoli. Do pakietu s± do³±czone ró¿ne fonty i mapy klawiatury.
29 Pakiet wywodzi siê z kbd-0.96a.tar.gz, poprawiaj±c wiele b³êdów
30 i wprowadzaj±c rozszerzenia.
34 Summary(pl): Pliki nag³ówkowe
35 Group: Utilities/Console
36 Requires: %{name} = %{version}
39 Console-tools header files for console-tools
41 %description devel -l pl
42 Pliki nag³ówkowe do console-tools.
45 Summary: Static libraries
46 Summary(pl): Biblioteki statyczne
47 Group: Utilities/Console
48 Requires: %{name}-devel = %{version}
51 Console-tools static libraries.
53 %description static -l pl
54 Biblioteki statyczne console-tools.
57 %setup -q -a1 -n %{name}-%{date}
60 grep -v "Alt " data/keymaps/i386/qwerty/pl.kmap > \
61 data/keymaps/i386/qwerty/pl1.kmap
64 CFLAGS=$RPM_OPT_FLAGS LDFLAGS=-s ./configure --enable-kbd-compat
68 rm -rf $RPM_BUILD_ROOT
70 make install prefix=$RPM_BUILD_ROOT/usr
72 cp -a etc $RPM_BUILD_ROOT
74 for i in loadunimap mapscrn saveunimap savefont; do
75 rm -f $RPM_BUILD_ROOT/usr/man/man8/$i.8
76 echo .so kbd-compat.8 > $RPM_BUILD_ROOT/usr/man/man8/$i.8
80 /sbin/chkconfig --add console
84 /sbin/chkconfig --del console
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644, root, root, 755)
93 %attr(700,root,root) %config /etc/rc.d/init.d/console
94 %config %verify(not size mtime md5) /etc/sysconfig/console
95 %attr(755,root,root) /etc/profile.d/console.sh
96 %attr(755, root, root) /usr/bin/*
97 %attr(755, root, root) /usr/lib/lib*.so.*
98 %attr(644, root, man) /usr/man/man[1548]/*
100 /usr/share/consolefonts
101 /usr/share/consoletrans
103 /usr/share/videomodes
106 %defattr(644, root, root, 755)
110 %attr(755, root, root) /usr/lib/*.so
113 %attr(644, root, root) /usr/lib/*.a
116 * Thu Sep 24 1998 Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>
117 - Spec generally rewritten
118 - Qrczak's fonts removed from the package (they were not a part of
119 console-tools and now are in a separate package called fonty)
120 - Added SysV-like init scripts
121 - Added pl1.kmap with diacritics under AltGr only (will be included
122 in the next version of console-tools)
123 - Added --enable-kbd-compat (wrappers emulating kbd's syntax)
126 * Sat Jul 25 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
127 - initial RPM release