2014-06-05 17:38:15 +00:00
#
# spec file for package milou5
#
2016-01-06 14:27:15 +00:00
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
2014-06-05 17:38:15 +00:00
#
# 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/
#
2015-04-11 09:08:25 +00:00
%bcond_without lang
2014-06-05 17:38:15 +00:00
Name : milou5
2016-08-26 23:18:47 +00:00
Version : 5.7.4
2014-06-05 17:38:15 +00:00
Release : 0
2014-07-03 18:21:06 +00:00
Summary : Dedicated search application built on top of Baloo
License : GPL-2.0+ and LGPL-2.1+
2014-06-05 17:38:15 +00:00
Group : System/GUI/KDE
2014-07-03 18:21:06 +00:00
Url : https://projects.kde.org/milou
2014-11-06 21:19:44 +00:00
Source : milou-%{version} .tar.xz
2016-08-26 11:28:05 +00:00
# PATCH-FIX-UPSTREAM use-iconName.patch boo#994983 -- use iconName for the results if it is set, that's preferred since having each runner set an icon for the results can lead to threading issues
Patch : use-iconName.patch
2015-01-08 19:02:15 +00:00
BuildRequires : extra-cmake-modules >= 1.2.0
2014-09-26 11:47:22 +00:00
BuildRequires : fdupes
2014-06-05 17:38:15 +00:00
BuildRequires : kf5-filesystem
2016-08-12 23:37:24 +00:00
BuildRequires : cmake(KF5CoreAddons) >= 5.25.0
BuildRequires : cmake(KF5Declarative) >= 5.25.0
BuildRequires : cmake(KF5I18n) >= 5.25.0
BuildRequires : cmake(KF5Plasma) >= 5.25.0
BuildRequires : cmake(KF5Runner) >= 5.25.0
BuildRequires : cmake(KF5Service) >= 5.25.0
2015-12-01 14:00:54 +00:00
BuildRequires : cmake(Qt5Qml) >= 5.4.0
BuildRequires : cmake(Qt5Quick) >= 5.4.0
BuildRequires : cmake(Qt5Script) >= 5.4.0
BuildRequires : cmake(Qt5Test) >= 5.4.0
BuildRequires : cmake(Qt5Widgets) >= 5.4.0
2015-04-11 18:58:20 +00:00
%if %{with lang}
2014-10-25 17:42:28 +00:00
Recommends: %{name} -lang
2015-04-11 18:58:20 +00:00
%endif
2014-06-05 17:38:15 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
2014-07-03 18:21:06 +00:00
A dedicated search application built on top of Baloo
2014-06-05 17:38:15 +00:00
2014-09-26 11:38:23 +00:00
%lang_package
2014-06-05 17:38:15 +00:00
%prep
%setup -q -n milou-%{version}
2016-08-26 11:28:05 +00:00
%patch -p1
2014-06-05 17:38:15 +00:00
%build
2016-07-06 16:38:12 +00:00
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
2014-06-05 17:38:15 +00:00
%make_jobs
%install
%kf5_makeinstall -C build
2016-07-06 16:38:12 +00:00
%if %{with lang}
%kf5_find_lang
%endif
2014-06-05 17:38:15 +00:00
2014-09-26 11:47:22 +00:00
%fdupes -s %{buildroot} %{_kf5_localedir}/
2014-06-05 17:38:15 +00:00
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr (-,root,root)
2014-09-26 11:42:51 +00:00
%doc COPYING*
2014-06-05 17:38:15 +00:00
%{_kf5_libdir}/libmilou.so.*
2014-09-26 11:42:51 +00:00
%{_kf5_qmldir}/
%{_kf5_plasmadir}/
%{_kf5_servicesdir}/
%{_kf5_servicetypesdir}/
%{_kf5_plugindir}/
2016-08-12 23:37:24 +00:00
%{_kf5_appstreamdir}/
2014-06-05 17:38:15 +00:00
2015-04-11 18:58:20 +00:00
%if %{with lang}
2016-07-06 16:38:12 +00:00
%files lang -f %{name}.lang
2015-04-11 18:58:20 +00:00
%endif
2014-09-26 11:38:23 +00:00
2014-06-05 17:38:15 +00:00
%changelog