xmodmap/xmodmap.spec

46 lines
1.1 KiB
RPMSpec

Name: xmodmap
Version: 1.0.9
Release: 2%{?dist}
Summary: Edit and display the X11 core keyboard map
License: MIT
URL: https://www.x.org
Source0: https://www.x.org/pub/individual/app/%{name}-%{version}.tar.bz2
BuildRequires: automake libtool
BuildRequires: gcc make
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
Obsoletes: xorg-x11-server-utils < 7.7-40
%description
The xmodmap program is used to edit and display the keyboard modifier
map and keymap table that are used by client applications to convert
event keycodes into keysyms.
%prep
%autosetup
%build
autoreconf -v --install
%configure --disable-silent-rules
%make_build
%install
%make_install
%files
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Thu Apr 08 2021 Peter Hutterer <peter.hutterer@redhat.com> - 1.0.9-2
- Fix Obsoletes line to actually obsolete the -39 server-utils (#1932754)
* Wed Mar 03 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.0.9-1
- Split xmodmap out from xorg-x11-server-utils into a separate package
(#1934390)