48 lines
1.1 KiB
RPMSpec
48 lines
1.1 KiB
RPMSpec
%global stable stable
|
|
|
|
Name: kwayland-integration
|
|
Version: 5.15.0
|
|
Release: 1
|
|
Summary: Provides integration plugins for various KDE Frameworks for Wayland
|
|
|
|
License: LGPLv2+
|
|
URL: https://cgit.kde.org/%{name}.git
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: qt5-qtbase-devel extra-cmake-modules kf5-rpm-macros kf5-kidletime-devel
|
|
BuildRequires: kf5-kwindowsystem-devel kf5-kwayland-devel
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
mkdir %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake_kf5} ..
|
|
popd
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%license COPYING.LIB
|
|
%{_kf5_plugindir}/org.kde.kidletime.platforms/KF5IdleTimeKWaylandPlugin.so
|
|
%{_kf5_plugindir}/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so
|
|
%{_sysconfdir}/xdg/kwindowsystem.kwayland.categories
|
|
|
|
|
|
%changelog
|
|
* Tue Jun 8 2021 guoxiaoqi <guoxiaoqi2@huawei.com> - 5.15.0-1
|
|
- package init
|