From 7551eab84d0d3a85a14dab273bdad9773f1c01bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Wed, 19 Aug 2015 16:49:20 +0200 Subject: [PATCH] KDE Frameworks 5.13.0 --- .gitignore | 1 + kf5-baloo.spec | 117 +++++++++++++++++++++++-------------------------- sources | 2 +- 3 files changed, 58 insertions(+), 62 deletions(-) diff --git a/.gitignore b/.gitignore index 86c7c48..458a805 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /baloo-5.9.0.tar.xz /baloo-5.9.1.tar.xz /baloo-5.9.2.tar.xz +/baloo-5.13.0.tar.xz diff --git a/kf5-baloo.spec b/kf5-baloo.spec index 33a99a6..f04a081 100644 --- a/kf5-baloo.spec +++ b/kf5-baloo.spec @@ -1,57 +1,57 @@ %define framework baloo -%define plasma_version 5.3.0 Name: kf5-%{framework} -Version: 5.9.2 +Version: 5.13.0 Release: 1%{?dist} Summary: A Tier 3 KDE Frameworks 5 module that provides indexing and search functionality License: LGPLv2+ -URL: https://projects.kde.org/projects/kde/workspace/baloo -# backup URL: https://community.kde.org/Baloo +URL: https://projects.kde.org/projects/kde/kdelibs/baloo +%global versiondir %(echo %{version} | cut -d. -f1-2) %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/%{plasma_version}/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz -Source1: 97-kde-baloo-filewatch-inotify.conf +Source1: 97-kde-baloo-filewatch-inotify.conf BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel -BuildRequires: kf5-rpm-macros -BuildRequires: extra-cmake-modules -BuildRequires: xapian-core-devel - -BuildRequires: kf5-ki18n-devel -BuildRequires: kf5-kconfig-devel -BuildRequires: kf5-kidletime-devel -BuildRequires: kf5-kcmutils-devel -BuildRequires: kf5-kauth-devel -BuildRequires: kf5-kcrash-devel -BuildRequires: kf5-solid-devel -BuildRequires: kf5-kio-devel -BuildRequires: kf5-kdelibs4support-devel -BuildRequires: kf5-kfilemetadata-devel - -Requires: kf5-filesystem +BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: extra-cmake-modules >= %{version} +BuildRequires: lmdb-devel + +BuildRequires: kf5-ki18n-devel >= %{version} +BuildRequires: kf5-kconfig-devel >= %{version} +BuildRequires: kf5-kidletime-devel >= %{version} +BuildRequires: kf5-kauth-devel >= %{version} +BuildRequires: kf5-kcrash-devel >= %{version} +BuildRequires: kf5-solid-devel >= %{version} +BuildRequires: kf5-kdbusaddons-devel >= %{version} +BuildRequires: kf5-kfilemetadata-devel >= %{version} +BuildRequires: kf5-kio-devel >= %{version} + +Requires: kf5-filesystem >= %{version} Obsoletes: kf5-baloo-tools < 5.5.95-1 Obsoletes: baloo < 5 Provides: baloo = %{version}-%{release} %description -%{summary}. +%{Summary}. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-file%{?_isa} = %{version}-%{release} -Requires: kf5-kfilemetadata-devel +Requires: kf5-kfilemetadata-devel >= %{version} Requires: xapian-core-devel +Requires: kf5-kcoreaddons-devel >= %{version} + %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -70,13 +70,12 @@ Summary: Runtime libraries for %{name} %description libs %{summary}. - %prep %setup -qn %{framework}-%{version} - %build -mkdir %{_target_platform} + +mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd @@ -89,23 +88,23 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} install -p -m644 -D %{SOURCE1} %{buildroot}%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf -%find_lang balooctl --with-qt -%find_lang kio_baloosearch --with-qt -%find_lang baloo_file --with-qt -%find_lang kio_tags --with-qt -%find_lang baloosearch --with-qt -%find_lang kio_timeline --with-qt -%find_lang baloo_file_extractor --with-qt -%find_lang balooshow --with-qt +#%find_lang balooctl --with-qt +#%find_lang kio_baloosearch --with-qt +#%find_lang baloo_file --with-qt +#%find_lang kio_tags --with-qt +#%find_lang baloosearch --with-qt +#%find_lang kio_timeline --with-qt +#%find_lang baloo_file_extractor --with-qt +#%find_lang balooshow --with-qt -cat kio_tags.lang kio_baloosearch.lang kio_timeline.lang \ - > %{name}-libs.lang +#cat kio_tags.lang kio_baloosearch.lang kio_timeline.lang \ +# > %{name}-libs.lang -cat baloo_file.lang baloo_file_extractor.lang \ - > %{name}-file.lang +#cat baloo_file.lang baloo_file_extractor.lang \ +# > %{name}-file.lang -cat baloosearch.lang balooshow.lang balooctl.lang \ - > %{name}.lang +#cat baloosearch.lang balooshow.lang \ +# > %{name}.lang %post @@ -120,10 +119,11 @@ touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || : fi -%files -f %{name}.lang +%files %{_kf5_bindir}/baloosearch %{_kf5_bindir}/balooshow %{_kf5_bindir}/balooctl +%{_kf5_bindir}/baloo-monitor %{_kf5_plugindir}/kio/baloosearch.so %{_kf5_plugindir}/kio/tags.so %{_kf5_plugindir}/kio/timeline.so @@ -135,48 +135,43 @@ fi %{_kf5_datadir}/kservices5/kded/baloosearchfolderupdater.desktop %{_kf5_datadir}/icons/hicolor/*/apps/baloo.png -%files file -f %{name}-file.lang +%files file %{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf %{_kf5_bindir}/baloo_file %{_kf5_bindir}/baloo_file_extractor -%{_kf5_bindir}/baloo_file_cleaner +%{_kf5_libexecdir}/kauth/kde_baloo_filewatch_raiselimit %{_kf5_sysconfdir}/xdg/autostart/baloo_file.desktop %{_kf5_sysconfdir}/dbus-1/system.d/org.kde.baloo.filewatch.conf -%{_kf5_libexecdir}/kauth/kde_baloo_filewatch_raiselimit +%{_kf5_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy %{_kf5_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service %{_kf5_datadir}/dbus-1/interfaces/org.kde.baloo.file.indexer.xml -%{_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig -%files libs -f %{name}-libs.lang +%files libs %{_kf5_libdir}/libKF5Baloo.so.* -%{_kf5_libdir}/libKF5BalooXapian.so.* +%{_kf5_libdir}/libKF5BalooEngine.so.* %files devel %{_kf5_libdir}/libKF5Baloo.so -%{_kf5_libdir}/libKF5BalooXapian.so +%{_kf5_libdir}/libKF5BalooEngine.so %{_kf5_libdir}/cmake/KF5Baloo +%{_kf5_libdir}/pkgconfig/Baloo.pc %{_kf5_includedir}/Baloo %{_kf5_includedir}/baloo_version.h -%changelog -* Thu Jun 25 2015 Daniel Vrátil - 5.9.2-1 -- Plasma 5.3.2 -* Wed Jun 17 2015 Fedora Release Engineering - 5.9.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Tue May 26 2015 Daniel Vrátil - 5.9.1-1 -- Plasma 5.3.1 +%changelog +* Wed Aug 19 2015 Daniel Vrátil - 5.13.0-1 +- KDE Frameworks 5.13.0 -* Sat May 23 2015 Rex Dieter 5.9.0-2 -- fix %%description/URL (#1224510), .spec cosmetics +* Wed Aug 19 2015 Daniel Vrátil - 5.13.0-1 +- KDE Frameworks 5.13.0 -* Mon Apr 27 2015 Daniel Vrátil - 5.9.0-1 -- Plasma 5.3.0 +* Tue Aug 11 2015 Daniel Vrátil - 5.13.0-0.1 +- KDE Frameworks 5.13 (Baloo moved from Plasma 5 to KF5) * Wed Apr 22 2015 Daniel Vrátil - 5.6.95-1 - Plasma 5.2.95 diff --git a/sources b/sources index 70ca4fd..ab62d9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2fb26fe7937565d3c8d54a11ee8b21a5 baloo-5.9.2.tar.xz +67bceaf70f9da493161c0eb94a214099 baloo-5.13.0.tar.xz