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