]> git.pld-linux.org Git - packages/kf5-kwayland.git/blame - kf5-kwayland.spec
relup
[packages/kf5-kwayland.git] / kf5-kwayland.spec
CommitLineData
62587856
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
02ce9d6e 4%define kdeframever 5.97
81559c7b 5%define qtver 5.15.2
5ab38a48
WF
6%define kfname kwayland
7
8Summary: Framework for managing menu and toolbar actions
9Name: kf5-%{kfname}
02ce9d6e 10Version: 5.97.0
2c4bdc76 11Release: 2
5ab38a48
WF
12License: LGPL v2.1+
13Group: X11/Libraries
60f7f77d 14Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
02ce9d6e 15# Source0-md5: c0943e04bb7f514c58bcb9b891efb080
5ab38a48 16URL: http://www.kde.org/
d5546d35
JP
17BuildRequires: EGL-devel
18BuildRequires: Qt5Concurrent-devel >= %{qtver}
5ab38a48 19BuildRequires: Qt5Core-devel >= %{qtver}
5ab38a48 20BuildRequires: Qt5Gui-devel >= %{qtver}
5ab38a48 21BuildRequires: Qt5Test-devel >= %{qtver}
97a1b4f3 22BuildRequires: Qt5WaylandClient-devel >= %{qtver}
5ab38a48 23BuildRequires: Qt5Widgets-devel >= %{qtver}
d5546d35 24BuildRequires: cmake >= 3.16
5ab38a48 25BuildRequires: gettext-devel
8cceedc4 26BuildRequires: kf5-extra-cmake-modules >= %{version}
3931fa72 27BuildRequires: kf5-plasma-wayland-protocols-devel >= 1.4.0
e81beb87 28BuildRequires: ninja
d5546d35
JP
29BuildRequires: pkgconfig
30BuildRequires: rpmbuild(macros) >= 1.736
5ab38a48 31BuildRequires: tar >= 1:1.22
d5546d35
JP
32BuildRequires: wayland-devel >= 1.15
33BuildRequires: wayland-protocols >= 1.15
5ab38a48 34BuildRequires: xz
d5546d35
JP
35Requires: Qt5Core >= %{qtver}
36Requires: Qt5Gui >= %{qtver}
5ab38a48 37Requires: kf5-dirs
d5546d35 38Requires: wayland >= 1.15
5ab38a48
WF
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
5ab38a48
WF
41%description
42kwayland
43
44%package devel
45Summary: Header files for %{kfname} development
46Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
47Group: X11/Development/Libraries
48Requires: %{name} = %{version}-%{release}
d5546d35 49Requires: Qt5Gui-devel >= %{qtver}
5ab38a48
WF
50
51%description devel
52Header files for %{kfname} development.
53
54%description devel -l pl.UTF-8
55Pliki nagłówkowe dla programistów używających %{kfname}.
56
57%prep
58%setup -q -n %{kfname}-%{version}
59
60%build
61install -d build
62cd build
e81beb87 63%cmake -G Ninja \
62587856 64 %{!?with_tests:-DBUILD_TESTING=OFF} \
5ab38a48
WF
65 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
66 ../
e81beb87 67%ninja_build
5ab38a48 68
62587856
WF
69%if %{with tests}
70ctest
71%endif
72
73
5ab38a48
WF
74%install
75rm -rf $RPM_BUILD_ROOT
e81beb87 76%ninja_install -C build
5ab38a48
WF
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%post -p /sbin/ldconfig
82%postun -p /sbin/ldconfig
83
84%files
85%defattr(644,root,root,755)
86%doc README.md
97a1b4f3 87%{_datadir}/qlogging-categories5/kwayland.categories
7ba2557f 88%ghost %{_libdir}/libKF5WaylandClient.so.5
5ab38a48 89%attr(755,root,root) %{_libdir}/libKF5WaylandClient.so.5.*.*
7ba2557f 90%ghost %{_libdir}/libKF5WaylandServer.so.5
5ab38a48 91%attr(755,root,root) %{_libdir}/libKF5WaylandServer.so.5.*.*
325e46cb 92%attr(755,root,root) %{_prefix}/libexec/org-kde-kf5-kwayland-testserver
97a1b4f3 93%{_datadir}/qlogging-categories5/kwayland.renamecategories
5ab38a48
WF
94
95%files devel
96%defattr(644,root,root,755)
97%{_includedir}/KF5/KWayland
5ab38a48
WF
98%{_libdir}/cmake/KF5Wayland
99%{_libdir}/qt5/mkspecs/modules/qt_KWaylandClient.pri
100%{_libdir}/qt5/mkspecs/modules/qt_KWaylandServer.pri
7ba2557f
WF
101%{_libdir}/libKF5WaylandClient.so
102%{_libdir}/libKF5WaylandServer.so
95e60195 103%{_pkgconfigdir}/KF5WaylandClient.pc
This page took 0.219271 seconds and 4 git commands to generate.