|
@@ -5,59 +5,16 @@
|
|
|
Summary: X.Org X11 Protocol headers
|
|
|
Summary(ja): X.Org X11 プロトコルヘッダファイル
|
|
|
Name: xorg-x11-proto-devel
|
|
|
-Version: 7.7
|
|
|
-Release: 10%{?_dist_release}
|
|
|
-License: MIT
|
|
|
+Version: 2019.2
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Group: Development/Libraries
|
|
|
-URL: http://www.x.org
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: daisuke
|
|
|
|
|
|
-# Add virtual provides lazily as they get updated, so the server and libs
|
|
|
-# can depend on specific proto versions instead of this package's version.
|
|
|
-Source0: ftp://ftp.x.org/pub/individual/proto/bigreqsproto-1.1.2.tar.bz2
|
|
|
-Source1: ftp://ftp.x.org/pub/individual/proto/compositeproto-0.4.2.tar.bz2
|
|
|
-Provides: compositeproto = 0.4.2
|
|
|
-Source2: ftp://ftp.x.org/pub/individual/proto/damageproto-1.2.1.tar.bz2
|
|
|
-Provides: damageproto = 1.2.1
|
|
|
-Source3: ftp://ftp.x.org/pub/individual/proto/dmxproto-2.3.1.tar.bz2
|
|
|
-Source4: ftp://ftp.x.org/pub/individual/proto/evieext-1.1.1.tar.bz2
|
|
|
-Source5: ftp://ftp.x.org/pub/individual/proto/fixesproto-5.0.tar.bz2
|
|
|
-Provides: fixesproto = 5.0
|
|
|
-Source6: ftp://ftp.x.org/pub/individual/proto/fontcacheproto-0.1.3.tar.bz2
|
|
|
-Source7: ftp://ftp.x.org/pub/individual/proto/fontsproto-2.1.3.tar.bz2
|
|
|
-Source8: ftp://ftp.x.org/pub/individual/proto/glproto-1.4.17.tar.bz2
|
|
|
-Provides: glproto = 1.4.17
|
|
|
-Source9: ftp://ftp.x.org/pub/individual/proto/inputproto-2.3.2.tar.bz2
|
|
|
-Provides: inputproto = 2.3.2
|
|
|
-Source10: ftp://ftp.x.org/pub/individual/proto/kbproto-1.0.7.tar.bz2
|
|
|
-Provides: kbproto = 1.0.7
|
|
|
-Source13: ftp://ftp.x.org/pub/individual/proto/randrproto-1.5.0.tar.bz2
|
|
|
-Provides: randrproto = 1.5.0
|
|
|
-Source14: ftp://ftp.x.org/pub/individual/proto/recordproto-1.14.2.tar.bz2
|
|
|
-Source15: ftp://ftp.x.org/pub/individual/proto/renderproto-0.11.1.tar.bz2
|
|
|
-Provides: renderproto = 0.11.1
|
|
|
-Source16: ftp://ftp.x.org/pub/individual/proto/resourceproto-1.2.0.tar.bz2
|
|
|
-Source17: ftp://ftp.x.org/pub/individual/proto/scrnsaverproto-1.2.2.tar.bz2
|
|
|
-Provides: scrnsaverproto = 1.2.2
|
|
|
-Source18: ftp://ftp.x.org/pub/individual/proto/trapproto-3.4.3.tar.bz2
|
|
|
-Source19: ftp://ftp.x.org/pub/individual/proto/videoproto-2.3.3.tar.bz2
|
|
|
-Source20: ftp://ftp.x.org/pub/individual/proto/xcmiscproto-1.2.2.tar.bz2
|
|
|
-Source21: ftp://ftp.x.org/pub/individual/proto/xextproto-7.3.0.tar.bz2
|
|
|
-Provides: xextproto = 7.3.0
|
|
|
-Source22: ftp://ftp.x.org/pub/individual/proto/xf86bigfontproto-1.2.0.tar.bz2
|
|
|
-Source23: ftp://ftp.x.org/pub/individual/proto/xf86dgaproto-2.1.tar.bz2
|
|
|
-Provides: xf86dgaproto = 2.1
|
|
|
-Source24: ftp://ftp.x.org/pub/individual/proto/xf86driproto-2.1.1.tar.bz2
|
|
|
-Source25: ftp://ftp.x.org/pub/individual/proto/xf86miscproto-0.9.3.tar.bz2
|
|
|
-Source26: ftp://ftp.x.org/pub/individual/proto/xf86rushproto-1.1.2.tar.bz2
|
|
|
-Source27: ftp://ftp.x.org/pub/individual/proto/xf86vidmodeproto-2.3.1.tar.bz2
|
|
|
-Source28: ftp://ftp.x.org/pub/individual/proto/xineramaproto-1.2.1.tar.bz2
|
|
|
-Source29: ftp://ftp.x.org/pub/individual/proto/xproto-7.0.31.tar.bz2
|
|
|
-Provides: xproto = 7.0.31
|
|
|
-Source30: ftp://ftp.x.org/pub/individual/proto/xproxymanagementprotocol-1.0.3.tar.bz2
|
|
|
-Source31: ftp://ftp.x.org/pub/individual/proto/dri2proto-2.8.tar.bz2
|
|
|
-Provides: dri2proto = 2.8
|
|
|
-Source32: ftp://ftp.x.org/pub/individual/proto/presentproto-1.1.tar.bz2
|
|
|
-Source33: ftp://ftp.x.org/pub/individual/proto/dri3proto-1.0.tar.bz2
|
|
|
+License: MIT
|
|
|
+URL: http://www.x.org
|
|
|
+Source0: https://github.com/freedesktop/xorg-xorgproto/archive/xorgproto-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
BuildArch: noarch
|
|
@@ -76,68 +33,42 @@ Requires: libXau-devel
|
|
|
%endif
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-Packager: daisuke
|
|
|
-
|
|
|
%description
|
|
|
X.Org X11 Protocol headers
|
|
|
|
|
|
+
|
|
|
%prep
|
|
|
-%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a33
|
|
|
+%setup -q -n xorg-xorgproto-xorgproto-%{version}
|
|
|
+
|
|
|
|
|
|
%build
|
|
|
+autoreconf -fiv
|
|
|
+%configure --disable-specs
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
-# Proceed through each proto package directory, building them all
|
|
|
-for dir in $(ls -1) ; do
|
|
|
- pushd $dir
|
|
|
- # yes, this looks horrible, but it's to get the .pc files in datadir
|
|
|
- %configure --libdir=%{_datadir}
|
|
|
- make %{?_smp_mflags}
|
|
|
- [ -e COPYING ] && mv COPYING COPYING-${dir%%-*}
|
|
|
- popd
|
|
|
-done
|
|
|
|
|
|
%install
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
-for dir in $(ls -1) ; do
|
|
|
- pushd $dir
|
|
|
- make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
- [ -e COPYING-${dir%%-*} ] && install -m 444 COPYING-${dir%%-*} $OLDPWD
|
|
|
- popd
|
|
|
-done
|
|
|
-for i in composite damage dri2 dri3 fixes present randr render ; do
|
|
|
- mv $RPM_BUILD_ROOT/usr/share/doc/${i}proto/${i}proto.txt .
|
|
|
-done
|
|
|
-mv $RPM_BUILD_ROOT%{_docdir}/xproxymanagementprotocol/PM_spec .
|
|
|
-
|
|
|
-mv $RPM_BUILD_ROOT%{_docdir}/videoproto/xv-protocol-v2.txt .
|
|
|
-mv $RPM_BUILD_ROOT%{_docdir}/resourceproto/resproto.txt .
|
|
|
+rm -rf %{buildroot}
|
|
|
+%make_install
|
|
|
|
|
|
-# remove xml file and directory
|
|
|
-for i in bigreqs dri2 fonts input kb record scrnsaver xcmisc xext x ; do
|
|
|
- rm -rf $RPM_BUILD_ROOT/usr/share/doc/${i}proto
|
|
|
+# trim some fat
|
|
|
+for i in apple windows trap ; do
|
|
|
+ rm -f %{buildroot}%{_includedir}/X11/extensions/*${i}*
|
|
|
+ rm -f %{buildroot}%{_datadir}/pkgconfig/*${i}*
|
|
|
done
|
|
|
-rm -rf $RPM_BUILD_ROOT/usr/share/doc/resourceproto
|
|
|
+
|
|
|
+# keep things building even if you have the html doc tools for xmlto installed
|
|
|
+rm -f %{buildroot}%{_docdir}/*/*.{html,svg}
|
|
|
|
|
|
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
+
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%license COPYING-*
|
|
|
-%doc compositeproto.txt
|
|
|
-%doc damageproto.txt
|
|
|
-%doc dri2proto.txt
|
|
|
-%doc dri3proto.txt
|
|
|
-%doc presentproto.txt
|
|
|
-%doc randrproto.txt
|
|
|
-%doc renderproto.txt
|
|
|
-%doc fixesproto.txt
|
|
|
-%doc resproto.txt
|
|
|
-%doc PM_spec
|
|
|
-
|
|
|
+%doc *.txt
|
|
|
%dir %{_includedir}/GL
|
|
|
%{_includedir}/GL/glxint.h
|
|
|
%{_includedir}/GL/glxmd.h
|
|
@@ -149,9 +80,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%dir %{_includedir}/X11
|
|
|
%{_includedir}/X11/DECkeysym.h
|
|
|
%{_includedir}/X11/HPkeysym.h
|
|
|
-%dir %{_includedir}/X11/PM
|
|
|
-%{_includedir}/X11/PM/PM.h
|
|
|
-%{_includedir}/X11/PM/PMproto.h
|
|
|
%{_includedir}/X11/Sunkeysym.h
|
|
|
%{_includedir}/X11/X.h
|
|
|
%{_includedir}/X11/XF86keysym.h
|
|
@@ -174,12 +102,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/X11/Xwindows.h
|
|
|
%{_includedir}/X11/Xwinsock.h
|
|
|
%{_includedir}/X11/ap_keysym.h
|
|
|
-
|
|
|
%dir %{_includedir}/X11/dri
|
|
|
%{_includedir}/X11/dri/xf86dri.h
|
|
|
%{_includedir}/X11/dri/xf86driproto.h
|
|
|
%{_includedir}/X11/dri/xf86dristr.h
|
|
|
-
|
|
|
%dir %{_includedir}/X11/extensions
|
|
|
%{_includedir}/X11/extensions/EVI.h
|
|
|
%{_includedir}/X11/extensions/EVIproto.h
|
|
@@ -188,12 +114,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/X11/extensions/XI2proto.h
|
|
|
%{_includedir}/X11/extensions/XIproto.h
|
|
|
%{_includedir}/X11/extensions/XKB.h
|
|
|
-%{_includedir}/X11/extensions/XKBgeom.h
|
|
|
+#%{_includedir}/X11/extensions/XKBgeom.h
|
|
|
%{_includedir}/X11/extensions/XKBproto.h
|
|
|
%{_includedir}/X11/extensions/XKBsrv.h
|
|
|
%{_includedir}/X11/extensions/XKBstr.h
|
|
|
%{_includedir}/X11/extensions/XResproto.h
|
|
|
-%{_includedir}/X11/extensions/Xeviestr.h
|
|
|
%{_includedir}/X11/extensions/Xv.h
|
|
|
%{_includedir}/X11/extensions/XvMC.h
|
|
|
%{_includedir}/X11/extensions/XvMCproto.h
|
|
@@ -217,10 +142,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/X11/extensions/dri2proto.h
|
|
|
%{_includedir}/X11/extensions/dri2tokens.h
|
|
|
%{_includedir}/X11/extensions/dri3proto.h
|
|
|
-%{_includedir}/X11/extensions/evieproto.h
|
|
|
-%{_includedir}/X11/extensions/fontcache.h
|
|
|
-%{_includedir}/X11/extensions/fontcacheP.h
|
|
|
-%{_includedir}/X11/extensions/fontcachstr.h
|
|
|
%{_includedir}/X11/extensions/ge.h
|
|
|
%{_includedir}/X11/extensions/geproto.h
|
|
|
%{_includedir}/X11/extensions/lbx.h
|
|
@@ -252,7 +173,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/X11/extensions/syncconst.h
|
|
|
%{_includedir}/X11/extensions/syncproto.h
|
|
|
%{_includedir}/X11/extensions/syncstr.h
|
|
|
-%{_includedir}/X11/extensions/vldXvMC.h
|
|
|
+#%{_includedir}/X11/extensions/vldXvMC.h
|
|
|
%{_includedir}/X11/extensions/xcmiscproto.h
|
|
|
%{_includedir}/X11/extensions/xcmiscstr.h
|
|
|
%{_includedir}/X11/extensions/xf86bigfont.h
|
|
@@ -265,10 +186,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/X11/extensions/xf86dgaconst.h
|
|
|
%{_includedir}/X11/extensions/xf86dgaproto.h
|
|
|
%{_includedir}/X11/extensions/xf86dgastr.h
|
|
|
-%{_includedir}/X11/extensions/xf86misc.h
|
|
|
-%{_includedir}/X11/extensions/xf86mscstr.h
|
|
|
-%{_includedir}/X11/extensions/xf86rush.h
|
|
|
-%{_includedir}/X11/extensions/xf86rushstr.h
|
|
|
%{_includedir}/X11/extensions/xf86vm.h
|
|
|
%{_includedir}/X11/extensions/xf86vmproto.h
|
|
|
%{_includedir}/X11/extensions/xf86vmstr.h
|
|
@@ -278,14 +195,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/X11/extensions/xtestext1const.h
|
|
|
%{_includedir}/X11/extensions/xtestext1proto.h
|
|
|
%{_includedir}/X11/extensions/xtestproto.h
|
|
|
-%{_includedir}/X11/extensions/xtrapbits.h
|
|
|
-%{_includedir}/X11/extensions/xtrapddmi.h
|
|
|
-%{_includedir}/X11/extensions/xtrapdi.h
|
|
|
-%{_includedir}/X11/extensions/xtrapemacros.h
|
|
|
-%{_includedir}/X11/extensions/xtraplib.h
|
|
|
-%{_includedir}/X11/extensions/xtraplibp.h
|
|
|
-%{_includedir}/X11/extensions/xtrapproto.h
|
|
|
-
|
|
|
%dir %{_includedir}/X11/fonts
|
|
|
%{_includedir}/X11/fonts/FS.h
|
|
|
%{_includedir}/X11/fonts/FSproto.h
|
|
@@ -293,19 +202,15 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/X11/fonts/fontproto.h
|
|
|
%{_includedir}/X11/fonts/fontstruct.h
|
|
|
%{_includedir}/X11/fonts/fsmasks.h
|
|
|
-
|
|
|
%{_includedir}/X11/keysym.h
|
|
|
%{_includedir}/X11/keysymdef.h
|
|
|
-
|
|
|
%{_datadir}/pkgconfig/bigreqsproto.pc
|
|
|
%{_datadir}/pkgconfig/compositeproto.pc
|
|
|
%{_datadir}/pkgconfig/damageproto.pc
|
|
|
%{_datadir}/pkgconfig/dmxproto.pc
|
|
|
%{_datadir}/pkgconfig/dri2proto.pc
|
|
|
%{_datadir}/pkgconfig/dri3proto.pc
|
|
|
-%{_datadir}/pkgconfig/evieproto.pc
|
|
|
%{_datadir}/pkgconfig/fixesproto.pc
|
|
|
-%{_datadir}/pkgconfig/fontcacheproto.pc
|
|
|
%{_datadir}/pkgconfig/fontsproto.pc
|
|
|
%{_datadir}/pkgconfig/glproto.pc
|
|
|
%{_datadir}/pkgconfig/inputproto.pc
|
|
@@ -316,21 +221,23 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_datadir}/pkgconfig/renderproto.pc
|
|
|
%{_datadir}/pkgconfig/resourceproto.pc
|
|
|
%{_datadir}/pkgconfig/scrnsaverproto.pc
|
|
|
-%{_datadir}/pkgconfig/trapproto.pc
|
|
|
%{_datadir}/pkgconfig/videoproto.pc
|
|
|
%{_datadir}/pkgconfig/xcmiscproto.pc
|
|
|
%{_datadir}/pkgconfig/xextproto.pc
|
|
|
%{_datadir}/pkgconfig/xf86bigfontproto.pc
|
|
|
%{_datadir}/pkgconfig/xf86dgaproto.pc
|
|
|
%{_datadir}/pkgconfig/xf86driproto.pc
|
|
|
-%{_datadir}/pkgconfig/xf86miscproto.pc
|
|
|
-%{_datadir}/pkgconfig/xf86rushproto.pc
|
|
|
%{_datadir}/pkgconfig/xf86vidmodeproto.pc
|
|
|
%{_datadir}/pkgconfig/xineramaproto.pc
|
|
|
%{_datadir}/pkgconfig/xproto.pc
|
|
|
-%{_datadir}/pkgconfig/xproxymngproto.pc
|
|
|
+%{_docdir}/xorgproto/*
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Sat May 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2019.2-1
|
|
|
+- switched to unified repository.
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.7-10
|
|
|
- bigreqsproto-1.1.2
|
|
|
- recordproto-1.14.2
|