Blame SPECS/xorg-x11-xkb-utils.spec

aea5f6
Summary: X.Org X11 xkb utilities
aea5f6
Name: xorg-x11-xkb-utils
aea5f6
Version: 7.7
1efe69
Release: 9.1%{?dist}
aea5f6
License: MIT
aea5f6
Group: User Interface/X
aea5f6
URL: http://www.x.org
aea5f6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
aea5f6
aea5f6
# use the macro so the doc dir is changed automagically
aea5f6
%define xkbutils_version 1.0.4
aea5f6
Source0: ftp://ftp.x.org/pub/individual/app/xkbutils-%{xkbutils_version}.tar.bz2
aea5f6
Source1: ftp://ftp.x.org/pub/individual/app/xkbcomp-1.2.4.tar.bz2
aea5f6
Source2: ftp://ftp.x.org/pub/individual/app/xkbevd-1.1.3.tar.bz2
aea5f6
Source3: ftp://ftp.x.org/pub/individual/app/xkbprint-1.0.3.tar.bz2
aea5f6
Source4: ftp://ftp.x.org/pub/individual/app/setxkbmap-1.3.0.tar.bz2
aea5f6
aea5f6
Patch01: 0001-Reset-scan-state-when-opening-a-new-file.patch
aea5f6
Patch02: 0001-man-document-help-em1-emp-eml.patch
aea5f6
# Bug 968996 - Warning about redefinition of compat map
aea5f6
Patch03: 0001-compat-don-t-warn-about-redefinition-when-nothing-is.patch
aea5f6
# Bug 1002343 - Overlong key names are not null-terminated (2 in 1!)
aea5f6
Patch04: 0001-Always-terminate-the-scanBuf-string-66345.patch
aea5f6
aea5f6
BuildRequires: pkgconfig
aea5f6
BuildRequires: byacc
aea5f6
BuildRequires: libxkbfile-devel
aea5f6
BuildRequires: libX11-devel
aea5f6
BuildRequires: libXaw-devel
aea5f6
BuildRequires: libXt-devel
aea5f6
# FIXME: xkbvleds requires libXext, but autotools doesn't check/require it:
aea5f6
# gcc  -O2 -g -march=i386 -mcpu=i686   -o xkbvleds  xkbvleds-xkbvleds.o
aea5f6
# xkbvleds-LED.o xkbvleds-utils.o -lXaw7 -lXmu -lXt -lSM -lICE -lXext -lXpm -lX11 -ldl
aea5f6
# /usr/bin/ld: cannot find -lXext
aea5f6
# libXext-devel needed for xkbutils (from above error)
aea5f6
BuildRequires: libXext-devel
aea5f6
# FIXME: xkbvleds requires libXext, but autotools doesn't check/require it:
aea5f6
# gcc  -O2 -g -march=i386 -mcpu=i686   -o xkbvleds  xkbvleds-xkbvleds.o
aea5f6
# xkbvleds-LED.o xkbvleds-utils.o -lXaw7 -lXmu -lXt -lSM -lICE -lXext -lXpm -lX11 -ldl
aea5f6
# /usr/bin/ld: cannot find -lXpm
aea5f6
# libXpm-devel needed for xkbutils (from above error)
aea5f6
BuildRequires: libXpm-devel
aea5f6
aea5f6
Provides: setxkbmap xkbcomp
aea5f6
Obsoletes: XFree86 xorg-x11
aea5f6
aea5f6
%package devel
aea5f6
Summary:        X.Org X11 xkb utilities development package.
aea5f6
Group:          Development/Libraries
aea5f6
Requires:       pkgconfig
aea5f6
%description devel
aea5f6
X.Org X11 xkb utilities development files.
aea5f6
aea5f6
%package -n xorg-x11-xkb-extras
aea5f6
Summary: X.Org X11 xkb gadgets
aea5f6
Provides: xkbevd xkbprint xkbutils
aea5f6
aea5f6
%description
aea5f6
X.Org X11 xkb core utilities
aea5f6
aea5f6
%description -n xorg-x11-xkb-extras
aea5f6
X.Org X11 xkb gadgets
aea5f6
aea5f6
%prep
aea5f6
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
aea5f6
%patch01 -p1
aea5f6
%patch02 -p1
aea5f6
%patch03 -p1
aea5f6
%patch04 -p1
aea5f6
aea5f6
%build
aea5f6
export CFLAGS="$RPM_OPT_FLAGS -DHAVE_STRCASECMP -Os"
aea5f6
for pkg in xkbutils setxkbmap xkbcomp xkbevd xkbprint ; do
aea5f6
    pushd $pkg-*
