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