Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wayland-protocols] Add rpm packaging. MER#1920
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}/ |