f4d17450 |
Summary: Key table files, console fonts, and keyboard utilities
Name: kbd |
d7dc2855 |
Version: 2.0.4
Release: 1%{?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
%description
The Kbd package contains key-table files, console fonts, and keyboard utilities.
%prep
%setup -q
%patch0 -p1
sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
%build
PKG_CONFIG_PATH=/tools/lib/pkgconfig \
./configure \
--prefix=%{_prefix} \
--disable-vlock \
--disable-silent-rules
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
install -vdm 755 %{buildroot}%{_defaultdocdir}/%{name}-%{version}
cp -R -v docs/doc/* %{buildroot}%{_defaultdocdir}/%{name}-%{version}
%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}/*/*
%changelog |
d7dc2855 |
* Mon Apr 03 2017 Divya Thaluru <dthaluru@vmware.com> 2.0.4-1
- Updated to version 2.0.4
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.0.3-2
- GA - Bump release of all rpms |
929d95c5 |
* Wed Jan 13 2016 Xiaolin Li <xiaolinl@vmware.com> 2.0.3-1 |
d7dc2855 |
- Updated to version 2.0.3
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.0.1-1
- Initial build. First version |