Skip to content

Commit

Permalink
[wayland-protocols] Add rpm packaging. MER#1920
Browse files Browse the repository at this point in the history
  • Loading branch information
mlehtima committed Jun 28, 2018
1 parent d8e3cd7 commit 16424e1
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions 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}/

0 comments on commit 16424e1

Please sign in to comment.