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

cd7f69
# doesn't work yet, needs more nickle bindings
cd7f69
%define with_xkeystone 0
cd7f69
cd7f69
# Component versions
cd7f69
%define iceauth 1.0.7
cd7f69
%define rgb 1.0.6
cd7f69
%define sessreg 1.1.0
cd7f69
%define xgamma 1.0.6
cd7f69
%define xhost 1.0.7
cd7f69
%define xinput 1.6.2
cd7f69
%define xkill 1.0.4
cd7f69
%define xmodmap 1.0.9
cd7f69
%define xrandr 1.5.0
cd7f69
%define xrdb 1.1.0
cd7f69
%define xrefresh 1.0.5
cd7f69
%define xset 1.2.3
cd7f69
%define xsetmode 1.0.0
cd7f69
%define xsetpointer 1.0.1
cd7f69
%define xsetroot 1.1.1
cd7f69
%define xstdcmap 1.0.3
cd7f69
cd7f69
Summary:    X.Org X11 X server utilities
cd7f69
Name:       xorg-x11-server-utils
cd7f69
Version:    7.7
cd7f69
Release:    20%{?dist}
cd7f69
License:    MIT
cd7f69
URL:        http://www.x.org
cd7f69
cd7f69
Source0:    http://www.x.org/pub/individual/app/iceauth-%{iceauth}.tar.bz2
cd7f69
Source1:    http://www.x.org/pub/individual/app/rgb-%{rgb}.tar.bz2
cd7f69
Source2:    http://www.x.org/pub/individual/app/sessreg-%{sessreg}.tar.bz2
cd7f69
Source3:    http://www.x.org/pub/individual/app/xgamma-%{xgamma}.tar.bz2
cd7f69
Source4:    http://www.x.org/pub/individual/app/xhost-%{xhost}.tar.bz2
cd7f69
Source5:    http://www.x.org/pub/individual/app/xinput-%{xinput}.tar.bz2
cd7f69
Source6:    http://www.x.org/pub/individual/app/xkill-%{xkill}.tar.bz2
cd7f69
Source7:    http://www.x.org/pub/individual/app/xmodmap-%{xmodmap}.tar.bz2
cd7f69
Source8:    http://www.x.org/pub/individual/app/xrandr-%{xrandr}.tar.bz2
cd7f69
Source9:    http://www.x.org/pub/individual/app/xrdb-%{xrdb}.tar.bz2
cd7f69
Source10:   http://www.x.org/pub/individual/app/xrefresh-%{xrefresh}.tar.bz2
cd7f69
Source11:   http://www.x.org/pub/individual/app/xset-%{xset}.tar.bz2
cd7f69
Source12:   http://www.x.org/pub/individual/app/xsetmode-%{xsetmode}.tar.bz2
cd7f69
Source13:   http://www.x.org/pub/individual/app/xsetpointer-%{xsetpointer}.tar.bz2
cd7f69
Source14:   http://www.x.org/pub/individual/app/xsetroot-%{xsetroot}.tar.bz2
cd7f69
Source15:   http://www.x.org/pub/individual/app/xstdcmap-%{xstdcmap}.tar.bz2
cd7f69
cd7f69
Patch2: 0001-Default-to-nocpp-add-cpp-default.patch
cd7f69
cd7f69
BuildRequires:  xorg-x11-util-macros
cd7f69
cd7f69
BuildRequires:  pkgconfig(xbitmaps)
cd7f69
BuildRequires:  pkgconfig(xcursor)
cd7f69
BuildRequires:  pkgconfig(xext)
cd7f69
BuildRequires:  pkgconfig(xi)
cd7f69
BuildRequires:  pkgconfig(xinerama)
cd7f69
BuildRequires:  pkgconfig(xmu)
cd7f69
BuildRequires:  pkgconfig(xpm)
cd7f69
BuildRequires:  pkgconfig(xrandr) >= 1.5.0
cd7f69
BuildRequires:  pkgconfig(xrender)
cd7f69
BuildRequires:  pkgconfig(xt)
cd7f69
BuildRequires:  pkgconfig(xtrans)
cd7f69
BuildRequires:  pkgconfig(xxf86misc)
cd7f69
BuildRequires:  pkgconfig(xxf86vm)
cd7f69
cd7f69
BuildRequires:  libtool
cd7f69
cd7f69
Provides:   iceauth = %{iceauth}
cd7f69
Provides:   rgb = %{rgb}
cd7f69
Provides:   sessreg = %{sessreg}
cd7f69
Provides:   xgamma = %{xgamma}
cd7f69
Provides:   xhost = %{xhost}
cd7f69
Provides:   xinput = %{xinput}
cd7f69
Provides:   xkill = %{xkill}
cd7f69
Provides:   xmodmap = %{xmodmap}
cd7f69
Provides:   xrandr = %{xrandr}
cd7f69
Provides:   xrdb = %{xrdb}
cd7f69
Provides:   xrefresh = %{xrefresh}
cd7f69
Provides:   xset = %{xset}
cd7f69
Provides:   xsetmode = %{xsetmode}
cd7f69
Provides:   xsetpointer = %{xsetpointer}
cd7f69
Provides:   xsetroot = %{xsetroot}
cd7f69
Provides:   xstdcmap = %{xstdcmap}
cd7f69
cd7f69
%description
cd7f69
A collection of utilities used to tweak and query the runtime configuration of
cd7f69
the X server.
cd7f69
cd7f69
%if %{with_xkeystone}
cd7f69
%package -n xkeystone
cd7f69
Summary:    X display keystone correction
cd7f69
Requires:   nickle
cd7f69
cd7f69
%description -n xkeystone
cd7f69
Utility to perform keystone adjustments on X screens.
cd7f69
%endif
cd7f69
cd7f69
%prep
cd7f69
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15
cd7f69
cd7f69
pushd xrdb-*
cd7f69
%patch2 -p1 -b .nocpp
cd7f69
popd
cd7f69
cd7f69
%build
cd7f69
cd7f69
# Build all apps
cd7f69
{
cd7f69
   for app in * ; do
cd7f69
      pushd $app
cd7f69
      autoreconf -vif
cd7f69
      %configure
cd7f69
      make %{?_smp_mflags}
cd7f69
      popd
cd7f69
   done
cd7f69
}
cd7f69
cd7f69
%install
cd7f69
# Install all apps
cd7f69
{
cd7f69
   for app in * ; do
cd7f69
      pushd $app
cd7f69
      case $app in
cd7f69
         *)
