]> git.pld-linux.org Git - packages/wrapland.git/blame - wrapland.spec
- url
[packages/wrapland.git] / wrapland.spec
CommitLineData
dc000c0e
WF
1%define kdeplasmaver 5.23.4
2%define kf_ver 5.78
3%define qt_ver 5.15.0
4%define kpname wrapland
5#
6Summary: Qt/C++ library wrapping libwayland
7Name: %{kpname}
8Version: 0.523.1
9Release: 1
10License: LGPL v2.1+
11Group: X11/Libraries
12Source0: https://gitlab.com/kwinft/%{kpname}/-/archive/%{kpname}@%{version}/%{name}-%{name}@%{version}.tar.bz2
13# Source0-md5: 2f9c21645be7a8e968afd00abf25f92e
cdeaae03 14URL: https://gitlab.com/kwinft/wrapland
dc000c0e
WF
15BuildRequires: EGL-devel
16BuildRequires: Qt5Concurrent-devel
17BuildRequires: Qt5Gui-devel
18BuildRequires: Qt5Test-devel
19BuildRequires: kf5-extra-cmake-modules >= 5.66.0
20BuildRequires: wayland-devel >= 1.18
21BuildRequires: wayland-protocols >= 1.22
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%define qt5dir %{_libdir}/qt5
25
26%description
27Wrapland is a Qt/C++ library that wraps and mediates the libwayland
28client and server API for its consumers. Wrapland is an independent
29part of the [KWinFT project][kwinft-project] with the KWinFT window
30manager being Wrapland's first and most prominent user.
31
32%package devel
33Summary: Header files for %{kpname} development
34Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
35Group: X11/Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description devel
39Header files for %{kpname} development.
40
41%description devel -l pl.UTF-8
42Pliki nagłówkowe dla programistów używających %{kpname}.
43
44%prep
45%setup -q -n %{name}-%{name}@%{version}
46
47%build
48install -d build
49
50cd build
51%cmake -G Ninja \
52 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
53 -DHTML_INSTALL_DIR=%{_kdedocdir} \
54 ../
55%ninja_build
56
57%install
58rm -rf $RPM_BUILD_ROOT
59%ninja_install -C build
60rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,sr@latin}
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(644,root,root,755)
70%{_libdir}/libWraplandServer.so.0.*.*
71%ghost %{_libdir}/libWraplandServer.so.0
72%{_libdir}/libWraplandClient.so.0.*.*
73%ghost %{_libdir}/libWraplandClient.so.0
74%attr(755,root,root) %{_prefix}/libexec/org-kde-kf5-wrapland-testserver
75%{_datadir}/qlogging-categories5/org_kde_wrapland.categories
76
77%files devel
78%defattr(644,root,root,755)
79%{_libdir}/cmake/Wrapland
80%{_includedir}/wrapland_version.h
81%{_libdir}/libWraplandServer.so
82%{_libdir}/libWraplandClient.so
83%{_includedir}/Wrapland
This page took 0.153833 seconds and 4 git commands to generate.