forked from jengelh/wayland
Create wayland filesystem package
This commit is contained in:
parent
1f7e9726e4
commit
418e72f38c
14
wayland.spec
14
wayland.spec
@ -64,6 +64,7 @@ fullscreen) or other display servers.
|
|||||||
%package -n libwayland-client0
|
%package -n libwayland-client0
|
||||||
Summary: Wayland core client library
|
Summary: Wayland core client library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Requires: %{name}-filesystem
|
||||||
|
|
||||||
%description -n libwayland-client0
|
%description -n libwayland-client0
|
||||||
Wayland is a protocol for a compositor to talk to its clients as well
|
Wayland is a protocol for a compositor to talk to its clients as well
|
||||||
@ -142,6 +143,14 @@ BuildArch: noarch
|
|||||||
%description doc
|
%description doc
|
||||||
This subpackage contains the documentation to Wayland.
|
This subpackage contains the documentation to Wayland.
|
||||||
|
|
||||||
|
%package filesystem
|
||||||
|
Summary: Filesystem directories for Wayland
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description filesystem
|
||||||
|
Provides the required packaging and run-time directories needed by
|
||||||
|
Wayland
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
||||||
@ -160,6 +169,8 @@ sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/wayland-sessions
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
|
|
||||||
@ -206,4 +217,7 @@ sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
|||||||
%_docdir/%name/
|
%_docdir/%name/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files filesystem
|
||||||
|
%dir %{_datadir}/wayland-sessions
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user