]> git.pld-linux.org Git - packages/kp5-kwayland-server.git/blame - kp5-kwayland-server.spec
rebuild with qt5-5.15.6
[packages/kp5-kwayland-server.git] / kp5-kwayland-server.spec
CommitLineData
24656c3f
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
c660c206
ŁM
4# TODO:
5# wayland-scanner from wayland project
6#
3b22e06f 7%define kdeplasmaver 5.24.5
5b1097b3 8%define qtver 5.15.2
c660c206
ŁM
9%define kpname kwayland-server
10
11Summary: Qt-style Client and Server library wrapper for the Wayland libraries
12Name: kp5-%{kpname}
3b22e06f 13Version: 5.24.5
ecc9dee7 14Release: 2
c660c206
ŁM
15License: LGPL v2.1+
16Group: X11/Libraries
17Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
3b22e06f 18# Source0-md5: 598ae49b82277a94c5b35ac2b22f2cee
c660c206
ŁM
19URL: http://www.kde.org/
20BuildRequires: Qt5Core-devel >= %{qtver}
5b1097b3 21BuildRequires: Qt5WaylandClient-devel >= %{qtver}
c660c206 22BuildRequires: cmake >= 2.8.12
303dd8d2 23BuildRequires: kf5-kwindowsystem-devel >= 5.82.0
3684afbe 24BuildRequires: kf5-plasma-wayland-protocols-devel >= 1.6.0
c660c206
ŁM
25BuildRequires: rpmbuild(macros) >= 1.164
26BuildRequires: wayland-devel
27BuildRequires: xz
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%define qt5dir %{_libdir}/qt5
31
32%description
33Qt-style Client and Server library wrapper for the Wayland libraries.
34
35%package devel
36Summary: Header files for %{kpname} development
37Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
38Group: X11/Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description devel
42Header files for %{kpname} development.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe dla programistów używających %{kpname}.
46
47%prep
48%setup -q -n %{kpname}-%{version}
49
50%build
51install -d build
52cd build
53%cmake \
24656c3f 54 %{!?with_tests:-DBUILD_TESTING=OFF} \
c660c206
ŁM
55 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
56 ../
57%{__make}
58
24656c3f
WF
59%if %{with tests}
60ctest
61%endif
62
c660c206
ŁM
63%install
64rm -rf $RPM_BUILD_ROOT
65
66%{__make} -C build/ install \
67 DESTDIR=$RPM_BUILD_ROOT
68
69%clean
70rm -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%{_datadir}/qlogging-categories5/kwaylandserver.categories
d9587d8a 78%ghost %{_libdir}/libKWaylandServer.so.5
c660c206
ŁM
79%attr(755,root,root) %{_libdir}/libKWaylandServer.so.*.*.*
80
81%files devel
82%defattr(644,root,root,755)
83%{_includedir}/kwaylandserver_version.h
84%dir %{_includedir}/KWaylandServer
85%{_includedir}/KWaylandServer/*.h
86%dir %{_libdir}/cmake/KWaylandServer
87%{_libdir}/cmake/KWaylandServer/KWaylandServerConfig.cmake
88%{_libdir}/cmake/KWaylandServer/KWaylandServerConfigVersion.cmake
89%{_libdir}/cmake/KWaylandServer/KWaylandServerTargets-pld.cmake
90%{_libdir}/cmake/KWaylandServer/KWaylandServerTargets.cmake
d9587d8a 91%{_libdir}/libKWaylandServer.so
This page took 0.149162 seconds and 4 git commands to generate.