cd7f69
            %make_install
cd7f69
            ;;
cd7f69
      esac
cd7f69
      popd
cd7f69
   done
cd7f69
}
cd7f69
%if !%{with_xkeystone}
cd7f69
rm -f $RPM_BUILD_ROOT%{_bindir}/xkeystone
cd7f69
%endif
cd7f69
cd7f69
%files
cd7f69
%doc
cd7f69
%{_bindir}/iceauth
cd7f69
%{_bindir}/sessreg
cd7f69
%{_bindir}/showrgb
cd7f69
%{_bindir}/xgamma
cd7f69
%{_bindir}/xhost
cd7f69
%{_bindir}/xinput
cd7f69
%{_bindir}/xkill
cd7f69
%{_bindir}/xmodmap
cd7f69
%{_bindir}/xrandr
cd7f69
%{_bindir}/xrdb
cd7f69
%{_bindir}/xrefresh
cd7f69
%{_bindir}/xset
cd7f69
%{_bindir}/xsetmode
cd7f69
%{_bindir}/xsetpointer
cd7f69
%{_bindir}/xsetroot
cd7f69
%{_bindir}/xstdcmap
cd7f69
%{_datadir}/X11/rgb.txt
cd7f69
%{_mandir}/man1/iceauth.1*
cd7f69
%{_mandir}/man1/sessreg.1*
cd7f69
%{_mandir}/man1/showrgb.1*
cd7f69
%{_mandir}/man1/xgamma.1*
cd7f69
%{_mandir}/man1/xhost.1*
cd7f69
%{_mandir}/man1/xinput.1*
cd7f69
%{_mandir}/man1/xkill.1*
cd7f69
%{_mandir}/man1/xmodmap.1*
cd7f69
%{_mandir}/man1/xrandr.1*
cd7f69
%{_mandir}/man1/xrdb.1*
cd7f69
%{_mandir}/man1/xrefresh.1*
cd7f69
%{_mandir}/man1/xset.1*
cd7f69
%{_mandir}/man1/xsetmode.1*
cd7f69
%{_mandir}/man1/xsetpointer.1*
cd7f69
%{_mandir}/man1/xsetroot.1*
cd7f69
%{_mandir}/man1/xstdcmap.1*
cd7f69
cd7f69
%if %{with_xkeystone}
cd7f69
%files -n xkeystone
cd7f69
%{_bindir}/xkeystone
cd7f69
%endif
cd7f69
cd7f69
%changelog
cd7f69
* Wed Feb 01 2017 Adam Jackson <ajax@redhat.com> - 7.7-20
cd7f69
- Sync with Fedora 25: xgamma 1.0.6, xhost 1.0.7, xinput 1.6.2, xmodmap 1.0.9,
cd7f69
  xrandr 1.5.0
