From 81ad19d9b3977221cc3ce08cd41be1081a39514f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 13 Nov 2020 10:34:34 +1000 Subject: [PATCH] Split xkbcomp out from xorg-x11-xkb-utils into its own package (#1895770) --- .gitignore | 1 + sources | 1 + xkbcomp.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 .gitignore create mode 100644 sources create mode 100644 xkbcomp.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7aa4f12 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xkbcomp-*.tar.bz2 diff --git a/sources b/sources new file mode 100644 index 0000000..39b5317 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xkbcomp-1.4.4.tar.bz2) = 971eb06277a49083b42154472596f1452fa94cdee28bad345bbcd85b028441bfd975763c20ed92aa69d6605b3fb23d27fee89df91501963b77c863667bae41c4 diff --git a/xkbcomp.spec b/xkbcomp.spec new file mode 100644 index 0000000..70e954d --- /dev/null +++ b/xkbcomp.spec @@ -0,0 +1,49 @@ +Name: xkbcomp +Version: 1.4.4 +Release: 1%{?dist} +Summary: XKB keymap compiler + +License: MIT +URL: https://www.x.org + +Source0: https://www.x.org/pub/individual/app/xkbcomp-%{version}.tar.bz2 + +BuildRequires: make gcc +BuildRequires: libxkbfile-devel +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 + +Obsoletes: xorg-x11-xkb-utils < 7.8 + +%description +X.Org XKB keymap compiler + +%package devel +Summary: XKB keymap compiler development package +Requires: pkgconfig +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +X.Org XKB keymap compiler development files + +%prep +%autosetup + +%build +%configure --disable-silent-rules +%make_build + +%install +%make_install + +%files +%license COPYING +%{_bindir}/xkbcomp +%{_mandir}/man1/xkbcomp.1* + +%files devel +%{_libdir}/pkgconfig/xkbcomp.pc + +%changelog +* Thu Nov 05 2020 Peter Hutterer 1.4.4-1 +- Split xkbcomp out from xorg-x11-xkb-utils into its own package (#1895770)