diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..17b9587 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xmodmap-*.tar.bz2 diff --git a/sources b/sources new file mode 100644 index 0000000..587bf63 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xmodmap-1.0.9.tar.bz2) = 6e50f2ba072ec171bd3fc34f75b21c63f9834f3c0f1608c857f80a4b2c8a9696b03dde79f8342bf67504b759297bc24a64056a625d295a4f89dd31eb938400ac diff --git a/xmodmap.spec b/xmodmap.spec new file mode 100644 index 0000000..a4c8354 --- /dev/null +++ b/xmodmap.spec @@ -0,0 +1,42 @@ +Name: xmodmap +Version: 1.0.9 +Release: 1%{?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-39 + +%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 +* Wed Mar 03 2021 Peter Hutterer 1.0.9-1 +- Split xmodmap out from xorg-x11-server-utils into a separate package + (#1934390) +