xorgproto/xorgproto.spec

111 lines
4.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package xorgproto
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: xorgproto
Version: 2018.4
Release: 0
Url: http://xorg.freedesktop.org/
Summary: The X11 Protocol collection
License: MIT
Group: Development/Libraries/X11
#Git-Clone: git://anongit.freedesktop.org/xorg/proto/xorgproto
#Git-Web: http://cgit.freedesktop.org/xorg/proto/xorgproto/
Source: http://xorg.freedesktop.org/releases/individual/proto/%name-%version.tar.bz2
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Obsoletes: pkgconfig(applewmproto) <= 1.4.2
Obsoletes: pkgconfig(bigreqsproto) <= 1.1.2
Obsoletes: pkgconfig(compositeproto) <= 0.4.2
Obsoletes: pkgconfig(damageproto) <= 1.2.1
Obsoletes: pkgconfig(dmxproto) <= 2.3.1
Obsoletes: pkgconfig(dri2proto) <= 2.8
Obsoletes: pkgconfig(dri3proto) <= 1.2
Obsoletes: pkgconfig(fixesproto) <= 5.0
Obsoletes: pkgconfig(fontsproto) <= 2.1.3
Obsoletes: pkgconfig(glproto) <= 1.4.17
Obsoletes: pkgconfig(inputproto) <= 2.3.2
Obsoletes: pkgconfig(kbproto) <= 1.0.7
Obsoletes: pkgconfig(presentproto) <= 1.2
Obsoletes: pkgconfig(randrproto) <= 1.6.0
Obsoletes: pkgconfig(recordproto) <= 1.14.2
Obsoletes: pkgconfig(renderproto) <= 0.11.1
Obsoletes: pkgconfig(resourceproto) <= 1.2.0
Obsoletes: pkgconfig(scrnsaverproto) <= 1.2.2
Obsoletes: pkgconfig(trapproto) <= 3.4.3
Obsoletes: pkgconfig(videoproto) <= 2.3.3
Obsoletes: pkgconfig(windowswmproto) <= 1.0.4
Obsoletes: pkgconfig(xcmiscproto) <= 1.2.2
Obsoletes: pkgconfig(xextproto) <= 7.3.0
Obsoletes: pkgconfig(xf86bigfontproto) <= 1.2.0
Obsoletes: pkgconfig(xf86dgaproto) <= 2.1
Obsoletes: pkgconfig(xf86driproto) <= 2.1.1
Obsoletes: pkgconfig(xf86miscproto) <= 0.9.3
Obsoletes: pkgconfig(xf86vidmodeproto) <= 2.3.1
Obsoletes: pkgconfig(xineramaproto) <= 1.2.1
Obsoletes: pkgconfig(xproto) <= 7.0.32
Obsoletes: pkgconfig(xproxymngproto) <= 1.0.3
%description
The X11 protocol headers for X11 development.
This package contains all previously split protocol packages:
applewmproto, bigreqsproto, compositeproto, damageproto, dmxproto, dri2proto,
dri3proto, fixesproto, fontsproto, glproto, inputproto, kbproto, presentproto,
randrproto, recordproto, renderproto, resourceproto, scrnsaverproto, trapproto,
videoproto, windowswmproto, xcmiscproto, xextproto, xf86bigfontproto,
xf86dgaproto, xf86driproto, xf86miscproto, xf86vidmodeproto, xineramaproto,
xproto and xproxymngproto.
%package devel
Summary: The X11 Protocol collection
Group: Development/Libraries/X11
Provides: xorg-x11-proto-devel:%_libdir/pkgconfig/presentproto.pc
Obsoletes: xorgproto-devel < %{version}
%description devel
The compelte X11 protocol headers for X11 development.
This package contains all previously split protocol packages:
applewmproto, bigreqsproto, compositeproto, damageproto, dmxproto, dri2proto,
dri3proto, fixesproto, fontsproto, glproto, inputproto, kbproto, presentproto,
randrproto, recordproto, renderproto, resourceproto, scrnsaverproto, trapproto,
videoproto, windowswmproto, xcmiscproto, xextproto, xf86bigfontproto,
xf86dgaproto, xf86driproto, xf86miscproto, xf86vidmodeproto, xineramaproto,
xproto and xproxymngproto.
%prep
%setup -q
%build
#autoreconf -fi
%configure
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
%files devel
%defattr(-,root,root)
%doc %_datadir/doc/*
%_includedir/X11/
%_includedir/GL/
%{_datarootdir}/pkgconfig/*.pc
%changelog