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