|
|
|
%global wayland_min_version 1.3
|
|
|
|
|
|
|
|
Name: kwayland-integration
|
|
|
|
Version: 5.4.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Provides integration plugins for various KDE Frameworks for Wayland
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/kwayland-integration
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
|
|
|
BuildRequires: kf5-kidletime-devel
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
|
|
BuildRequires: kf5-kwayland-devel
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
|
|
|
|
- .spec cosmetics, update URL
|
|
|
|
|
|
|
|
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
|
|
|
|
- 5.4.1
|
|
|
|
|
|
|
|
* Tue Aug 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
|
|
|
|
- Update to 5.4.0
|
|
|
|
- Fix license
|
|
|
|
- Use %%license
|
|
|
|
|
|
|
|
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
|
|
|
|
- Initial version
|