aea5f6
    [ $pkg == xkbcomp ] && rm xkbparse.c # force regen
aea5f6
    %configure
aea5f6
    make V=1
aea5f6
    popd
aea5f6
done
aea5f6
aea5f6
%install
aea5f6
rm -rf $RPM_BUILD_ROOT
aea5f6
for pkg in xkbutils setxkbmap xkbcomp xkbevd xkbprint ; do
aea5f6
    pushd $pkg-*
aea5f6
    make install DESTDIR=$RPM_BUILD_ROOT
aea5f6
    popd
aea5f6
done
aea5f6
aea5f6
%clean
aea5f6
rm -rf $RPM_BUILD_ROOT
aea5f6
aea5f6
%files
aea5f6
%defattr(-,root,root,-)
aea5f6
%{_bindir}/setxkbmap
aea5f6
%{_bindir}/xkbcomp
aea5f6
%{_mandir}/man1/setxkbmap.1*
aea5f6
%{_mandir}/man1/xkbcomp.1*
aea5f6
aea5f6
%files -n xorg-x11-xkb-extras
aea5f6
%defattr(-,root,root,-)
aea5f6
%doc xkbutils-%{xkbutils_version}/COPYING
aea5f6
%doc xkbutils-%{xkbutils_version}/README
aea5f6
%{_bindir}/xkbbell
aea5f6
%{_bindir}/xkbevd
aea5f6
%{_bindir}/xkbprint
aea5f6
%{_bindir}/xkbvleds
aea5f6
%{_bindir}/xkbwatch
aea5f6
%{_mandir}/man1/xkbbell.1*
aea5f6
%{_mandir}/man1/xkbevd.1*
aea5f6
%{_mandir}/man1/xkbprint.1*
aea5f6
%{_mandir}/man1/xkbvleds.*
aea5f6
%{_mandir}/man1/xkbwatch.*
aea5f6
aea5f6
%files devel
aea5f6
%defattr(-,root,root,-)
aea5f6
%{_libdir}/pkgconfig/xkbcomp.pc
aea5f6
aea5f6
%changelog
1efe69
* Wed Feb 12 2014 Adam Jackson <ajax@redhat.com> 7.7-9.1
1efe69
- Mass rebuild
1efe69
1efe69
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 7.7-9
1efe69
- Mass rebuild 2013-12-27
1efe69
aea5f6
* Thu Aug 29 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-8
aea5f6
- Fix warning about redefinition of compat map (#968996)
aea5f6
- Null-terminate long key names (#1002343)
aea5f6
aea5f6
* Tue May 21 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-7
aea5f6
- Apply the patch this time...
aea5f6
aea5f6
* Tue May 21 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-6
aea5f6
- Add missing options to xkbcomp man page (#948842)
aea5f6
aea5f6
* Mon Feb 11 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-5
aea5f6
- xkbutils 1.0.4
aea5f6
aea5f6
* Tue Nov 13 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-4
aea5f6
- xkbcomp: Fix generation of XKB directory listing, missing reset on file
aea5f6
  handler caused parse errors and incomplete directory listings
aea5f6
aea5f6
* Tue Aug 28 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-2
aea5f6
- Remove duplicate sources
aea5f6
aea5f6
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-2
aea5f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aea5f6
aea5f6
* Wed Jun 20 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.7-1
aea5f6
- X11R7.7 updates:
aea5f6
- xkbcomp 1.2.4
aea5f6
- setxkbmap 1.3.0
aea5f6
- xkbevd 1.1.3
aea5f6
aea5f6
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-6
aea5f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aea5f6
aea5f6
* Wed Jun 22 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-5
aea5f6
- xkbcomp 1.2.3
aea5f6
aea5f6
* Fri Feb 11 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-4
aea5f6
- xkbcomp 1.2.1
aea5f6
aea5f6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-3
aea5f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aea5f6
aea5f6
* Mon Jan 10 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-2
aea5f6
- xkbprint-1.0.3
aea5f6
aea5f6
* Mon Nov 01 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.5-1
aea5f6
- setxkbmap 1.2.0
aea5f6
- xkbcomp 1.2.0
aea5f6
- xkbutils 1.0.3
aea5f6
- xkbevd 1.1.1
aea5f6
aea5f6
* Mon Oct 11 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.4-9
aea5f6
- xkbcomp-hex-parsing.patch: fix up parsing of hex-code symbols (#638244)
aea5f6
aea5f6
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 7.4-8
aea5f6
- xkbcomp-speed.patch: Backport performance changes from git master.
aea5f6
aea5f6
* Mon Oct 19 2009 Adam Jackson <ajax@redhat.com> 7.4-7
aea5f6
- xkbevd 1.1.0
aea5f6
- xkbutils 1.0.2
aea5f6
aea5f6
* Wed Oct 07 2009 Adam Jackson <ajax@redhat.com> 7.4-6
aea5f6
- xkbcomp 1.1.1
aea5f6
aea5f6
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4-5
aea5f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
aea5f6
aea5f6
* Thu Jul 09 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.4-4
aea5f6
- setxkbmap 1.1.0
aea5f6
aea5f6
* Thu Jul 09 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.4-3
aea5f6
- xkbcomp 1.1.0
aea5f6
aea5f6
* Thu Jul 02 2009 Adam Jackson <ajax@redhat.com> 7.4-2
aea5f6
- Fix missing %%defattr in -extras
aea5f6
aea5f6
* Thu Jul 02 2009 Adam Jackson <ajax@redhat.com> 7.4-1
aea5f6
- Split Xaw-requiring utilities to extras subpackage
aea5f6
aea5f6
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2-8
aea5f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aea5f6
aea5f6
* Mon Aug 25 2008 Peter Hutterer <peter.hutterer@redhat.com> 7.2-7
aea5f6
- xkbcomp 1.0.5
aea5f6
- Remove xkbcomp-1.0.4-open-less.patch.
aea5f6
- xkbcomp-1.0.5-dont-overwrite.patch: Don't overwrite groups unnecessarily.
aea5f6
aea5f6
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 7.2-6
aea5f6
- Fix license tag.
aea5f6
aea5f6
* Wed Apr 16 2008 Adam Jackson <ajax@redhat.com> 7.2-5
aea5f6
- xkbcomp 1.0.4
aea5f6
- xkbcomp-1.0.4-open-less.patch: Make xkbcomp faster by removing uncredible
aea5f6
  fail.
aea5f6
aea5f6
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 7.2-4
aea5f6
- Autorebuild for GCC 4.3
aea5f6
aea5f6
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 7.2-3
aea5f6
- Rebuild for ppc toolchain bug
aea5f6
aea5f6
* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 7.2-2
aea5f6
- rebuild for toolchain bug
aea5f6
aea5f6
* Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 7.2-1
aea5f6
- setxkbmap 1.0.4
aea5f6
- Arbitrary version number bump, to match X.org release numbering.  Why not.
aea5f6
aea5f6
* Mon Jan 08 2007 Adam Jackson <ajax@redhat.com> 1.0.2-3
aea5f6
- From OLPC: jam -DHAVE_STRCASECMP into CFLAGS to make xkbcomp (and therefore
aea5f6
  X server startup) slightly less painfully slow.
aea5f6
aea5f6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
aea5f6
- rebuild
aea5f6
aea5f6
* Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
aea5f6
- Added xkbutils_version macro, which can be used in the Version field
aea5f6
  in the future, to help prevent accidental bumping of the package version.
aea5f6
aea5f6
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
aea5f6
- Update setxkbmap, xkbevd, and xkbcomp
aea5f6
aea5f6
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
aea5f6
- bump again for double-long bug on ppc(64)
aea5f6
aea5f6
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
aea5f6
- rebuilt for new gcc4.1 snapshot and glibc changes
aea5f6
aea5f6
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
aea5f6
- Updated all apps to version 1.0.1 from X11R7.0
aea5f6
aea5f6
* Sat Dec 17 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
aea5f6
- Updated all apps to version 1.0.0 from X11R7 RC4.
aea5f6
- Changed manpage dir from man1x to man1 to match upstream default.
aea5f6
aea5f6
* Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
aea5f6
- Change from "Conflicts" to "Obsoletes: XFree86, xorg-x11" for upgrades.
aea5f6
- Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
aea5f6
aea5f6
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
aea5f6
- Updated to xkbutils-0.99.1, setxkbmap-0.99.2, xkbcomp-0.99.1, xkbevd-0.99.2,
aea5f6
  xkbprint-0.99.1 from X11R7 RC2.
aea5f6
aea5f6
* Thu Nov 10 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
aea5f6
- Updated xkbutils to version 0.99.0 from X11R7 RC1.  The upstream tarball
aea5f6
  changed, but the version stayed the same.  <sigh>
aea5f6
- Updated setxkbmap, xkbcomp, xkbevd, xkbprint.
aea5f6
- Change manpage location to 'man1x' in file manifest.
aea5f6
- Iterate over packages with for loop instead of serialized code duplication.
aea5f6
aea5f6
* Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
aea5f6
- Use Fedora-Extras style BuildRoot tag.
aea5f6
- Update BuildRequires to use new library package names.
aea5f6
- Tidy up spec file a bit.
aea5f6
aea5f6
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
aea5f6
- Initial build.