]>
Commit | Line | Data |
---|---|---|
a3a85fc6 | 1 | %define kdeframever 5.67 |
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} | |
a3a85fc6 | 7 | Version: 5.67.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 | |
a3a85fc6 | 12 | # Source0-md5: 5141cdc1fcd46d43ac0043c10112be2b |
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} | |
20 | BuildRequires: Qt5Widgets-devel >= %{qtver} | |
21 | BuildRequires: Qt5Xml-devel >= %{qtver} | |
22 | BuildRequires: cmake >= 2.8.12 | |
23 | BuildRequires: gettext-devel | |
24 | BuildRequires: kf5-extra-cmake-modules >= 1.4.0 | |
e81beb87 | 25 | BuildRequires: ninja |
5ab38a48 WF |
26 | BuildRequires: rpmbuild(macros) >= 1.164 |
27 | BuildRequires: tar >= 1:1.22 | |
28 | BuildRequires: wayland-devel >= 1.7.0 | |
29 | BuildRequires: xz | |
30 | Requires: kf5-dirs | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %define qt5dir %{_libdir}/qt5 | |
34 | ||
35 | %description | |
36 | kwayland | |
37 | ||
38 | %package devel | |
39 | Summary: Header files for %{kfname} development | |
40 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} | |
41 | Group: X11/Development/Libraries | |
42 | Requires: %{name} = %{version}-%{release} | |
43 | ||
44 | %description devel | |
45 | Header files for %{kfname} development. | |
46 | ||
47 | %description devel -l pl.UTF-8 | |
48 | Pliki nagłówkowe dla programistów używających %{kfname}. | |
49 | ||
50 | %prep | |
51 | %setup -q -n %{kfname}-%{version} | |
52 | ||
53 | %build | |
54 | install -d build | |
55 | cd build | |
e81beb87 | 56 | %cmake -G Ninja \ |
5ab38a48 WF |
57 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
58 | ../ | |
e81beb87 | 59 | %ninja_build |
5ab38a48 WF |
60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
e81beb87 | 63 | %ninja_install -C build |
5ab38a48 WF |
64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc README.md | |
ea6b3035 | 74 | %{_datadir}/qlogging-categories5//org_kde_kwayland.categories |
5ab38a48 WF |
75 | %attr(755,root,root) %ghost %{_libdir}/libKF5WaylandClient.so.5 |
76 | %attr(755,root,root) %{_libdir}/libKF5WaylandClient.so.5.*.* | |
77 | %attr(755,root,root) %ghost %{_libdir}/libKF5WaylandServer.so.5 | |
78 | %attr(755,root,root) %{_libdir}/libKF5WaylandServer.so.5.*.* | |
325e46cb | 79 | %attr(755,root,root) %{_prefix}/libexec/org-kde-kf5-kwayland-testserver |
5ab38a48 WF |
80 | |
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %{_includedir}/KF5/KWayland | |
84 | %{_includedir}/KF5/kwayland_version.h | |
85 | %{_libdir}/cmake/KF5Wayland | |
86 | %{_libdir}/qt5/mkspecs/modules/qt_KWaylandClient.pri | |
87 | %{_libdir}/qt5/mkspecs/modules/qt_KWaylandServer.pri | |
88 | %attr(755,root,root) %{_libdir}/libKF5WaylandClient.so | |
89 | %attr(755,root,root) %{_libdir}/libKF5WaylandServer.so |