eccc8d
# Component versions
eccc8d
%global setxkbmap 1.3.1
eccc8d
%global xkbcomp 1.4.2
eccc8d
%global xkbevd 1.1.4
eccc8d
%global xkbprint 1.0.4
eccc8d
%global xkbutils 1.0.4
eccc8d
eccc8d
Summary:    X.Org X11 xkb utilities
eccc8d
Name:       xorg-x11-xkb-utils
eccc8d
Version:    7.7
eccc8d
Release:    28%{?dist}
eccc8d
License:    MIT
eccc8d
URL:        https://www.x.org
eccc8d
eccc8d
Source0:    https://www.x.org/pub/individual/app/setxkbmap-%{setxkbmap}.tar.bz2
eccc8d
Source1:    https://www.x.org/pub/individual/app/xkbcomp-%{xkbcomp}.tar.bz2
eccc8d
Source2:    https://www.x.org/pub/individual/app/xkbevd-%{xkbevd}.tar.bz2
eccc8d
Source3:    https://www.x.org/pub/individual/app/xkbprint-%{xkbprint}.tar.bz2
eccc8d
Source4:    https://www.x.org/pub/individual/app/xkbutils-%{xkbutils}.tar.bz2
eccc8d
eccc8d
Patch0: 0001-Suppress-high-keycode-warnings-at-the-default-warnin.patch
eccc8d
Patch1: 0001-Don-t-pretend-unresolved-symbols-are-an-error.patch
eccc8d
eccc8d
BuildRequires:  byacc
eccc8d
BuildRequires:  pkgconfig(x11)
eccc8d
BuildRequires:  pkgconfig(xaw7)
eccc8d
BuildRequires:  pkgconfig(xkbfile)
eccc8d
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
eccc8d
BuildRequires:  pkgconfig(xt)
eccc8d
eccc8d
Provides:   setxkbmap = %{setxkbmap}
eccc8d
Provides:   xkbcomp = %{xkbcomp}
eccc8d
eccc8d
%description
eccc8d
X.Org X11 xkb core utilities.
eccc8d
eccc8d
%package devel
eccc8d
Summary:    X.Org X11 xkb utilities development package
eccc8d
Requires:   pkgconfig
eccc8d
Requires:   xkbcomp
eccc8d
eccc8d
%description devel
eccc8d
X.Org X11 xkb utilities development files.
eccc8d
eccc8d
%package -n xorg-x11-xkb-extras
eccc8d
Summary:    X.Org X11 xkb gadgets
eccc8d
Provides:   xkbevd = %{xkbevd}
eccc8d
Provides:   xkbprint = %{xkbprint}
eccc8d
Provides:   xkbutils = %{xkbutils}
eccc8d
eccc8d
%description -n xorg-x11-xkb-extras
eccc8d
X.Org X11 xkb gadgets.
eccc8d
eccc8d
%prep
eccc8d
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
eccc8d
pushd xkbcomp-*
eccc8d
%patch0 -p1
eccc8d
%patch1 -p1
eccc8d
popd
eccc8d
eccc8d
%build
eccc8d
# Build all apps
eccc8d
{
eccc8d
    for app in * ; do
eccc8d
        pushd $app
eccc8d
            case $app in
eccc8d
                xkbcomp-*)
eccc8d
                    rm xkbparse.c # force regen
eccc8d
                    ;;
eccc8d
                *)
eccc8d
                    ;;
eccc8d
            esac
eccc8d
            %configure
eccc8d
            make %{?_smp_mflags}
eccc8d
        popd
eccc8d
    done
