89fcc1
# Component versions
89fcc1
%define setxkbmap 1.3.1
89fcc1
%define xkbcomp 1.4.2
89fcc1
%define xkbevd 1.1.4
89fcc1
%define xkbprint 1.0.4
89fcc1
%define xkbutils 1.0.4
89fcc1
89fcc1
Summary:    X.Org X11 xkb utilities
89fcc1
Name:       xorg-x11-xkb-utils
89fcc1
Version:    7.7
89fcc1
Release:    14%{?dist}
89fcc1
License:    MIT
89fcc1
Group:      User Interface/X
89fcc1
URL:        http://www.x.org
89fcc1
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
89fcc1
89fcc1
Source0:    https://www.x.org/pub/individual/app/setxkbmap-%{setxkbmap}.tar.bz2
89fcc1
Source1:    https://www.x.org/pub/individual/app/xkbcomp-%{xkbcomp}.tar.bz2
89fcc1
Source2:    https://www.x.org/pub/individual/app/xkbevd-%{xkbevd}.tar.bz2
89fcc1
Source3:    https://www.x.org/pub/individual/app/xkbprint-%{xkbprint}.tar.bz2
89fcc1
Source4:    https://www.x.org/pub/individual/app/xkbutils-%{xkbutils}.tar.bz2
89fcc1
89fcc1
BuildRequires:  byacc
89fcc1
BuildRequires:  pkgconfig(x11)
89fcc1
BuildRequires:  pkgconfig(xaw7)
89fcc1
BuildRequires:  pkgconfig(xkbfile)
89fcc1
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
89fcc1
BuildRequires:  pkgconfig(xt)
89fcc1
89fcc1
89fcc1
Provides:   setxkbmap = %{setxkbmap}
89fcc1
Provides:   xkbcomp = %{xkbcomp}
89fcc1
89fcc1
%description
89fcc1
X.Org X11 xkb core utilities.
89fcc1
89fcc1
%package devel
89fcc1
Summary:    X.Org X11 xkb utilities development package
89fcc1
Group:      Development/Libraries
89fcc1
Requires:   pkgconfig
89fcc1
Requires:   xkbcomp
89fcc1
89fcc1
%description devel
89fcc1
X.Org X11 xkb utilities development files.
89fcc1
89fcc1
%package -n xorg-x11-xkb-extras
89fcc1
Summary:    X.Org X11 xkb gadgets
89fcc1
Provides:   xkbevd = %{xkbevd}
89fcc1
Provides:   xkbprint = %{xkbprint}
89fcc1
Provides:   xkbutils = %{xkbutils}
89fcc1
89fcc1
%description -n xorg-x11-xkb-extras
89fcc1
X.Org X11 xkb gadgets.
89fcc1
89fcc1
%prep
89fcc1
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
89fcc1
89fcc1
%build
89fcc1
# Build all apps
89fcc1
{
89fcc1
    for app in * ; do
89fcc1
        pushd $app
89fcc1
            case $app in
89fcc1
                xkbcomp-*)
89fcc1
                    rm xkbparse.c # force regen
89fcc1
                    ;;
89fcc1
                *)
89fcc1
                    ;;
89fcc1
            esac
89fcc1
            %configure
89fcc1
            make %{?_smp_mflags}
89fcc1
        popd
89fcc1
    done
