104b97
%global debug_package %{nil}
104b97
104b97
Summary: X.Org X11 Protocol headers
104b97
Name: xorg-x11-proto-devel
104b97
Version: 2018.4
104b97
Release: 1%{?dist}
104b97
License: MIT
104b97
Group: Development/System
104b97
URL: https://www.x.org
104b97
BuildArch: noarch
104b97
104b97
Source0:    https://www.x.org/pub/individual/proto/xorgproto-%{version}.tar.bz2
104b97
Patch0:     xorgproto-2018.4-xprint.patch
104b97
Source40:   make-git-snapshot.sh
104b97
104b97
BuildRequires: pkgconfig
104b97
BuildRequires: xorg-x11-util-macros >= 1.0.2-1
104b97
BuildRequires: autoconf automake libtool
104b97
104b97
%description
104b97
X.Org X11 Protocol headers
104b97
104b97
104b97
%prep
104b97
%autosetup -n xorgproto-%{version}
104b97
104b97
%build
104b97
autoreconf -f -i -v
104b97
%configure --without-xmlto
104b97
make %{?_smp_mflags}
104b97
104b97
%install
104b97
%make_install
104b97
104b97
# restore evie, sigh rhel7
104b97
install include/X11/extensions/*evie*.h $RPM_BUILD_ROOT%{_includedir}/X11/extensions
104b97
sed \
104b97
    -e 's,@prefix@,%{_prefix},' \
104b97
    -e 's,@exec_prefix@,%{_exec_prefix},' \
104b97
    -e 's,@libdir@,%{_libdir},' \
104b97
    -e 's,@includedir@,%{_includedir},' \
104b97
    < evieproto.pc.in > $RPM_BUILD_ROOT%{_datadir}/pkgconfig/evieproto.pc
104b97
104b97
# trim some fat
104b97
for i in apple windows trap ; do
104b97
    rm -f $RPM_BUILD_ROOT%{_includedir}/X11/extensions/*${i}*
104b97
    rm -f $RPM_BUILD_ROOT%{_datadir}/pkgconfig/*${i}*
104b97
done
104b97
104b97
# keep things building even if you have the html doc tools for xmlto installed
104b97
rm -f $RPM_BUILD_ROOT%{_docdir}/*/*.{html,svg}
104b97
104b97
%files
104b97
%doc COPYING-*
104b97
%doc *.txt
104b97
%dir %{_includedir}/GL
104b97
%{_includedir}/GL/glxint.h
104b97
%{_includedir}/GL/glxmd.h
104b97
%{_includedir}/GL/glxproto.h
104b97
%{_includedir}/GL/glxtokens.h
104b97
%dir %{_includedir}/GL/internal
104b97
%{_includedir}/GL/internal/glcore.h
104b97
%dir %{_includedir}/X11
104b97
%{_includedir}/X11/DECkeysym.h
104b97
%{_includedir}/X11/HPkeysym.h
104b97
%dir %{_includedir}/X11/PM
104b97
%{_includedir}/X11/PM/PM.h
104b97
%{_includedir}/X11/PM/PMproto.h
104b97
%{_includedir}/X11/Sunkeysym.h
104b97
%{_includedir}/X11/X.h
104b97
%{_includedir}/X11/XF86keysym.h
104b97
%{_includedir}/X11/XWDFile.h
104b97
%{_includedir}/X11/Xalloca.h
104b97
%{_includedir}/X11/Xarch.h
104b97
%{_includedir}/X11/Xatom.h
104b97
%{_includedir}/X11/Xdefs.h
104b97
%{_includedir}/X11/Xfuncproto.h
104b97
%{_includedir}/X11/Xfuncs.h
104b97
%{_includedir}/X11/Xmd.h
104b97
%{_includedir}/X11/Xos.h
104b97
%{_includedir}/X11/Xos_r.h
104b97
%{_includedir}/X11/Xosdefs.h
104b97
%{_includedir}/X11/Xpoll.h
104b97
%{_includedir}/X11/Xproto.h
104b97
%{_includedir}/X11/Xprotostr.h
104b97
%{_includedir}/X11/Xthreads.h
104b97
%{_includedir}/X11/Xw32defs.h
104b97
%{_includedir}/X11/Xwindows.h
104b97
%{_includedir}/X11/Xwinsock.h
104b97
%{_includedir}/X11/ap_keysym.h
104b97
%dir %{_includedir}/X11/dri
104b97
%{_includedir}/X11/dri/xf86dri.h
104b97
%{_includedir}/X11/dri/xf86driproto.h
104b97
%{_includedir}/X11/dri/xf86dristr.h
104b97
%dir %{_includedir}/X11/extensions
104b97
%{_includedir}/X11/extensions/EVI.h
104b97
%{_includedir}/X11/extensions/EVIproto.h
104b97
%{_includedir}/X11/extensions/XI.h
104b97
%{_includedir}/X11/extensions/XI2.h
104b97
%{_includedir}/X11/extensions/XI2proto.h
104b97
%{_includedir}/X11/extensions/XIproto.h
104b97
%{_includedir}/X11/extensions/XKB.h
104b97
%{_includedir}/X11/extensions/XKBgeom.h
104b97
%{_includedir}/X11/extensions/XKBproto.h
104b97
%{_includedir}/X11/extensions/XKBsrv.h
104b97
%{_includedir}/X11/extensions/XKBstr.h
104b97
%{_includedir}/X11/extensions/XResproto.h
104b97
%{_includedir}/X11/extensions/Xeviestr.h
104b97
%{_includedir}/X11/extensions/Xv.h
104b97
%{_includedir}/X11/extensions/XvMC.h
104b97
%{_includedir}/X11/extensions/XvMCproto.h
104b97
%{_includedir}/X11/extensions/Xvproto.h
104b97
%{_includedir}/X11/extensions/ag.h
104b97
%{_includedir}/X11/extensions/agproto.h
104b97
%{_includedir}/X11/extensions/bigreqsproto.h
104b97
%{_includedir}/X11/extensions/bigreqstr.h
104b97
%{_includedir}/X11/extensions/composite.h
104b97
%{_includedir}/X11/extensions/compositeproto.h
104b97
%{_includedir}/X11/extensions/cup.h
104b97
%{_includedir}/X11/extensions/cupproto.h
104b97
%{_includedir}/X11/extensions/damageproto.h
104b97
%{_includedir}/X11/extensions/damagewire.h
104b97
%{_includedir}/X11/extensions/dbe.h
104b97
%{_includedir}/X11/extensions/dbeproto.h
104b97
%{_includedir}/X11/extensions/dmx.h
104b97
%{_includedir}/X11/extensions/dmxproto.h
104b97
%{_includedir}/X11/extensions/dpmsconst.h
104b97
%{_includedir}/X11/extensions/dpmsproto.h
104b97
%{_includedir}/X11/extensions/dri2proto.h
104b97
%{_includedir}/X11/extensions/dri2tokens.h
104b97
%{_includedir}/X11/extensions/dri3proto.h
104b97
%{_includedir}/X11/extensions/evieproto.h
104b97
%{_includedir}/X11/extensions/ge.h
104b97
%{_includedir}/X11/extensions/geproto.h
104b97
%{_includedir}/X11/extensions/lbx.h
104b97
%{_includedir}/X11/extensions/lbxproto.h
104b97
%{_includedir}/X11/extensions/mitmiscconst.h
104b97
%{_includedir}/X11/extensions/mitmiscproto.h
104b97
%{_includedir}/X11/extensions/multibufconst.h
104b97
%{_includedir}/X11/extensions/multibufproto.h
104b97
%{_includedir}/X11/extensions/panoramiXproto.h
104b97
%{_includedir}/X11/extensions/presentproto.h
104b97
%{_includedir}/X11/extensions/presenttokens.h
104b97
%{_includedir}/X11/extensions/randr.h
104b97
%{_includedir}/X11/extensions/randrproto.h
104b97
%{_includedir}/X11/extensions/recordconst.h
104b97
%{_includedir}/X11/extensions/recordproto.h
104b97
%{_includedir}/X11/extensions/recordstr.h
104b97
%{_includedir}/X11/extensions/render.h
104b97
%{_includedir}/X11/extensions/renderproto.h
104b97
%{_includedir}/X11/extensions/saver.h
104b97
%{_includedir}/X11/extensions/saverproto.h
104b97
%{_includedir}/X11/extensions/secur.h
104b97
%{_includedir}/X11/extensions/securproto.h
104b97
%{_includedir}/X11/extensions/shapeconst.h
104b97
%{_includedir}/X11/extensions/shapeproto.h
104b97
%{_includedir}/X11/extensions/shapestr.h
104b97
%{_includedir}/X11/extensions/shm.h
104b97
%{_includedir}/X11/extensions/shmproto.h
104b97
%{_includedir}/X11/extensions/shmstr.h
104b97
%{_includedir}/X11/extensions/syncconst.h
104b97
%{_includedir}/X11/extensions/syncproto.h
104b97
%{_includedir}/X11/extensions/syncstr.h
104b97
%{_includedir}/X11/extensions/vldXvMC.h
104b97
%{_includedir}/X11/extensions/xcmiscproto.h
104b97
%{_includedir}/X11/extensions/xcmiscstr.h
104b97
%{_includedir}/X11/extensions/xf86bigfont.h
104b97
%{_includedir}/X11/extensions/xf86bigfproto.h
104b97
%{_includedir}/X11/extensions/xf86bigfstr.h
104b97
%{_includedir}/X11/extensions/xf86dga.h
104b97
%{_includedir}/X11/extensions/xf86dga1const.h
104b97
%{_includedir}/X11/extensions/xf86dga1proto.h
104b97
%{_includedir}/X11/extensions/xf86dga1str.h
104b97
%{_includedir}/X11/extensions/xf86dgaconst.h
104b97
%{_includedir}/X11/extensions/xf86dgaproto.h
104b97
%{_includedir}/X11/extensions/xf86dgastr.h
104b97
%{_includedir}/X11/extensions/xf86misc.h
104b97
%{_includedir}/X11/extensions/xf86mscstr.h
104b97
%{_includedir}/X11/extensions/xf86vm.h
104b97
%{_includedir}/X11/extensions/xf86vmproto.h
104b97
%{_includedir}/X11/extensions/xf86vmstr.h
104b97
%{_includedir}/X11/extensions/xfixesproto.h
104b97
%{_includedir}/X11/extensions/xfixeswire.h
104b97
%{_includedir}/X11/extensions/xtestconst.h
104b97
%{_includedir}/X11/extensions/xtestext1const.h
104b97
%{_includedir}/X11/extensions/xtestext1proto.h
104b97
%{_includedir}/X11/extensions/xtestproto.h
104b97
%dir %{_includedir}/X11/fonts
104b97
%{_includedir}/X11/fonts/FS.h
104b97
%{_includedir}/X11/fonts/FSproto.h
104b97
%{_includedir}/X11/fonts/font.h
104b97
%{_includedir}/X11/fonts/fontproto.h
104b97
%{_includedir}/X11/fonts/fontstruct.h
104b97
%{_includedir}/X11/fonts/fsmasks.h
104b97
%{_includedir}/X11/keysym.h
104b97
%{_includedir}/X11/keysymdef.h
104b97
%{_datadir}/pkgconfig/bigreqsproto.pc
104b97
%{_datadir}/pkgconfig/compositeproto.pc
104b97
%{_datadir}/pkgconfig/damageproto.pc
104b97
%{_datadir}/pkgconfig/dmxproto.pc
104b97
%{_datadir}/pkgconfig/dri2proto.pc
104b97
%{_datadir}/pkgconfig/dri3proto.pc
104b97
%{_datadir}/pkgconfig/evieproto.pc
104b97
%{_datadir}/pkgconfig/fixesproto.pc
104b97
%{_datadir}/pkgconfig/fontsproto.pc
104b97
%{_datadir}/pkgconfig/glproto.pc
104b97
%{_datadir}/pkgconfig/inputproto.pc
104b97
%{_datadir}/pkgconfig/kbproto.pc
104b97
%{_datadir}/pkgconfig/presentproto.pc
104b97
%{_datadir}/pkgconfig/randrproto.pc
104b97
%{_datadir}/pkgconfig/recordproto.pc
104b97
%{_datadir}/pkgconfig/renderproto.pc
104b97
%{_datadir}/pkgconfig/resourceproto.pc
104b97
%{_datadir}/pkgconfig/scrnsaverproto.pc
104b97
%{_datadir}/pkgconfig/videoproto.pc
104b97
%{_datadir}/pkgconfig/xcmiscproto.pc
104b97
%{_datadir}/pkgconfig/xextproto.pc
104b97
%{_datadir}/pkgconfig/xf86bigfontproto.pc
104b97
%{_datadir}/pkgconfig/xf86dgaproto.pc
104b97
%{_datadir}/pkgconfig/xf86driproto.pc
104b97
%{_datadir}/pkgconfig/xf86miscproto.pc
104b97
%{_datadir}/pkgconfig/xf86vidmodeproto.pc
104b97
%{_datadir}/pkgconfig/xineramaproto.pc
104b97
%{_datadir}/pkgconfig/xproto.pc
104b97
%{_datadir}/pkgconfig/xproxymngproto.pc
104b97
%{_docdir}/xorgproto/*
104b97
104b97
%changelog
104b97
* Wed Feb 28 2018 Adam Jackson <ajax@redhat.com> - 2018.4-1
104b97
- xorgproto 2018.4
104b97
104b97
* Wed Feb 21 2018 Adam Jackson <ajax@redhat.com> - 2018.3-1
104b97
- xorgproto 2018.3
104b97
104b97
* Mon Feb 12 2018 Adam Jackson <ajax@redhat.com> - 2018.2-1
104b97
- xorgproto 2018.2
104b97
104b97
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2018.1-2
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
104b97
104b97
* Mon Feb 05 2018 Adam Jackson <ajax@redhat.com> - 2018.1-1
104b97
- Switch to merged protocol headers
104b97
- Drop evie headers
104b97
- Pre-F18 changelog trim
104b97
104b97
* Tue Nov 07 2017 Adam Jackson <ajax@redhat.com> - 7.7-24
104b97
- Drop bootstrap hack (that had been enabled for like nine years anyway)
104b97
- Use https URLs
104b97
104b97
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-23
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
104b97
104b97
* Fri May 12 2017 Hans de Goede <hdegoede@redhat.com> - 7.7-22
104b97
- Add xproto patches from upstream adding XF86Keyboard and XF86RFKill keysyms
104b97
104b97
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-21
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
104b97
104b97
* Mon Sep 26 2016 Adam Jackson <ajax@redhat.com> - 7.7-20
104b97
- xproto 7.0.31
104b97
104b97
* Mon Apr 04 2016 Peter Hutterer <peter.hutterer@redhat.com> 7.7-19
104b97
- inputproto 2.3.2
104b97
104b97
* Fri Mar 11 2016 Adam Jackson <ajax@redhat.com> 7.7-18
104b97
- videoproto 2.3.3
104b97
104b97
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-17
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
104b97
104b97
* Wed Jan 20 2016 Peter Hutterer <peter.hutterer@redhat.com>
104b97
- s/define/global/
104b97
104b97
* Wed Jul 01 2015 Adam Jackson <ajax@redhat.com> 7.7-16
104b97
- xproto 7.0.28
104b97
104b97
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-15
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
104b97
104b97
* Sun May 17 2015 Dave Airlie <airlied@redhat.com> 7.7-14
104b97
- randrproto-1.5.0
104b97
104b97
* Wed Apr 01 2015 Dave Airlie <airlied@redhat.com> 7.7-13
104b97
- randrproto-1.4.1
104b97
104b97
* Thu Jun 12 2014 Hans de Goede <hdegoede@redhat.com> - 7.7-12
104b97
- inputproto-2.3.1
104b97
104b97
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-11
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
104b97
104b97
* Wed Apr 16 2014 Hans de Goede <hdegoede@redhat.com> - 7.7-10
104b97
- fontsproto-2.1.3
104b97
- videoproto-2.3.2
104b97
- xextproto-7.3.0
104b97
- xproto-7.0.26
104b97
- Cherry pick some unreleased fixes from upstream git
104b97
104b97
* Thu Jan 23 2014 Adam Jackson <ajax@redhat.com> 7.7-9
104b97
- Backport pointer-to-void* changes
104b97
104b97
* Tue Dec 10 2013 Adam Jackson <ajax@redhat.com> 7.7-8
104b97
- glproto 1.4.17
104b97
104b97
* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 7.7-7
104b97
- presentproto 1.0
104b97
- dri3proto 1.0
104b97
- xextproto 7.2.99.901
104b97
104b97
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-6
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
104b97
104b97
* Tue Apr 02 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-5
104b97
- xproto 7.0.24
104b97
104b97
* Thu Mar 07 2013 Dave Airlie <airlied@redhat.com> 7.7-4
104b97
- autoreconf for aarch64
104b97
104b97
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> 7.7-3
104b97
- inputproto 2.3
104b97
104b97
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7-2
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
104b97
104b97
* Tue Jan 08 2013 Adam Jackson <ajax@redhat.com> 7.7-1
104b97
- inputproto 2.2.99.1
104b97
104b97
* Thu Jul 26 2012 Peter Hutterer <peter.hutterer@redhat.com> 7.6-24
104b97
- bigregsproto 1.1.2
104b97
- compositeproto 0.4.2
104b97
- damageproto 1.2.1
104b97
- fontsproto 2.1.2
104b97
- inputproto 2.2
104b97
- kbproto 1.0.6
104b97
- recordproto 1.14.2
104b97
- scrnsaverproto 1.2.2
104b97
- xcmiscproto 1.2.2
104b97
- xextproto 7.2.1
104b97
104b97
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.6-23
104b97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild