Rex Dieter 5ca3475
%global  framework kwayland
Dan Vrátil d264872
Rex Dieter 5ca3475
%global  wayland_min_version 1.3
Dan Vrátil d264872
Rex Dieter 5ca3475
Name:    kf5-%{framework}
3dfe3d4
Version: 5.5.5
3dfe3d4
Release: 1%{?dist}
Rex Dieter 5ca3475
Summary: KDE Frameworks 5 library that wraps Client and Server Wayland libraries
Dan Vrátil d264872
Rex Dieter 5ca3475
License: GPLv2+
Rex Dieter d543bd5
URL:     https://projects.kde.org/kwayland
Dan Vrátil d264872
Dan Vrátil d264872
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil d264872
%if %{revision} >= 50
Dan Vrátil d264872
%global stable unstable
Dan Vrátil d264872
%else
Dan Vrátil d264872
%global stable stable
Dan Vrátil d264872
%endif
Dan Vrátil d264872
Source0:        http://download.kde.org/%{stable}/plasma/%{version}/kwayland-%{version}.tar.xz
Dan Vrátil d264872
Dan Vrátil d264872
BuildRequires:  kf5-rpm-macros
Dan Vrátil d264872
BuildRequires:  extra-cmake-modules
Rex Dieter 5ca3475
BuildRequires:  kf5-rpm-macros
Dan Vrátil d264872
BuildRequires:  libwayland-client-devel >= %{wayland_min_version}
Dan Vrátil d264872
BuildRequires:  libwayland-cursor-devel >= %{wayland_min_version}
Dan Vrátil d264872
BuildRequires:  libwayland-server-devel >= %{wayland_min_version}
Dan Vrátil d264872
BuildRequires:  mesa-libwayland-egl-devel
Rex Dieter 5ca3475
BuildRequires:  qt5-qtbase-devel
Dan Vrátil d264872
BuildRequires:  wayland-devel >= %{wayland_min_version}
Dan Vrátil d264872
Dan Vrátil d264872
Requires:       kf5-filesystem
Dan Vrátil d264872
Dan Vrátil d264872
%description
Dan Vrátil d264872
%{summary}.
Dan Vrátil d264872
Dan Vrátil d264872
%package        devel
Dan Vrátil d264872
Summary:        Development files for %{name}
Dan Vrátil d264872
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil d264872
%description    devel
Dan Vrátil d264872
The %{name}-devel package contains libraries and header files for
Dan Vrátil d264872
developing applications that use %{name}.
Dan Vrátil d264872
Dan Vrátil d264872
Dan Vrátil d264872
%prep
Dan Vrátil d264872
%setup -q -n %{framework}-%{version}
Dan Vrátil d264872
Dan Vrátil d264872
Rex Dieter 5ca3475
%build
Rex Dieter 5ca3475
mkdir %{_target_platform}
Dan Vrátil d264872
pushd %{_target_platform}
Dan Vrátil d264872
%{cmake_kf5} ..
Dan Vrátil d264872
popd
Dan Vrátil d264872
Dan Vrátil d264872
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil d264872
Rex Dieter 5ca3475
Dan Vrátil d264872
%install
Dan Vrátil d264872
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil d264872
Dan Vrátil d264872
Rex Dieter 5ca3475
%post -p /sbin/ldconfig
Dan Vrátil d264872
%postun -p /sbin/ldconfig
Dan Vrátil d264872
Dan Vrátil d264872
%files
Rex Dieter d543bd5
%license COPYING.LIB
Dan Vrátil 31d318f
%{_sysconfdir}/xdg/org_kde_kwayland.categories
Dan Vrátil d264872
%{_kf5_libdir}/libKF5WaylandClient.so.*
Dan Vrátil d264872
%{_kf5_libdir}/libKF5WaylandServer.so.*
Dan Vrátil d264872
Dan Vrátil d264872
%files devel
Rex Dieter 5ca3475
%{_kf5_includedir}/KWayland/
Dan Vrátil d264872
%{_kf5_includedir}/kwayland_version.h
Rex Dieter 5ca3475
%{_kf5_libdir}/cmake/KF5Wayland/
Dan Vrátil d264872
%{_kf5_libdir}/libKF5WaylandClient.so
Dan Vrátil d264872
%{_kf5_libdir}/libKF5WaylandServer.so
Dan Vrátil 31d318f
%{_kf5_archdatadir}/mkspecs/modules/qt_KWaylandClient.pri
Dan Vrátil 31d318f
%{_kf5_archdatadir}/mkspecs/modules/qt_KWaylandServer.pri
Dan Vrátil d264872
Dan Vrátil d264872
Dan Vrátil d264872
%changelog
3dfe3d4
* Tue Mar 01 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.5-1
3dfe3d4
- Plasma 5.5.5
3dfe3d4
Rex Dieter d543bd5
* Thu Feb 18 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.4-3
Rex Dieter d543bd5
- cleanup, update URL, use %%license
Rex Dieter d543bd5
dc5c9de
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.4-2
dc5c9de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
dc5c9de
08bd0f6
* Wed Jan 27 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.4-1
08bd0f6
- Plasma 5.5.4
08bd0f6
4b53999
* Thu Jan 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.3-1
4b53999
- Plasma 5.5.3
4b53999
Rex Dieter ac20042
* Thu Dec 31 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.5.2-1
Rex Dieter ac20042
- 5.5.2
Rex Dieter ac20042
Dan Vrátil 14054fc
* Fri Dec 18 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.1-1
Dan Vrátil 14054fc
- Plasma 5.5.1
Dan Vrátil 14054fc
Dan Vrátil 35ae013
* Thu Dec 03 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.0-1
Dan Vrátil 35ae013
- Plasma 5.5.0
Dan Vrátil 35ae013
Dan Vrátil 864012d
* Wed Nov 25 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.95-1
Dan Vrátil 864012d
- Plasma 5.4.95
Dan Vrátil 864012d
18ea62e
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
18ea62e
- Plasma 5.4.3
18ea62e
Rex Dieter ee0008f
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-1
Rex Dieter ee0008f
- 5.4.2
Rex Dieter ee0008f
Rex Dieter 5ca3475
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
Rex Dieter 5ca3475
- .spec cosmetics, update URL
Rex Dieter 5ca3475
Rex Dieter 8e0275d
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
Rex Dieter 8e0275d
- 5.4.1
Rex Dieter 8e0275d
Dan Vrátil 31d318f
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 31d318f
- Plasma 5.4.0
Dan Vrátil 31d318f
Dan Vrátil 31d318f
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
Dan Vrátil 31d318f
- Plasma 5.3.95
Dan Vrátil 31d318f
Dan Vrátil 1ea1120
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
Dan Vrátil 1ea1120
- Plasma 5.3.2
Dan Vrátil 1ea1120
775d47c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
775d47c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
775d47c
Dan Vrátil db7089b
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
Dan Vrátil db7089b
- Plasma 5.3.1
Dan Vrátil db7089b
Dan Vrátil 39920fc
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 39920fc
- Plasma 5.3.0
Dan Vrátil 39920fc
Dan Vrátil 85883a1
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
Dan Vrátil 85883a1
- Plasma 5.2.95
Dan Vrátil 85883a1
Dan Vrátil dc6f0a6
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
Dan Vrátil dc6f0a6
- Plasma 5.2.2
Dan Vrátil dc6f0a6
Dan Vrátil 5514e4f
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
Dan Vrátil 5514e4f
- Rebuild (GCC 5)
Dan Vrátil 5514e4f
Dan Vrátil a2707ee
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
Dan Vrátil a2707ee
- Plasma 5.2.1
Dan Vrátil a2707ee
Dan Vrátil a2a9026
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil a2a9026
- Plasma 5.2.0
Dan Vrátil a2a9026
Dan Vrátil d264872
* Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta
Dan Vrátil d264872
- Plasma 5.1.95 Beta
Dan Vrátil d264872
Dan Vrátil d264872
* Wed Dec 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2
Dan Vrátil d264872
- Plasma 5.1.2
Dan Vrátil d264872
Dan Vrátil d264872
* Fri Nov 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1
Dan Vrátil d264872
- Plasma 5.1.1
Dan Vrátil d264872
Dan Vrátil d264872
* Tue Oct 14 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0.1-1
Dan Vrátil d264872
- Plasma 5.1.0.1
Dan Vrátil d264872
Dan Vrátil d264872
* Thu Oct 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil d264872
- Plasma 5.1.0