89fcc1
}
89fcc1
89fcc1
%install
89fcc1
# Install all apps
89fcc1
{
89fcc1
    for app in * ; do
89fcc1
        pushd $app
89fcc1
            %make_install
89fcc1
        popd
89fcc1
    done
89fcc1
}
89fcc1
89fcc1
%files
89fcc1
%defattr(-,root,root,-)
89fcc1
%{_bindir}/setxkbmap
89fcc1
%{_bindir}/xkbcomp
89fcc1
%{_mandir}/man1/setxkbmap.1*
89fcc1
%{_mandir}/man1/xkbcomp.1*
89fcc1
89fcc1
%files -n xorg-x11-xkb-extras
89fcc1
%defattr(-,root,root,-)
89fcc1
%doc xkbutils-%{xkbutils}/COPYING
89fcc1
%doc xkbutils-%{xkbutils}/README
89fcc1
%{_bindir}/xkbbell
89fcc1
%{_bindir}/xkbevd
89fcc1
%{_bindir}/xkbprint
89fcc1
%{_bindir}/xkbvleds
89fcc1
%{_bindir}/xkbwatch
89fcc1
%{_mandir}/man1/xkbbell.1*
89fcc1
%{_mandir}/man1/xkbevd.1*
89fcc1
%{_mandir}/man1/xkbprint.1*
89fcc1
%{_mandir}/man1/xkbvleds.*
89fcc1
%{_mandir}/man1/xkbwatch.*
89fcc1
89fcc1
%files devel
89fcc1
%defattr(-,root,root,-)
89fcc1
%{_libdir}/pkgconfig/xkbcomp.pc
89fcc1
89fcc1
%changelog
89fcc1
* Fri Jun 08 2018 Peter Hutterer <peter.hutterer@redhat.com> 7.7-14
89fcc1
- xkbcomp 1.4.2 (#1564634)
89fcc1
89fcc1
* Tue May 15 2018 Peter Hutterer <peter.hutterer@redhat.com> 7.7-13
89fcc1
- Sync with F28 (#1564634)
89fcc1
- setxkbmap 1.3.1
89fcc1
- xkbcomp 1.4.1
89fcc1
- xkbevd 1.1.4
89fcc1
- xkbprint 1.0.4
89fcc1
89fcc1
* Mon Apr 20 2015 Peter Hutterer <peter.hutterer@redhat.com> 7.7-12
89fcc1
- Merge with F22 (#1194895)
89fcc1
89fcc1
* Wed Feb 12 2014 Adam Jackson <ajax@redhat.com> 7.7-9.1
89fcc1
- Mass rebuild
89fcc1
89fcc1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 7.7-9
89fcc1
- Mass rebuild 2013-12-27
89fcc1
89fcc1
* Thu Aug 29 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-8
89fcc1
- Fix warning about redefinition of compat map (#968996)
89fcc1
- Null-terminate long key names (#1002343)
89fcc1
89fcc1
* Tue May 21 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-7
89fcc1
- Apply the patch this time...
89fcc1
89fcc1
* Tue May 21 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-6
89fcc1
- Add missing options to xkbcomp man page (#948842)
89fcc1
89fcc1
* Mon Feb 11 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-5
89fcc1
- xkbutils 1.0.4
89fcc1
89fcc1
* Tue Nov 13 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-4
89fcc1
- xkbcomp: Fix generation of XKB directory listing, missing reset on file
89fcc1
  handler caused parse errors and incomplete directory listings
89fcc1
89fcc1
* Tue Aug 28 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-2
89fcc1
- Remove duplicate sources
89fcc1
89fcc1
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-2
89fcc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
89fcc1
89fcc1
* Wed Jun 20 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-1
89fcc1
- X11R7.7 updates:
89fcc1
- xkbcomp 1.2.4
89fcc1
- setxkbmap 1.3.0
89fcc1
- xkbevd 1.1.3
89fcc1
89fcc1
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-6
89fcc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
89fcc1
89fcc1
* Wed Jun 22 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-5
89fcc1
- xkbcomp 1.2.3
89fcc1
89fcc1
* Fri Feb 11 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-4
89fcc1
- xkbcomp 1.2.1
89fcc1
89fcc1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-3
89fcc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
89fcc1
89fcc1
* Mon Jan 10 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-2
89fcc1
- xkbprint-1.0.3
89fcc1
89fcc1
* Mon Nov 01 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.5-1
89fcc1
- setxkbmap 1.2.0
89fcc1
- xkbcomp 1.2.0
89fcc1
- xkbutils 1.0.3
89fcc1
- xkbevd 1.1.1
89fcc1
89fcc1
* Mon Oct 11 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.4-9
89fcc1
- xkbcomp-hex-parsing.patch: fix up parsing of hex-code symbols (#638244)
89fcc1
89fcc1
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 7.4-8
89fcc1
- xkbcomp-speed.patch: Backport performance changes from git master.