1 Summary: Linux console utilities
2 Summary(pl): Narzêdzia do obs³ugi konsoli
7 Group: Utilities/Console
8 Group(pl): Narzêdzia/Konsola
9 Source0: ftp://sunsite.unc.edu/pub/Linux/system/keyboards/%{name}-%{version}.tar.gz
10 Source1: console-init.tar.gz
11 Prereq: /sbin/chkconfig
12 #BuildPrereq: sgml-tools
16 BuildRoot: /tmp/%{name}-%{version}-root
19 console-tools are utilities for handling console fonts and keyboard
21 It is derived from kbd-0.94.tar.gz, with many bug-fixes and
23 The data files are now part of a new package (console-data).
26 Console-tools to narzêdzia zajmuj±ce siê fontami i mapami klawiatury
28 Pakiet wywodzi siê z kbd-0.94.tar.gz, poprawiaj±c wiele b³êdów
29 i wprowadzaj±c rozszerzenia.
30 Pliki danych s± teraz czê¶ci± nowego pakietu (console-data).
34 Summary(pl): Pliki nag³ówkowe
36 Group(pl): Programowanie
37 Requires: %{name} = %{version}
40 Console-tools header files for console-tools
42 %description devel -l pl
43 Pliki nag³ówkowe do console-tools.
46 Summary: Static libraries
47 Summary(pl): Biblioteki statyczne
50 Requires: %{name}-devel = %{version}
53 Console-tools static libraries.
55 %description static -l pl
56 Biblioteki statyczne console-tools.
62 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
68 rm -rf $RPM_BUILD_ROOT
70 make install-strip prefix=$RPM_BUILD_ROOT/usr
72 cp -a etc $RPM_BUILD_ROOT
74 for i in loadunimap mapscrn saveunimap savefont setfont; 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
79 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
80 README NEWS BUGS doc/README.* doc/*.txt \
81 doc/{dvorak,file-formats,contrib}/*
84 /sbin/chkconfig --add console
87 if [ "$1" = "0" ]; then
88 /sbin/chkconfig --del console
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
96 %doc {README,NEWS,BUGS}.gz doc/README.*
97 %doc doc/{dvorak,file-formats,contrib}
99 %attr(700,root,root) %config /etc/rc.d/init.d/console
100 %config %verify(not size mtime md5) /etc/sysconfig/console
102 %attr(755,root,root) /etc/profile.d/console.sh
103 %attr(755,root,root) /usr/bin/*
104 %attr(755,root,root) /usr/lib/lib*.so.*
106 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/console-tools.mo
107 %lang(ga) /usr/share/locale/ga/LC_MESSAGES/console-tools.mo
112 %defattr(644,root,root,755)
113 %doc doc/*.html doc/*.txt.gz
116 %attr(755,root,root) /usr/lib/*.so
119 %attr(644,root,root) /usr/lib/*.a
122 * Thu Apr 22 1999 Piotr Czerwiñski <pius@pld.org.pl>
125 - removed data files (they are now in separated package),
126 - removed console-tools-ndebug.patch,
128 - removed man group from na pages,
129 - added gzipping man pages and documentation,
131 - changed Group in devel and static subpackages,
132 - added more documentation,
134 - recompiled on rpm 3.
136 * Thu Sep 24 1998 Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>
137 - Spec generally rewritten
138 - Qrczak's fonts removed from the package (they were not a part of
139 console-tools and now are in a separate package called fonty)
140 - Added SysV-like init scripts
141 - Added pl1.kmap with diacritics under AltGr only (will be included
142 in the next version of console-tools)
143 - Added --enable-kbd-compat (wrappers emulating kbd's syntax)
146 * Sat Jul 25 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
147 - initial RPM release