2 # wayland-scanner from wayland project
4 %define kdeplasmaver 5.21.4
6 %define kpname kwayland-server
8 Summary: Qt-style Client and Server library wrapper for the Wayland libraries
14 Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
15 # Source0-md5: 75fee34b93f18a0f36a06771167959d7
16 URL: http://www.kde.org/
17 BuildRequires: Qt5Core-devel >= %{qtver}
18 BuildRequires: cmake >= 2.8.12
19 BuildRequires: rpmbuild(macros) >= 1.164
20 BuildRequires: wayland-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define qt5dir %{_libdir}/qt5
27 Qt-style Client and Server library wrapper for the Wayland libraries.
30 Summary: Header files for %{kpname} development
31 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
32 Group: X11/Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for %{kpname} development.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe dla programistów używających %{kpname}.
42 %setup -q -n %{kpname}-%{version}
48 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} -C build/ install \
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 %defattr(644,root,root,755)
66 %{_datadir}/qlogging-categories5/kwaylandserver.categories
67 %ghost %{_libdir}/libKWaylandServer.so.5
68 %attr(755,root,root) %{_libdir}/libKWaylandServer.so.*.*.*
71 %defattr(644,root,root,755)
72 %{_includedir}/kwaylandserver_version.h
73 %dir %{_includedir}/KWaylandServer
74 %{_includedir}/KWaylandServer/*.h
75 %dir %{_libdir}/cmake/KWaylandServer
76 %{_libdir}/cmake/KWaylandServer/KWaylandServerConfig.cmake
77 %{_libdir}/cmake/KWaylandServer/KWaylandServerConfigVersion.cmake
78 %{_libdir}/cmake/KWaylandServer/KWaylandServerTargets-pld.cmake
79 %{_libdir}/cmake/KWaylandServer/KWaylandServerTargets.cmake
80 %{_libdir}/libKWaylandServer.so