From 16424e121191c24f2766e196413ac91fc611e201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= Date: Thu, 28 Jun 2018 14:29:10 +0300 Subject: [PATCH] [wayland-protocols] Add rpm packaging. MER#1920 --- rpm/wayland-protocols.spec | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 rpm/wayland-protocols.spec diff --git a/rpm/wayland-protocols.spec b/rpm/wayland-protocols.spec new file mode 100644 index 0000000..2eed078 --- /dev/null +++ b/rpm/wayland-protocols.spec @@ -0,0 +1,45 @@ +Name: wayland-protocols + +Summary: Wayland protocols that adds functionality not available in the core protocol +Version: 1.14.0 +Release: 1 +Group: System/Libraries +License: MIT +URL: http://wayland.freedesktop.org/ +Source0: wayland-protocols-%{version}.tar.xz +BuildRequires: pkgconfig(wayland-scanner) + +%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 -n %{name}-%{version}/wayland-protocols + +%build +%reconfigure +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +%make_install + +%files devel +%defattr(-,root,root,-) +%doc README COPYING +%{_datadir}/pkgconfig/%{name}.pc +%{_datadir}/%{name}/