cd7f69
cd7f69
* Mon Sep 07 2015 Olivier Fourdan <ofourdan@redhat.com> 7.7-14
cd7f69
- Fix regression introduced by the nocpp patch if no cpp is installed.
cd7f69
cd7f69
* Tue Jul 21 2015 Adam Jackson <ajax@redhat.com> 7.7-13
cd7f69
- Merge F22, rebase nocpp patch
cd7f69
cd7f69
* Tue Jan 20 2015 Simone Caronni <negativo17@gmail.com> - 7.7-12
cd7f69
- Update sessreg to 1.1.0.
cd7f69
cd7f69
* Sat Jan 17 2015 Simone Caronni <negativo17@gmail.com> - 7.7-11
cd7f69
- Update iceauth to 1.0.7.
cd7f69
cd7f69
* Mon Nov 10 2014 Simone Caronni <negativo17@gmail.com> - 7.7-10
cd7f69
- rgb 1.0.6
cd7f69
cd7f69
* Thu Oct 23 2014 Simone Caronni <negativo17@gmail.com> - 7.7-9
cd7f69
- Clean up SPEC file, fix rpmlint warnings.
cd7f69
cd7f69
* Wed Oct 01 2014 Adam Jackson <ajax@redhat.com> 7.7-8
cd7f69
- xrandr 1.4.3
cd7f69
cd7f69
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-7
cd7f69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cd7f69
cd7f69
* Thu Jun 12 2014 Simone Caronni <negativo17@gmail.com> 7.7-6
cd7f69
- iceauth 1.0.6
cd7f69
- xhost 1.0.6
cd7f69
- xrandr 1.4.2
cd7f69
- xrefresh 1.0.5
cd7f69
- xset 1.2.3
cd7f69
cd7f69
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-5
cd7f69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cd7f69
cd7f69
* Thu Feb 13 2014 Adam Jackson <ajax@redhat.com> 7.7-4.el7
cd7f69
- Fix configure to not point to mcpp either
cd7f69
cd7f69
* Mon Sep 16 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-4
cd7f69
- xinput 1.6.1
cd7f69
cd7f69
* Mon Sep 09 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-3
cd7f69
- xmodmap 1.0.8
cd7f69
- xkill 1.0.4
cd7f69
- xrdb 1.1.0
cd7f69
cd7f69
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-2
cd7f69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cd7f69
cd7f69
* Wed Mar 27 2013 Adam Jackson <ajax@redhat.com> 7.7-1
cd7f69
- rgb 1.0.5
cd7f69
- xsessreg 1.0.8
cd7f69
- xgamma 1.0.5
cd7f69
- xhost 1.0.5
cd7f69
- xmodmap 1.0.7
cd7f69
- xsetroot 1.1.1
cd7f69
- xstdcmap 1.0.3
cd7f69
cd7f69
* Thu Mar 07 2013 Dave Airlie <airlied@redhat.com> 7.5-17
cd7f69
- autoconf for aarch64
cd7f69
cd7f69
* Wed Feb 13 2013 Benjamin Tissoires <benjamin.tissoires@redhat.com> 7.5-16
cd7f69
- xrandr 1.4.0
cd7f69
cd7f69
* Wed Jan 30 2013 Adam Jackson <ajax@redhat.com> 7.5-15
cd7f69
- Print primary output in xrandr
cd7f69
cd7f69
* Wed Nov 14 2012 Adam Jackson <ajax@redhat.com> 7.5-14
cd7f69
- xinput 1.6.0
cd7f69
cd7f69
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-13
cd7f69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cd7f69
cd7f69
* Tue Apr 17 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.5-12
cd7f69
- Add libXinerama-devel requires for new xinput
cd7f69
cd7f69
* Tue Apr 17 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.5-11
cd7f69
- xinput 1.5.99.901
cd7f69
cd7f69
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5-10
cd7f69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cd7f69
cd7f69
* Thu Dec 22 2011 Peter Hutterer <peter.hutterer@redhat.com> 7.5-9
cd7f69
- xinput 1.5.4
cd7f69
cd7f69
* Thu Nov 10 2011 Adam Jackson <ajax@redhat.com> 7.5-8
cd7f69
- Move xinput and xkill here from xorg-x11-apps
cd7f69
cd7f69
* Mon Oct 10 2011 Matěj Cepl <mcepl@redhat.com> - 7.5-7
cd7f69
- Fix BuildRequires ... xbitmaps-devel does not exist anymore (RHBZ #744751)
cd7f69
- Upgrade to the latest upstream iceauth, rgb, sessreg, and xrandr