f4d17450 |
Summary: Key table files, console fonts, and keyboard utilities
Name: kbd |
d7dc2855 |
Version: 2.0.4 |
43325296 |
Release: 3%{?dist} |
f4d17450 |
License: GPLv2
URL: http://ftp.altlinux.org/pub/people/legion/kbd
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon |
929d95c5 |
Source0: http://ftp.altlinux.org/pub/people/legion/kbd/%{name}-%{version}.tar.xz |
d7dc2855 |
%define sha1 kbd=cf5d45c62d6af70b8b1f210d89193b52f5efb05d
Patch0: kbd-2.0.4-backspace-1.patch |
f4d17450 |
BuildRequires: check >= 0.9.4 |
43325296 |
Conflicts: toybox
|
f4d17450 |
%description
The Kbd package contains key-table files, console fonts, and keyboard utilities. |
43325296 |
|
f4d17450 |
%prep
%setup -q
%patch0 -p1
sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in |
43325296 |
|
f4d17450 |
%build
PKG_CONFIG_PATH=/tools/lib/pkgconfig \ |
43325296 |
%configure --disable-vlock --disable-silent-rules |
f4d17450 |
make %{?_smp_mflags} |
43325296 |
|
f4d17450 |
%install
make DESTDIR=%{buildroot} install
install -vdm 755 %{buildroot}%{_defaultdocdir}/%{name}-%{version}
cp -R -v docs/doc/* %{buildroot}%{_defaultdocdir}/%{name}-%{version} |
780ea9ab |
rm -f %{buildroot}%{_defaultdocdir}/%{name}-%{version}/kbd.FAQ* |
f4d17450 |
%find_lang %{name} |
d009d976 |
|
f4d17450 |
%check |
d009d976 |
make %{?_smp_mflags} check
|
f4d17450 |
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%{_defaultdocdir}/%{name}-%{version}/*
%{_datarootdir}/consolefonts/*
%{_datarootdir}/consoletrans/*
%{_datarootdir}/keymaps/*
%{_datarootdir}/unimaps/*
%{_mandir}/*/* |
43325296 |
|
f4d17450 |
%changelog |
43325296 |
* Tue Oct 2 2018 Michelle Wang <michellew@vmware.com> 2.0.4-3
- Add conflict toybox. |
780ea9ab |
* Mon Sep 11 2017 Anish Swaminathan <anishs@vmware.com> 2.0.4-2 |
43325296 |
- Remove FAQs from main package. |
d7dc2855 |
* Mon Apr 03 2017 Divya Thaluru <dthaluru@vmware.com> 2.0.4-1 |
43325296 |
- Updated to version 2.0.4. |
d7dc2855 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.0.3-2 |
43325296 |
- GA - Bump release of all rpms. |
929d95c5 |
* Wed Jan 13 2016 Xiaolin Li <xiaolinl@vmware.com> 2.0.3-1 |
43325296 |
- Updated to version 2.0.3. |
d7dc2855 |
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.0.1-1 |
43325296 |
- Initial build First version. |