]> git.pld-linux.org Git - packages/console-tools.git/blame - console-tools.spec
- updated gettext BR
[packages/console-tools.git] / console-tools.spec
CommitLineData
f374e7e8 1Summary: Linux console utilities
933a76da 2Summary(pl.UTF-8): Narzędzia do obsługi konsoli
f374e7e8 3Name: console-tools
f665d669 4Version: 0.3.3
1dd3b171 5Release: 12
4fd3754e 6Epoch: 1
f1ff75c6 7License: GPL
4fd3754e 8Group: Applications/Console
5048ccc9
JB
9# ftp://ftp.sourceforge.net/pub/sourceforge/lct/ - but no 0.3.3 yet
10Source0: %{name}-%{version}.tar.gz
c85927ab 11# Source0-md5: dcb9a6fae481b20d77174bce06cbd00f
d1868e10 12Source1: console.init
13Source2: console.sysconfig
f84a7779 14Source3: console.sh
4fd3754e
JB
15Patch0: %{name}-man_compat.patch
16Patch1: %{name}-no_bash.patch
17Patch2: %{name}-acm.patch
18Patch3: %{name}-readacm.patch
19Patch4: %{name}-psfgettable.patch
20Patch5: %{name}-resizecons.patch
21Patch6: %{name}-amfix.patch
1f79e67f 22Patch7: %{name}-et.patch
1dd3b171 23Patch8: %{name}-gcc.patch
5048ccc9 24URL: http://lct.sourceforge.net/
4fd3754e
JB
25BuildRequires: autoconf
26BuildRequires: automake
3d99fd8b 27BuildRequires: gettext-tools
5048ccc9
JB
28BuildRequires: jade
29BuildRequires: libtool
30BuildRequires: sgml-tools
31Requires(post,preun): /sbin/chkconfig
847b0f6c 32Requires: console-data
f84a7779 33Requires: localedb-src
f374e7e8 34Provides: kbd
55ac940a 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5ea8f6ff 36Obsoletes: kbd
fd0a4716 37
38%description
0dc147e8 39console-tools are utilities for handling console fonts and keyboard
40maps. It is derived from kbd-0.99.tar.gz, with many bug-fixes and
41enhancements. The data files are now part of a new package
42(console-data).
fd0a4716 43
3a9c9c6c
JR
44%description -l pl.UTF-8
45Console-tools to narzędzia zajmujące się fontami i mapami klawiatury
46na konsoli. Pakiet wywodzi się z kbd-0.99.tar.gz, poprawiając wiele
47błędów i wprowadzając rozszerzenia. Pliki danych są teraz częścią
0dc147e8 48nowego pakietu (console-data).
fd0a4716 49
50%package devel
bfd7a18b 51Summary: Header files
933a76da 52Summary(pl.UTF-8): Pliki nagłówkowe
f1ff75c6 53Group: Development/Libraries
4bb0e1fd 54Requires: %{name} = %{epoch}:%{version}
fd0a4716 55
56%description devel
57Console-tools header files for console-tools
58
3a9c9c6c
JR
59%description devel -l pl.UTF-8
60Pliki nagłówkowe do console-tools.
fd0a4716 61
62%package static
bfd7a18b 63Summary: Static libraries
933a76da 64Summary(pl.UTF-8): Biblioteki statyczne
f1ff75c6 65Group: Development/Libraries
4bb0e1fd 66Requires: %{name}-devel = %{epoch}:%{version}
fd0a4716 67
68%description static
69Console-tools static libraries.
70
3a9c9c6c 71%description static -l pl.UTF-8
fd0a4716 72Biblioteki statyczne console-tools.
73
74%prep
ec2c551b 75%setup -q
f63e8348 76%patch0 -p0
77%patch1 -p1
62ddd2b0
AM
78%patch2 -p1
79%patch3 -p1
80%patch4 -p1
81%patch5 -p1
4fd3754e 82%patch6 -p1
1f79e67f 83%patch7 -p0
1dd3b171 84%patch8 -p1
fd0a4716 85
86%build
1f79e67f 87mv po/et_EE.po po/et.po
88mv po/et_EE.gmo po/et.gmo
4fd3754e 89rm -f missing
555fb9d1 90%{__gettextize}
f912d65d 91%{__libtoolize}
9895b363 92%{__aclocal}
0732186c 93%{__autoconf}
94%{__automake}
0932ebea 95%configure \
f374e7e8 96 --enable-kbd-compat
62271911 97%{__make}
fd0a4716 98
99%install
100rm -rf $RPM_BUILD_ROOT
50bb31ec 101install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d,profile.d}
fd0a4716 102
5ea8f6ff
PG
103%{__make} install \
104 DESTDIR=$RPM_BUILD_ROOT
fd0a4716 105
d1868e10 106install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/console
107install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/console
f84a7779 108install %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
fd0a4716 109
0932ebea
JR
110%find_lang %{name}
111
4fd3754e
JB
112%clean
113rm -rf $RPM_BUILD_ROOT
114
fd0a4716 115%post
f08b8492 116/sbin/ldconfig
4fd3754e 117/sbin/chkconfig --add console
fd0a4716 118
119%preun
96eabc77 120if [ "$1" = "0" ]; then
121 /sbin/chkconfig --del console
122fi
fd0a4716 123
f08b8492 124%postun -p /sbin/ldconfig
125
ee37a75d 126%files -f %{name}.lang
f374e7e8 127%defattr(644,root,root,755)
5048ccc9 128%doc README NEWS BUGS doc/README.*
2ecab53e 129%doc doc/{dvorak,contrib}
5048ccc9 130%doc doc/*.txt
f374e7e8 131
a7351057 132%attr(754,root,root) /etc/rc.d/init.d/console
f84a7779 133%attr(755,root,root) /etc/profile.d/console.sh
82f78279 134%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/console
f374e7e8 135
de1f2e91 136%attr(755,root,root) %{_bindir}/*
cd1a2242 137%attr(755,root,root) %{_libdir}/lib*.so.*.*
f374e7e8 138
ed982fac 139%{_mandir}/man[1458]/*
fd0a4716 140
141%files devel
f374e7e8 142%defattr(644,root,root,755)
5048ccc9 143%doc doc/file-formats/{TMPL,cp,cpi,psf,raw,xpsf-draft*}
7a5a29c0 144%{_includedir}/lct
cd1a2242 145%attr(755,root,root) %{_libdir}/*.so
24db94ec 146%{_libdir}/*.la
fd0a4716 147
148%files static
0dc147e8 149%defattr(644,root,root,755)
150%{_libdir}/lib*.a
This page took 0.104502 seconds and 4 git commands to generate.