]> git.pld-linux.org Git - packages/console-tools.git/blob - console-tools.spec
- updated to 0.2.0,
[packages/console-tools.git] / console-tools.spec
1 Summary:        Linux console utilities
2 Summary(pl):    Narzêdzia do obs³ugi konsoli
3 Name:           console-tools
4 Version:        0.2.0
5 Release:        1
6 Copyright:      GPL
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
13 #BuildPrereq:   jade
14 Obsoletes:      kbd
15 Provides:       kbd
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18 %description
19 console-tools are utilities for handling console fonts and keyboard
20 maps. 
21 It is derived from kbd-0.94.tar.gz, with many bug-fixes and
22 enhancements. 
23 The data files are now part of a new package (console-data).
24
25 %description -l pl
26 Console-tools to narzêdzia zajmuj±ce siê fontami i mapami klawiatury 
27 na konsoli. 
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).
31
32 %package devel
33 Summary:     Header files
34 Summary(pl): Pliki nag³ówkowe
35 Group:       Development
36 Group(pl):   Programowanie
37 Requires:    %{name} = %{version}
38
39 %description devel
40 Console-tools header files for console-tools
41
42 %description devel -l pl
43 Pliki nag³ówkowe do console-tools.
44
45 %package static
46 Summary:     Static libraries
47 Summary(pl): Biblioteki statyczne
48 Group:       Libraries
49 Group(pl):   Biblioteki
50 Requires:    %{name}-devel = %{version}
51
52 %description static
53 Console-tools static libraries.
54
55 %description static -l pl
56 Biblioteki statyczne console-tools.
57
58 %prep
59 %setup -q -a1 
60
61 %build
62 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
63 ./configure \
64         --enable-kbd-compat
65 make 
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 make install-strip prefix=$RPM_BUILD_ROOT/usr
71
72 cp -a etc $RPM_BUILD_ROOT
73
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
77 done
78
79 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
80         README NEWS BUGS doc/README.* doc/*.txt \
81         doc/{dvorak,file-formats,contrib}/*
82
83 %post
84 /sbin/chkconfig --add console
85
86 %preun
87 if [ "$1" = "0" ]; then
88     /sbin/chkconfig --del console
89 fi
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc {README,NEWS,BUGS}.gz doc/README.*
97 %doc doc/{dvorak,file-formats,contrib}
98
99 %attr(700,root,root) %config /etc/rc.d/init.d/console
100 %config %verify(not size mtime md5) /etc/sysconfig/console
101
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.*
105
106 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/console-tools.mo
107 %lang(ga) /usr/share/locale/ga/LC_MESSAGES/console-tools.mo
108
109 /usr/man/man[1458]/*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc doc/*.html doc/*.txt.gz
114
115 /usr/include/lct
116 %attr(755,root,root) /usr/lib/*.so
117
118 %files static
119 %attr(644,root,root) /usr/lib/*.a
120
121 %changelog
122 * Thu Apr 22 1999 Piotr Czerwiñski <pius@pld.org.pl>
123   [0.2.0-1]
124 - updated to 0.2.0,
125 - removed data files (they are now in separated package),
126 - removed console-tools-ndebug.patch,
127 - added locales,
128 - removed man group from na pages,
129 - added gzipping man pages and documentation,
130 - added Group(pl),
131 - changed Group in devel and static subpackages,
132 - added more documentation,
133 - minor changes,
134 - recompiled on rpm 3.
135
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)
144   and Provides: kbd
145
146 * Sat Jul 25 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
147 - initial RPM release
This page took 0.136873 seconds and 4 git commands to generate.