From 511923b396c100a244a7843078469dac9de225f322723163761efe067f77f5c7 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Mon, 22 Sep 2014 22:09:14 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kwayland?expand=0&rev=1 --- .gitattributes | 23 ++++++ .gitignore | 1 + baselibs.conf | 3 + kwayland-5.0.95~git20140923.tar.xz | 3 + kwayland.changes | 6 ++ kwayland.spec | 111 +++++++++++++++++++++++++++++ 6 files changed, 147 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 kwayland-5.0.95~git20140923.tar.xz create mode 100644 kwayland.changes create mode 100644 kwayland.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..1413cd7 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,3 @@ +libKF5WaylandClient5 +kwayland-devel + requires "libKF5WaylandClient5- = " \ No newline at end of file diff --git a/kwayland-5.0.95~git20140923.tar.xz b/kwayland-5.0.95~git20140923.tar.xz new file mode 100644 index 0000000..5981a2e --- /dev/null +++ b/kwayland-5.0.95~git20140923.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b2023f5e195f3a286cbd7c519ced1f31ea076f6a2f6f014a88c6e25004304a +size 56280 diff --git a/kwayland.changes b/kwayland.changes new file mode 100644 index 0000000..3e0813f --- /dev/null +++ b/kwayland.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Mon Sep 22 22:08:10 UTC 2014 - hrvoje.senjan@gmail.com + +- Activate KWayland package - KDE bindings for Wayland protocol and + library + diff --git a/kwayland.spec b/kwayland.spec new file mode 100644 index 0000000..481f71d --- /dev/null +++ b/kwayland.spec @@ -0,0 +1,111 @@ +# +# spec file for package kwindowsystem +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%define kwayland_server 0 + +Name: kwayland +Version: 5.0.95~git20140923 +Release: 0 +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 1.2.0 +BuildRequires: fdupes +BuildRequires: kf5-filesystem +BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 +BuildRequires: wayland-devel >= 1.3.0 +BuildRequires: pkgconfig(wayland-egl) +Summary: KDE Wayland library +License: LGPL-2.1+ +Group: Development/Libraries/KDE +Url: http://www.kde.org +Source: %{name}-%{version}.tar.xz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +KWayland provides a Qt-style Client and Server library wrapper for the Wayland libraries. + +%package -n libKF5WaylandClient5 +Summary: KDE Wayland library +Group: Development/Libraries/KDE + +%description -n libKF5WaylandClient5 +KWayland provides a Qt-style Client and Server library wrapper for the Wayland libraries. + +%package -n libKF5WaylandServer5 +Summary: KDE Wayland library +Group: Development/Libraries/KDE + +%description -n libKF5WaylandServer5 +KWayland provides a Qt-style Client and Server library wrapper for the Wayland libraries. + +%package devel +Summary: KDE Wayland library: Build Environment +Group: Development/Libraries/KDE +Requires: libKF5WaylandClient5 = %{version} +%if %kwayland_server +Requires: libKF5WaylandServer5 = %{version} +%endif +Requires: pkgconfig(Qt5Gui) >= 5.2.0 +Requires: extra-cmake-modules + +%description devel +KWayland provides a Qt-style Client and Server library wrapper for the Wayland libraries. + +%prep +%setup -q + +%build + %cmake_kf5 -d build + %make_jobs + +%install + %kf5_makeinstall -C build + +%post -n libKF5WaylandClient5 -p /sbin/ldconfig + +%postun -n libKF5WaylandClient5 -p /sbin/ldconfig + +%if %kwayland_server +%post -n libKF5WaylandServer5 -p /sbin/ldconfig + +%postun -n libKF5WaylandServer5 -p /sbin/ldconfig +%endif + +%files -n libKF5WaylandClient5 +%defattr(-,root,root) +%doc COPYING* +%{_kf5_libdir}/libKF5WaylandClient.so.* + +%if %kwayland_server +%files -n libKF5WaylandServer5 +%defattr(-,root,root) +%doc COPYING* +%{_kf5_libdir}/libKF5WaylandServer.so.* +%endif + +%files devel +%defattr(-,root,root) +%{_kf5_libdir}/libKF5WaylandClient.so +%if %kwayland_server +%{_kf5_libdir}/libKF5WaylandServer.so +%endif +%{_kf5_libdir}/cmake/KF5Wayland/ +%{_kf5_includedir}/ + +%changelog +