]> git.pld-linux.org Git - packages/kf5-kwayland.git/blame - kf5-kwayland.spec
- updated to 5.105.0
[packages/kf5-kwayland.git] / kf5-kwayland.spec
CommitLineData
62587856
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
51e64b13 4%define kdeframever 5.105
81559c7b 5%define qtver 5.15.2
5ab38a48
WF
6%define kfname kwayland
7
9db7d1a5
JB
8Summary: Qt-style API to interact with the wayland-client and wayland-server API
9Summary(pl.UTF-8): API w stylu Qt do interakcji z API wayland-client i wayland-server
5ab38a48 10Name: kf5-%{kfname}
51e64b13
WF
11Version: 5.105.0
12Release: 1
9db7d1a5 13License: LGPL v2.1 or KDE-accepted LGPL v3+
5ab38a48 14Group: X11/Libraries
60f7f77d 15Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
51e64b13 16# Source0-md5: b50969f90c80737094fef78614ea66d1
5ab38a48 17URL: http://www.kde.org/
d5546d35
JP
18BuildRequires: EGL-devel
19BuildRequires: Qt5Concurrent-devel >= %{qtver}
5ab38a48 20BuildRequires: Qt5Core-devel >= %{qtver}
5ab38a48 21BuildRequires: Qt5Gui-devel >= %{qtver}
5ab38a48 22BuildRequires: Qt5Test-devel >= %{qtver}
97a1b4f3 23BuildRequires: Qt5WaylandClient-devel >= %{qtver}
5ab38a48 24BuildRequires: Qt5Widgets-devel >= %{qtver}
d5546d35 25BuildRequires: cmake >= 3.16
5ab38a48 26BuildRequires: gettext-devel
8cceedc4 27BuildRequires: kf5-extra-cmake-modules >= %{version}
ba646c0e 28BuildRequires: kf5-plasma-wayland-protocols-devel >= 1.9.0
e81beb87 29BuildRequires: ninja
d5546d35
JP
30BuildRequires: pkgconfig
31BuildRequires: rpmbuild(macros) >= 1.736
5ab38a48 32BuildRequires: tar >= 1:1.22
d5546d35
JP
33BuildRequires: wayland-devel >= 1.15
34BuildRequires: wayland-protocols >= 1.15
5ab38a48 35BuildRequires: xz
d5546d35
JP
36Requires: Qt5Core >= %{qtver}
37Requires: Qt5Gui >= %{qtver}
d5546d35 38Requires: wayland >= 1.15
5ab38a48
WF
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
5ab38a48 41%description
9db7d1a5
JB
42KWayland is a Qt-style API to interact with the wayland-client and
43wayland-server API.
44
45%description -l pl.UTF-8
46KWayland to API w stylu Qt do interakcji z API wayland-client i
47wayland-server.
5ab38a48
WF
48
49%package devel
50Summary: Header files for %{kfname} development
51Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
52Group: X11/Development/Libraries
53Requires: %{name} = %{version}-%{release}
d5546d35 54Requires: Qt5Gui-devel >= %{qtver}
5ab38a48
WF
55
56%description devel
57Header files for %{kfname} development.
58
59%description devel -l pl.UTF-8
60Pliki nagłówkowe dla programistów używających %{kfname}.
61
62%prep
63%setup -q -n %{kfname}-%{version}
64
65%build
66install -d build
67cd build
e81beb87 68%cmake -G Ninja \
62587856 69 %{!?with_tests:-DBUILD_TESTING=OFF} \
5ab38a48
WF
70 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
71 ../
9db7d1a5 72
e81beb87 73%ninja_build
5ab38a48 74
62587856
WF
75%if %{with tests}
76ctest
77%endif
78
5ab38a48
WF
79%install
80rm -rf $RPM_BUILD_ROOT
9db7d1a5 81
e81beb87 82%ninja_install -C build
5ab38a48
WF
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
9db7d1a5
JB
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
5ab38a48
WF
89
90%files
91%defattr(644,root,root,755)
9db7d1a5 92%doc README.md LICENSES/LicenseRef-KDE-Accepted-LGPL.txt
7ba2557f 93%ghost %{_libdir}/libKF5WaylandClient.so.5
5ab38a48 94%attr(755,root,root) %{_libdir}/libKF5WaylandClient.so.5.*.*
7ba2557f 95%ghost %{_libdir}/libKF5WaylandServer.so.5
5ab38a48 96%attr(755,root,root) %{_libdir}/libKF5WaylandServer.so.5.*.*
9db7d1a5
JB
97%attr(755,root,root) %{_libexecdir}/org-kde-kf5-kwayland-testserver
98%{_datadir}/qlogging-categories5/kwayland.categories
97a1b4f3 99%{_datadir}/qlogging-categories5/kwayland.renamecategories
5ab38a48
WF
100
101%files devel
102%defattr(644,root,root,755)
9db7d1a5
JB
103%{_libdir}/libKF5WaylandClient.so
104%{_libdir}/libKF5WaylandServer.so
5ab38a48 105%{_includedir}/KF5/KWayland
9db7d1a5 106%{_pkgconfigdir}/KF5WaylandClient.pc
5ab38a48
WF
107%{_libdir}/cmake/KF5Wayland
108%{_libdir}/qt5/mkspecs/modules/qt_KWaylandClient.pri
109%{_libdir}/qt5/mkspecs/modules/qt_KWaylandServer.pri
This page took 0.429131 seconds and 4 git commands to generate.