diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2ab0d4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +/edid-decode-dcc8b834.tar.xz +/xdpyinfo-1.3.2.tar.bz2 +/xev-1.2.2.tar.bz2 +/xlsatoms-1.1.2.tar.bz2 +/xlsclients-1.1.4.tar.bz2 +/xlsfonts-1.0.6.tar.bz2 +/xprop-1.2.3.tar.bz2 +/xvinfo-1.1.3.tar.bz2 +/xwininfo-1.1.4.tar.bz2 diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/edid-decode-snapshot.sh b/edid-decode-snapshot.sh new file mode 100755 index 0000000..8c8770b --- /dev/null +++ b/edid-decode-snapshot.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +git clone git://git.freedesktop.org/git/xorg/app/edid-decode +cd edid-decode + +REVISION=$(git log | head -n1 | awk '{print $2}' | cut -c 1-8) + +rm -fr .git +cd .. +tar -cJf edid-decode-${REVISION}.tar.xz edid-decode +rm -fr edid-decode diff --git a/sources b/sources new file mode 100644 index 0000000..1bd4f83 --- /dev/null +++ b/sources @@ -0,0 +1,9 @@ +SHA512 (edid-decode-dcc8b834.tar.xz) = c8e8d574e23c73048d3a4f754d96029b769d396dc802b130555fd0cd195519c33d0d8652230fd041c10a79b38d0c4e4e96bd999ff8aed9a772f4887c8263b96b +SHA512 (xdpyinfo-1.3.2.tar.bz2) = 2c9097c13778c7a7fe5a9b3ee04b28512ff6028231eca91ecdf6104c742be470678920d37a4f540fece7e39dccbea34802271f359ab80618027b2856c8912e7d +SHA512 (xev-1.2.2.tar.bz2) = 453fc18072e4d4fd088a1b2e918f3772aaa2c56b36c082deb41ec4d434d1579de75f447fc4e0507086c170152e02d6db8b60dc7fd87ae18a2e817448bd628fca +SHA512 (xlsatoms-1.1.2.tar.bz2) = f29001de22818792212312f1b9daee1bf7afa2ef2ae945cd8c14bdc1a7bb40064d3878c5efea60458ac0bf515ab1ece16fa90cbd2b0a879a5f07f3aa3e6a0baa +SHA512 (xlsclients-1.1.4.tar.bz2) = 42fd848d88d3cf31168a37fed63f9f5b60ddc4f36be2956b354e574c93129d75f29e005d6631784380bcef27860b54c64f419ca18ad77f092f4520dec47b10f4 +SHA512 (xlsfonts-1.0.6.tar.bz2) = 052a3b1dec23cb20fdfacd4500cb836feb3b888bf568a548ea71deb58a4ba10a1ad5392d658e95272c6d4a1832edf1f19c3de2498b78dca82c43ee52800a30c0 +SHA512 (xprop-1.2.3.tar.bz2) = ad7987fec11ae19b7adc3b0f683fc393e95155f3b6c753d1d8744aedcfb360452eee5735a4c380152b286905931515f3e1a28676b5531001eb8dd93b7249916a +SHA512 (xvinfo-1.1.3.tar.bz2) = df8356898390d2aec4fbd15cee1627bb86b57ff8af41a527d4f6f6703a81f399a3098da342b94af6d4cf4a817d9fda1946a206bfbe3995e87ceb9910bb8b51bc +SHA512 (xwininfo-1.1.4.tar.bz2) = d3ab103a0a311e08d1eabc4346750c21eb7d2fbcdc27cab0989a2624b9cd488911614fcf9832603353450114b1231a8f8262cab16e090a0d458d83ec7b6b959b diff --git a/xorg-x11-utils.spec b/xorg-x11-utils.spec new file mode 100644 index 0000000..5394c36 --- /dev/null +++ b/xorg-x11-utils.spec @@ -0,0 +1,215 @@ +# Component versions +%global xdpyinfo 1.3.2 +%global xev 1.2.2 +%global xlsatoms 1.1.2 +%global xlsclients 1.1.4 +%global xlsfonts 1.0.6 +%global xprop 1.2.3 +%global xvinfo 1.1.3 +%global xwininfo 1.1.4 + +Summary: X.Org X11 X client utilities +Name: xorg-x11-utils +Version: 7.5 +Release: 28%{?dist} +License: MIT +URL: http://www.x.org + +Source0: https://www.x.org/pub/individual/app/xdpyinfo-%{xdpyinfo}.tar.bz2 +Source1: https://www.x.org/pub/individual/app/xev-%{xev}.tar.bz2 +Source2: https://www.x.org/pub/individual/app/xlsatoms-%{xlsatoms}.tar.bz2 +Source3: https://www.x.org/pub/individual/app/xlsclients-%{xlsclients}.tar.bz2 +Source4: https://www.x.org/pub/individual/app/xlsfonts-%{xlsfonts}.tar.bz2 +Source5: https://www.x.org/pub/individual/app/xprop-%{xprop}.tar.bz2 +Source6: https://www.x.org/pub/individual/app/xvinfo-%{xvinfo}.tar.bz2 +Source7: https://www.x.org/pub/individual/app/xwininfo-%{xwininfo}.tar.bz2 + +# No release tarball +Source100: edid-decode-dcc8b834.tar.xz +Source101: edid-decode-snapshot.sh + +BuildRequires: gettext-devel +BuildRequires: libtool + +BuildRequires: pkgconfig(dmx) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xcb) >= 1.6 +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xi) +BuildRequires: pkgconfig(xcomposite) +BuildRequires: pkgconfig(xinerama) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(xrandr) >= 1.2 +BuildRequires: pkgconfig(xtst) +BuildRequires: pkgconfig(xv) +BuildRequires: pkgconfig(xxf86dga) +BuildRequires: pkgconfig(xxf86misc) +BuildRequires: pkgconfig(xxf86vm) + +Provides: edid-decode +Provides: xdpyinfo = %{xdpyinfo} +Provides: xev = %{xev} +Provides: xlsatoms = %{xlsatoms} +Provides: xlsclients = %{xlsclients} +Provides: xlsfonts = %{xlsfonts} +Provides: xprop = %{xprop} +Provides: xvinfo = %{xvinfo} +Provides: xwininfo = %{xwininfo} + +%description +A collection of client utilities which can be used to query the X server for +various information. + +%prep +%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a100 + +%build +# Build all apps +{ + for app in * ; do + pushd $app + if [ -e configure ] ; then + autoreconf -vif + %configure + else + export CFLAGS="%{optflags}" + export LDFLAGS="%{?__global_ldflags}" + fi + make %{?_smp_mflags} + popd + done +} + +%install +# Install all apps +{ + for app in * ; do + pushd $app + %make_install + popd + done +} + +%files +%{_bindir}/edid-decode +%{_bindir}/xdpyinfo +%{_bindir}/xev +%{_bindir}/xlsatoms +%{_bindir}/xlsclients +%{_bindir}/xlsfonts +%{_bindir}/xprop +%{_bindir}/xvinfo +%{_bindir}/xwininfo +%{_mandir}/man1/edid-decode.1* +%{_mandir}/man1/xdpyinfo.1* +%{_mandir}/man1/xev.1* +%{_mandir}/man1/xlsatoms.1* +%{_mandir}/man1/xlsclients.1* +%{_mandir}/man1/xlsfonts.1* +%{_mandir}/man1/xprop.1* +%{_mandir}/man1/xvinfo.1* +%{_mandir}/man1/xwininfo.1* + +%changelog +* Mon Mar 12 2018 Adam Jackson - 7.5-28 +- xlsclients 1.1.4 +- xlsfonts 1.0.6 +- xprop 1.2.3 +- xwininfo 1.1.3 +- HTTPS URLs + +* Wed Mar 07 2018 Adam Jackson - 7.5-27 +- New edid-decode snapshot + +* Fri Feb 09 2018 Fedora Release Engineering - 7.5-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 7.5-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 7.5-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jul 11 2017 Adam Jackson - 7.5-23 +- new edid-decode snapshot + +* Sat Feb 11 2017 Fedora Release Engineering - 7.5-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 7.5-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 20 2016 Peter Hutterer +- s/define/global/ + +* Fri Jun 19 2015 Fedora Release Engineering - 7.5-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri May 01 2015 Simone Caronni - 7.5-19 +- xvinfo 1.1.3 + +* Thu Apr 30 2015 Simone Caronni - 7.5-18 +- xlsfonts 1.0.5 +- xlsatoms 1.1.2 +- xev 1.2.2 +- xdpyinfo 1.3.2 +- Use git commit id for edid-decode-snapshot. + +* Sat Feb 21 2015 Till Maas - 7.5-17 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Tue Nov 04 2014 Simone Caronni - 7.5-16 +- Clean up SPEC file, fix rpmlint warnings. +- Update xslclients to 1.1.3. +- Simplify build requirements. + +* Mon Aug 18 2014 Fedora Release Engineering - 7.5-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 7.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Jan 29 2014 Adam Jackson 7.5-13 +- New edid-decode snapshot + +* Fri Aug 09 2013 Peter Hutterer 7.5-12 +- Update sources for latest tarballs, some changes got lost before the commit +- require gettext-devel for AM_ICONV (now required by xwininfo) + +* Fri Aug 09 2013 Peter Hutterer 7.5-11 +- xprop 1.2.2 +- xwininfo 1.1.2 +- xdpyinfo 1.3.1 +- xvinfo 1.1.1 + +* Sun Aug 04 2013 Fedora Release Engineering - 7.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Mar 07 2013 Dave Airlie 7.5-9 +- autoreconf for aarch64 + +* Wed Jan 30 2013 Peter Hutterer 7.5-8 +- xev 1.2.1 +- xlsatoms 1.1.1 +- xlsfonts 1.0.4 +- xwininfo 1.1.2 + +* Sun Jul 22 2012 Fedora Release Engineering - 7.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 7.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Nov 29 2011 Adam Jackson 7.5-5 +- xlsclients 1.1.2 +- Rebuild for new xcb-util + +* Wed Nov 09 2011 Adam Jackson 7.5-4 +- xdpyinfo 1.3.0 + +* Mon Sep 12 2011 Adam Jackson 7.5-3 +- xprop 1.2.1 + +* Tue Feb 08 2011 Fedora Release Engineering - 7.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild