Dan Vrátil 8c92d00
%global framework krunner
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
Name:           kf5-%{framework}
Dan Vrátil ce31d0a
Version:        5.7.0
Dan Vrátil eac5976
Release:        1%{?dist}
Dan Vrátil 1b234ee
Summary:        KDE Frameworks 5 Tier 3 solution with parallelized query system
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
License:        LGPLv2+ and BSD
Dan Vrátil 1b234ee
URL:            http://www.kde.org
Dan Vrátil 1b234ee
Dan Vrátil 5fbe521
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 12df2fb
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 12df2fb
%if %{revision} >= 50
Dan Vrátil 12df2fb
%global stable unstable
Dan Vrátil 12df2fb
%else
Dan Vrátil 12df2fb
%global stable stable
Dan Vrátil 12df2fb
%endif
Dan Vrátil 5fbe521
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
BuildRequires:  kf5-rpm-macros
Dan Vrátil 1b234ee
BuildRequires:  extra-cmake-modules
Dan Vrátil 1b234ee
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 1b234ee
BuildRequires:  qt5-qtdeclarative-devel
Dan Vrátil ce31d0a
BuildRequires:  kf5-kio-devel
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
BuildRequires:  kf5-kconfig-devel
Dan Vrátil 1b234ee
BuildRequires:  kf5-kcoreaddons-devel
Dan Vrátil 1b234ee
BuildRequires:  kf5-ki18n-devel
Dan Vrátil 1b234ee
BuildRequires:  kf5-kservice-devel
Dan Vrátil 1b234ee
BuildRequires:  kf5-plasma-devel
Dan Vrátil 1b234ee
BuildRequires:  kf5-solid-devel
Dan Vrátil 1b234ee
BuildRequires:  kf5-threadweaver-devel
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
Requires:       kf5-filesystem
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
%description
Dan Vrátil 1b234ee
KRunner provides a parallelized query system extendable via plugins.
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
%package        devel
Dan Vrátil 1b234ee
Summary:        Development files for %{name}
Dan Vrátil 1b234ee
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil 1b234ee
Requires:       kf5-plasma-devel
Dan Vrátil ce31d0a
Requires:       qt5-qtbase-devel
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
%description    devel
Dan Vrátil 1b234ee
The %{name}-devel package contains libraries and header files for
Dan Vrátil 1b234ee
developing applications that use %{name}.
Dan Vrátil 1b234ee
Dan Vrátil 12df2fb
Dan Vrátil 1b234ee
%prep
Dan Vrátil 1b234ee
%setup -q -n %{framework}-%{version}
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
%build
Dan Vrátil 1b234ee
mkdir -p %{_target_platform}
Dan Vrátil 1b234ee
pushd %{_target_platform}
Dan Vrátil 1b234ee
%{cmake_kf5} ..
Dan Vrátil 1b234ee
popd
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
%install
Dan Vrátil 15794c7
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
Dan Vrátil 12df2fb
%post -p /sbin/ldconfig
Dan Vrátil 1b234ee
%postun -p /sbin/ldconfig
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
%files
Dan Vrátil 1b234ee
%{_kf5_libdir}/libKF5Runner.so.*
Dan Vrátil 1b234ee
%{_kf5_qmldir}/org/kde/runnermodel
Dan Vrátil 1b234ee
%{_kf5_datadir}/kservicetypes5/plasma-runner.desktop
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
%files devel
Dan Vrátil 1b234ee
%doc
Dan Vrátil 1b234ee
%{_kf5_includedir}/krunner_version.h
Dan Vrátil 1b234ee
%{_kf5_includedir}/KRunner
Dan Vrátil 1b234ee
%{_kf5_libdir}/libKF5Runner.so
Dan Vrátil 1b234ee
%{_kf5_libdir}/cmake/KF5Runner
Dan Vrátil 1b234ee
%{_kf5_archdatadir}/mkspecs/modules/qt_KRunner.pri
Dan Vrátil 1b234ee
Dan Vrátil 12df2fb
Dan Vrátil 1b234ee
%changelog
Dan Vrátil ce31d0a
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil ce31d0a
- KDE Frameworks 5.7.0
Dan Vrátil ce31d0a
Dan Vrátil ce31d0a
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil ce31d0a
- KDE Frameworks 5.7.0
Dan Vrátil ce31d0a
Dan Vrátil 0dc18d8
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil 0dc18d8
- KDE Frameworks 5.6.0
Dan Vrátil 0dc18d8
Dan Vrátil 5fbe521
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 5fbe521
- KDE Frameworks 5.5.0
Dan Vrátil 5fbe521
Dan Vrátil e0f1f33
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil e0f1f33
- KDE Frameworks 5.4.0
Dan Vrátil e0f1f33
Dan Vrátil 4a46b2a
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 4a46b2a
- KDE Frameworks 5.3.0
Dan Vrátil 4a46b2a
Dan Vrátil eac5976
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil eac5976
- KDE Frameworks 5.2.0
Dan Vrátil eac5976
8148a3f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
8148a3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8148a3f
Dan Vrátil 19831fe
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 19831fe
- KDE Frameworks 5.1.0
Dan Vrátil 19831fe
Dan Vrátil 9e9a30f
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 9e9a30f
- KDE Frameworks 5.0.0
Dan Vrátil 9e9a30f
Dan Vrátil 1b234ee
* Mon Jul 07 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-2
Dan Vrátil 1b234ee
- Fix license
Dan Vrátil 1b234ee
- Fix Source0 URL
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 1b234ee
- KDE Frameworks 4.100.0
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
Dan Vrátil 1b234ee
- KDE Frameworks 4.99.0
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 1b234ee
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 1b234ee
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 1b234ee
Dan Vrátil 1b234ee
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140213git
Dan Vrátil 1b234ee
- initial version