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