eccc8d
}
eccc8d
eccc8d
%install
eccc8d
# Install all apps
eccc8d
{
eccc8d
    for app in * ; do
eccc8d
        pushd $app
eccc8d
            %make_install
eccc8d
        popd
eccc8d
    done
eccc8d
}
eccc8d
eccc8d
%files
eccc8d
%{_bindir}/setxkbmap
eccc8d
%{_bindir}/xkbcomp
eccc8d
%{_mandir}/man1/setxkbmap.1*
eccc8d
%{_mandir}/man1/xkbcomp.1*
eccc8d
eccc8d
%files -n xorg-x11-xkb-extras
eccc8d
%doc xkbutils-%{xkbutils}/COPYING
eccc8d
%doc xkbutils-%{xkbutils}/README
eccc8d
%{_bindir}/xkbbell
eccc8d
%{_bindir}/xkbevd
eccc8d
%{_bindir}/xkbprint
eccc8d
%{_bindir}/xkbvleds
eccc8d
%{_bindir}/xkbwatch
eccc8d
%{_mandir}/man1/xkbbell.1*
eccc8d
%{_mandir}/man1/xkbevd.1*
eccc8d
%{_mandir}/man1/xkbprint.1*
eccc8d
%{_mandir}/man1/xkbvleds.*
eccc8d
%{_mandir}/man1/xkbwatch.*
eccc8d
eccc8d
%files devel
eccc8d
%{_libdir}/pkgconfig/xkbcomp.pc
eccc8d
eccc8d
%changelog
eccc8d
* Mon Jun 08 2020 Peter Hutterer <peter.hutterer@redhat.com> 7.7-28
eccc8d
- Downgrade errors about unresolved keysyms to warnings (#1780463)
eccc8d
eccc8d
* Wed Oct 17 2018 Adam Jackson <ajax@redhat.com> - 7.7-27
eccc8d
- Suppress high-keycode warnings from xkbcomp
eccc8d
eccc8d
* Fri Jun 22 2018 Peter Hutterer <peter.hutterer@redhat.com> 7.7-26
eccc8d
- xkbcomp 1.4.2
eccc8d
eccc8d
* Thu Jun 07 2018 Peter Hutterer <peter.hutterer@redhat.com> 7.7-25
eccc8d
- Ignore maximum keycode range greater than 255 (#1587998)
eccc8d
eccc8d
* Tue Mar 13 2018 Adam Jackson <ajax@redhat.com> - 7.7-24
eccc8d
- Make -devel Require the base package, so the pc file will point to an
eccc8d
  xkbcomp that actually exists.
eccc8d
eccc8d
* Thu Mar 01 2018 Adam Jackson <ajax@redhat.com> - 7.7-23
eccc8d
- xkbcomp 1.4.1
eccc8d
- https URLs
eccc8d
eccc8d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-22
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eccc8d
eccc8d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-21
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
eccc8d
eccc8d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-20
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
eccc8d
eccc8d
* Thu Jun 22 2017 Peter Hutterer <peter.hutterer@redhat.com> 7.7-19
eccc8d
- xkbcomp 1.4.0 (#1463366)
eccc8d
eccc8d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-18
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eccc8d
eccc8d
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-17
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
eccc8d
eccc8d
* Wed Jan 20 2016 Peter Hutterer <peter.hutterer@redhat.com>
eccc8d
- s/define/global/
eccc8d
eccc8d
* Thu Nov 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 7.7-16
eccc8d
- xkbcomp 1.3.1 (#1010592)
eccc8d
eccc8d
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-15
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
eccc8d
eccc8d
* Thu Apr 30 2015 Simone Caronni <negativo17@gmail.com> - 7.7-14
eccc8d
- setxkbmap 1.3.1
eccc8d
- xkbevd 1.1.4
eccc8d
- xkbprint 1.0.4
eccc8d
eccc8d
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 7.7-13
eccc8d
- Rebuilt for Fedora 23 Change
eccc8d
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
eccc8d
eccc8d
* Fri Nov 21 2014 Peter Hutterer <peter.hutterer@redhat.com> 7.7-12
eccc8d
- xkbcomp 1.3.0
eccc8d
eccc8d
* Fri Nov 07 2014 Simone Caronni <negativo17@gmail.com> - 7.7-11
eccc8d
- Clean up SPEC file, build all components like other x11 packages.
eccc8d
eccc8d
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-10
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
eccc8d
eccc8d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-9
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
eccc8d
eccc8d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-8
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eccc8d
eccc8d
* Tue May 21 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-7
eccc8d
- Apply the patch this time...
eccc8d
eccc8d
* Tue May 21 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-6
eccc8d
- Add missing options to xkbcomp man page (#948842)
eccc8d
eccc8d
* Mon Feb 11 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-5
eccc8d
- xkbutils 1.0.4
eccc8d
eccc8d
* Tue Nov 13 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-4
eccc8d
- xkbcomp: Fix generation of XKB directory listing, missing reset on file
eccc8d
  handler caused parse errors and incomplete directory listings
eccc8d
eccc8d
* Tue Aug 28 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-2
eccc8d
- Remove duplicate sources
eccc8d
eccc8d
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-2
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eccc8d
eccc8d
* Wed Jun 20 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-1
eccc8d
- X11R7.7 updates:
eccc8d
- xkbcomp 1.2.4
eccc8d
- setxkbmap 1.3.0
eccc8d
- xkbevd 1.1.3
eccc8d
eccc8d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-6
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eccc8d
eccc8d
* Wed Jun 22 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-5
eccc8d
- xkbcomp 1.2.3
eccc8d
eccc8d
* Fri Feb 11 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-4
eccc8d
- xkbcomp 1.2.1
eccc8d
eccc8d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-3
eccc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eccc8d
eccc8d
* Mon Jan 10 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-2
eccc8d
- xkbprint-1.0.3
eccc8d
eccc8d
* Mon Nov 01 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.5-1
eccc8d
- setxkbmap 1.2.0
eccc8d
- xkbcomp 1.2.0
eccc8d
- xkbutils 1.0.3
eccc8d
- xkbevd 1.1.1
eccc8d
eccc8d
* Mon Oct 11 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.4-9
eccc8d
- xkbcomp-hex-parsing.patch: fix up parsing of hex-code symbols (#638244)
eccc8d
eccc8d
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 7.4-8
eccc8d
- xkbcomp-speed.patch: Backport performance changes from git master.