diff --git a/.gitignore b/.gitignore index e69de29..693e4b7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/kwayland-integration-5.4.0.tar.xz diff --git a/kwayland-integration.spec b/kwayland-integration.spec new file mode 100644 index 0000000..e3b04c3 --- /dev/null +++ b/kwayland-integration.spec @@ -0,0 +1,65 @@ +%global wayland_min_version 1.3 + +Name: kwayland-integration +Version: 5.4.0 +Release: 1%{?dist} +Summary: Provides integration plugins for various KDE Frameworks for Wayland + +License: LGPLv2+ +URL: http://www.kde.org + +%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: kf5-rpm-macros +BuildRequires: extra-cmake-modules + +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 -p %{_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 +* Tue Aug 25 2015 Daniel Vrátil - 5.4.0-1 +- Update to 5.4.0 +- Fix license +- Use %%license + +* Thu Aug 13 2015 Daniel Vrátil - 5.3.95-1 +- Initial version diff --git a/sources b/sources index e69de29..453ba4c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2eaabc6ddacb4142d1c068f1b5536455 kwayland-integration-5.4.0.tar.xz