37ad57c
# Component versions
da09c04
%define xdpyinfo 1.3.2
7e05648
%define xev 1.2.2
7e05648
%define xlsatoms 1.1.2
37ad57c
%define xlsclients 1.1.3
7e05648
%define xlsfonts 1.0.5
37ad57c
%define xprop 1.2.2
8029bc4
%define xvinfo 1.1.3
da09c04
%define xwininfo 1.1.3
mharris 5aea477
37ad57c
Summary:    X.Org X11 X client utilities
37ad57c
Name:       xorg-x11-utils
37ad57c
Version:    7.5
8029bc4
Release:    19%{?dist}
37ad57c
License:    MIT
37ad57c
URL:        http://www.x.org
mharris 5aea477
37ad57c
Source0:    http://www.x.org/pub/individual/app/xdpyinfo-%{xdpyinfo}.tar.bz2
37ad57c
Source1:    http://www.x.org/pub/individual/app/xev-%{xev}.tar.bz2
37ad57c
Source2:    http://www.x.org/pub/individual/app/xlsatoms-%{xlsatoms}.tar.bz2
37ad57c
Source3:    http://www.x.org/pub/individual/app/xlsclients-%{xlsclients}.tar.bz2
37ad57c
Source4:    http://www.x.org/pub/individual/app/xlsfonts-%{xlsfonts}.tar.bz2
37ad57c
Source5:    http://www.x.org/pub/individual/app/xprop-%{xprop}.tar.bz2
37ad57c
Source6:    http://www.x.org/pub/individual/app/xvinfo-%{xvinfo}.tar.bz2
f7f7b5c
Source7:    http://www.x.org/pub/individual/app/xwininfo-%{xwininfo}.tar.bz2
mharris 5aea477
f7f7b5c
# No release tarball
7e05648
Source100:  edid-decode-afcf2a2e.tar.xz
7e05648
Source101:  edid-decode-snapshot.sh
70aaca4
37ad57c
BuildRequires:  gettext-devel
37ad57c
BuildRequires:  libtool
f7f7b5c
37ad57c
BuildRequires:  pkgconfig(dmx)
f7f7b5c
BuildRequires:  pkgconfig(x11)
f7f7b5c
BuildRequires:  pkgconfig(xcb) >= 1.6
37ad57c
BuildRequires:  pkgconfig(xext)
37ad57c
BuildRequires:  pkgconfig(xi)
f7f7b5c
BuildRequires:  pkgconfig(xcomposite)
37ad57c
BuildRequires:  pkgconfig(xinerama)
f7f7b5c
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
f7f7b5c
BuildRequires:  pkgconfig(xrandr) >= 1.2
37ad57c
BuildRequires:  pkgconfig(xtst)
37ad57c
BuildRequires:  pkgconfig(xv)
37ad57c
BuildRequires:  pkgconfig(xxf86dga)
37ad57c
BuildRequires:  pkgconfig(xxf86misc)
37ad57c
BuildRequires:  pkgconfig(xxf86vm)
mharris 6ee4794
f7f7b5c
Provides:   edid-decode
37ad57c
Provides:   xdpyinfo = %{xdpyinfo}
37ad57c
Provides:   xev = %{xev}
37ad57c
Provides:   xlsatoms = %{xlsatoms}
37ad57c
Provides:   xlsclients = %{xlsclients}
37ad57c
Provides:   xlsfonts = %{xlsfonts}
37ad57c
Provides:   xprop = %{xprop}
37ad57c
Provides:   xvinfo = %{xvinfo}
37ad57c
Provides:   xwininfo = %{xwininfo}
mharris 5aea477
mharris 5aea477
%description
37ad57c
A collection of client utilities which can be used to query the X server for
37ad57c
various information.
mharris 5aea477
mharris 5aea477
%prep
37ad57c
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a100
mharris 5aea477
mharris 5aea477
%build
mharris 5aea477
# Build all apps
mharris 5aea477
{
37ad57c
    for app in * ; do
37ad57c
        pushd $app
37ad57c
        if [ -e configure ] ; then
37ad57c
            autoreconf -vif
37ad57c
            %configure
37ad57c
        fi
f7f7b5c
        make %{?_smp_mflags}
37ad57c
        popd
37ad57c
    done
mharris 5aea477
}
mharris 5aea477
mharris 5aea477
%install
mharris 5aea477
# Install all apps
mharris 5aea477
{
37ad57c
    for app in * ; do
37ad57c
        pushd $app
37ad57c
            %make_install
37ad57c
        popd
37ad57c
    done
mharris 5aea477
}
mharris 5aea477
mharris 5aea477
%files
70aaca4
%{_bindir}/edid-decode
mharris 5aea477
%{_bindir}/xdpyinfo
mharris 5aea477
%{_bindir}/xev
mharris 5aea477
%{_bindir}/xlsatoms
mharris 5aea477
%{_bindir}/xlsclients
mharris 5aea477
%{_bindir}/xlsfonts
mharris 5aea477
%{_bindir}/xprop
mharris 5aea477
%{_bindir}/xvinfo
mharris 5aea477
%{_bindir}/xwininfo
1a4c390
%{_mandir}/man1/edid-decode.1*
5161e83
%{_mandir}/man1/xdpyinfo.1*
5161e83
%{_mandir}/man1/xev.1*
5161e83
%{_mandir}/man1/xlsatoms.1*
5161e83
%{_mandir}/man1/xlsclients.1*
5161e83
%{_mandir}/man1/xlsfonts.1*
5161e83
%{_mandir}/man1/xprop.1*
5161e83
%{_mandir}/man1/xvinfo.1*
5161e83
%{_mandir}/man1/xwininfo.1*
mharris 5aea477
mharris 5aea477
%changelog
8029bc4
* Fri May 01 2015 Simone Caronni <negativo17@gmail.com> - 7.5-19
8029bc4
- xvinfo 1.1.3
8029bc4
7e05648
* Thu Apr 30 2015 Simone Caronni <negativo17@gmail.com> - 7.5-18
7e05648
- xlsfonts 1.0.5
7e05648
- xlsatoms 1.1.2
7e05648
- xev 1.2.2
7e05648
- xdpyinfo 1.3.2
7e05648
- Use git commit id for edid-decode-snapshot.
7e05648
c813e4d
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 7.5-17
c813e4d
- Rebuilt for Fedora 23 Change
c813e4d
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
c813e4d
37ad57c
* Tue Nov 04 2014 Simone Caronni <negativo17@gmail.com> - 7.5-16
37ad57c
- Clean up SPEC file, fix rpmlint warnings.
37ad57c
- Update xslclients to 1.1.3.
f7f7b5c
- Simplify build requirements.
37ad57c
b2e3dec
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-15
b2e3dec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b2e3dec
5494681
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-14
5494681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5494681
1a4c390
* Wed Jan 29 2014 Adam Jackson <ajax@redhat.com> 7.5-13
1a4c390
- New edid-decode snapshot
1a4c390
Peter Hutterer 1771ff2
* Fri Aug 09 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.5-12
Peter Hutterer 1771ff2
- Update sources for latest tarballs, some changes got lost before the commit
Peter Hutterer 1771ff2
- require gettext-devel for AM_ICONV (now required by xwininfo)
Peter Hutterer 1771ff2
Peter Hutterer fd09667
* Fri Aug 09 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.5-11
Peter Hutterer fd09667
- xprop 1.2.2
Peter Hutterer fd09667
- xwininfo 1.1.2
Peter Hutterer fd09667
- xdpyinfo 1.3.1
Peter Hutterer fd09667
- xvinfo 1.1.1
Peter Hutterer fd09667
04791c1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-10
04791c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
04791c1
283e957
* Thu Mar 07 2013 Dave Airlie <airlied@redhat.com> 7.5-9
283e957
- autoreconf for aarch64
283e957
Peter Hutterer 8e47331
* Wed Jan 30 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.5-8
Peter Hutterer 8e47331
- xev 1.2.1
Peter Hutterer 8e47331
- xlsatoms 1.1.1
Peter Hutterer 8e47331
- xlsfonts 1.0.4
Peter Hutterer 8e47331
- xwininfo 1.1.2
Peter Hutterer 8e47331
3ed4090
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-7
3ed4090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3ed4090
399de8b
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-6
399de8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
399de8b
0ceae53
* Tue Nov 29 2011 Adam Jackson <ajax@redhat.com> 7.5-5
0f2bdaf
- xlsclients 1.1.2
0ceae53
- Rebuild for new xcb-util
0ceae53
b94e483
* Wed Nov 09 2011 Adam Jackson <ajax@redhat.com> 7.5-4
b94e483
- xdpyinfo 1.3.0
b94e483
af179b2
* Mon Sep 12 2011 Adam Jackson <ajax@redhat.com> 7.5-3
af179b2
- xprop 1.2.1
af179b2
ad15ddc
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-2
ad15ddc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild