]>
Commit | Line | Data |
---|---|---|
82a63f4f | 1 | %define kdeframever 5.90 |
d5546d35 | 2 | %define qtver 5.15.0 |
5ab38a48 WF |
3 | %define kfname kwayland |
4 | ||
5 | Summary: Framework for managing menu and toolbar actions | |
6 | Name: kf5-%{kfname} | |
82a63f4f | 7 | Version: 5.90.0 |
831eea8e | 8 | Release: 1 |
5ab38a48 WF |
9 | License: LGPL v2.1+ |
10 | Group: X11/Libraries | |
60f7f77d | 11 | Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
82a63f4f | 12 | # Source0-md5: ecdcc7e844f8e997d967b40a5105dcae |
5ab38a48 | 13 | URL: http://www.kde.org/ |
d5546d35 JP |
14 | BuildRequires: EGL-devel |
15 | BuildRequires: Qt5Concurrent-devel >= %{qtver} | |
5ab38a48 | 16 | BuildRequires: Qt5Core-devel >= %{qtver} |
5ab38a48 | 17 | BuildRequires: Qt5Gui-devel >= %{qtver} |
5ab38a48 | 18 | BuildRequires: Qt5Test-devel >= %{qtver} |
97a1b4f3 | 19 | BuildRequires: Qt5WaylandClient-devel >= %{qtver} |
5ab38a48 | 20 | BuildRequires: Qt5Widgets-devel >= %{qtver} |
d5546d35 | 21 | BuildRequires: cmake >= 3.16 |
5ab38a48 | 22 | BuildRequires: gettext-devel |
8cceedc4 | 23 | BuildRequires: kf5-extra-cmake-modules >= %{version} |
3931fa72 | 24 | BuildRequires: kf5-plasma-wayland-protocols-devel >= 1.4.0 |
e81beb87 | 25 | BuildRequires: ninja |
d5546d35 JP |
26 | BuildRequires: pkgconfig |
27 | BuildRequires: rpmbuild(macros) >= 1.736 | |
5ab38a48 | 28 | BuildRequires: tar >= 1:1.22 |
d5546d35 JP |
29 | BuildRequires: wayland-devel >= 1.15 |
30 | BuildRequires: wayland-protocols >= 1.15 | |
5ab38a48 | 31 | BuildRequires: xz |
d5546d35 JP |
32 | Requires: Qt5Core >= %{qtver} |
33 | Requires: Qt5Gui >= %{qtver} | |
5ab38a48 | 34 | Requires: kf5-dirs |
d5546d35 | 35 | Requires: wayland >= 1.15 |
5ab38a48 WF |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
5ab38a48 WF |
38 | %description |
39 | kwayland | |
40 | ||
41 | %package devel | |
42 | Summary: Header files for %{kfname} development | |
43 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} | |
44 | Group: X11/Development/Libraries | |
45 | Requires: %{name} = %{version}-%{release} | |
d5546d35 | 46 | Requires: Qt5Gui-devel >= %{qtver} |
5ab38a48 WF |
47 | |
48 | %description devel | |
49 | Header files for %{kfname} development. | |
50 | ||
51 | %description devel -l pl.UTF-8 | |
52 | Pliki nagłówkowe dla programistów używających %{kfname}. | |
53 | ||
54 | %prep | |
55 | %setup -q -n %{kfname}-%{version} | |
56 | ||
57 | %build | |
58 | install -d build | |
59 | cd build | |
e81beb87 | 60 | %cmake -G Ninja \ |
5ab38a48 WF |
61 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
62 | ../ | |
e81beb87 | 63 | %ninja_build |
5ab38a48 WF |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
e81beb87 | 67 | %ninja_install -C build |
5ab38a48 WF |
68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %doc README.md | |
97a1b4f3 | 78 | %{_datadir}/qlogging-categories5/kwayland.categories |
7ba2557f | 79 | %ghost %{_libdir}/libKF5WaylandClient.so.5 |
5ab38a48 | 80 | %attr(755,root,root) %{_libdir}/libKF5WaylandClient.so.5.*.* |
7ba2557f | 81 | %ghost %{_libdir}/libKF5WaylandServer.so.5 |
5ab38a48 | 82 | %attr(755,root,root) %{_libdir}/libKF5WaylandServer.so.5.*.* |
325e46cb | 83 | %attr(755,root,root) %{_prefix}/libexec/org-kde-kf5-kwayland-testserver |
97a1b4f3 | 84 | %{_datadir}/qlogging-categories5/kwayland.renamecategories |
5ab38a48 WF |
85 | |
86 | %files devel | |
87 | %defattr(644,root,root,755) | |
88 | %{_includedir}/KF5/KWayland | |
89 | %{_includedir}/KF5/kwayland_version.h | |
90 | %{_libdir}/cmake/KF5Wayland | |
91 | %{_libdir}/qt5/mkspecs/modules/qt_KWaylandClient.pri | |
92 | %{_libdir}/qt5/mkspecs/modules/qt_KWaylandServer.pri | |
7ba2557f WF |
93 | %{_libdir}/libKF5WaylandClient.so |
94 | %{_libdir}/libKF5WaylandServer.so |