wayland-protocols/wayland-protocols.spec
Bjørn Lie 322816c79d Accepting request 522822 from home:Zaitor:branches:GNOME:Next
- Add wayland-protocols-sysroot-prefix-fix.patch: Use sysroot
  prefix for pkgdatadir variable. The pc_sysroot is automatically
  added to cflags and libs but not to 'pkg-config --variable'.

OBS-URL: https://build.opensuse.org/request/show/522822
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wayland-protocols?expand=0&rev=27
2017-09-09 18:41:11 +00:00

73 lines
2.5 KiB
RPMSpec

#
# spec file for package wayland-protocols
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 Bjørn Lie, Bryne, Norway.
#
# 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: wayland-protocols
Version: 1.10
Release: 0
Summary: Wayland protocols that adds functionality not available in the core protocol
License: MIT
Group: Development/Libraries/C and C++
Url: http://wayland.freedesktop.org/
Source: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
Source2: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz.sig
Source3: %name.keyring
# PATCH-FIX-UPSTREAM wayland-protocols-sysroot-prefix-fix.patch zaitor@opensuse.org -- Use sysroot prefix for pkgdatadir variable
Patch0: wayland-protocols-sysroot-prefix-fix.patch
BuildRequires: pkg-config
BuildRequires: pkgconfig(wayland-scanner)
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains Wayland protocols that adds functionality not
available in the Wayland core protocol. Such protocols either adds
completely new functionality, or extends the functionality of some other
protocol either in Wayland core, or some other protocol in
wayland-protocols.
%package devel
Summary: Wayland protocols that adds functionality not available in the core protocol
Group: Development/Libraries/C and C++
%description devel
This package contains Wayland protocols that adds functionality not
available in the Wayland core protocol. Such protocols either adds
completely new functionality, or extends the functionality of some other
protocol either in Wayland core, or some other protocol in
wayland-protocols.
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%files devel
%defattr(-,root,root)
%doc README COPYING
%{_datadir}/pkgconfig/%{name}.pc
%{_datadir}/%{name}/
%changelog