Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
baloo5
baloo5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File baloo5.spec of Package baloo5
# # spec file for package baloo5 # # Copyright (c) 2018 SUSE LINUX 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/ # %bcond_without lang %define _tar_path 5.45 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: baloo5 Version: 5.45.0 Release: 0 %define kf5_version %{version} Summary: Framework for searching and managing metadata License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/baloo-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-OPENSUSE fix-cmakelists-comments.diff -- Change cmake 3.0 block comments to work in cmake 2.x Patch1: fix-cmakelists-comments.diff # PATCH-FIX-UPSTREAM Patch2: 0001-Avoid-infinite-loops-when-fetching-the-URL-from-Docu.patch BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: kf5-filesystem BuildRequires: libattr-devel BuildRequires: lmdb-devel BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Crash) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5FileMetaData) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5I18n) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5IdleTime) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5KIO) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Solid) >= %{_kf5_bugfix_version} BuildRequires: cmake(Qt5Concurrent) >= 5.6.0 BuildRequires: cmake(Qt5Core) >= 5.6.0 BuildRequires: cmake(Qt5DBus) >= 5.6.0 BuildRequires: cmake(Qt5Qml) >= 5.6.0 BuildRequires: cmake(Qt5Quick) >= 5.6.0 BuildRequires: cmake(Qt5Test) >= 5.6.0 BuildRequires: cmake(Qt5Widgets) >= 5.6.0 BuildRequires: cmake(Qt5Widgets) >= 5.6.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Baloo is a framework for searching and managing metada %package -n libKF5Baloo5 Summary: Core library for Baloo Framework # The -lang package was split into components Group: System/GUI/KDE Provides: %{name}-lang = %{version} Obsoletes: %{name}-lang < %{version} %description -n libKF5Baloo5 Baloo is a framework for searching and managing metadata This package contains Baloo's core library. %package -n libKF5BalooEngine5 Summary: Baloo Engine library Group: System/GUI/KDE %description -n libKF5BalooEngine5 Baloo is a framework for searching and managing metadata This package contains Baloo's Engine library. %package file Summary: Filesearch components for Baloo Framework Group: System/GUI/KDE Requires: libQt5Sql5-sqlite Provides: baloo-file = %{version} Obsoletes: baloo-file < %{version} %description file Baloo is a framework for searching and managing metadata. This package contains filesearch components. %package kioslaves Summary: KIO slave components for Baloo Framework Group: System/GUI/KDE Requires: kded %description kioslaves Baloo is a framework for searching and managing metadata. This package contains KIO slave components. %package tools Summary: Aditional components for Baloo Framework Group: System/GUI/KDE Provides: baloo-tools = %{version} Obsoletes: baloo-tools < %{version} %description tools Baloo is a framework for searching and managing metadata. This package contains aditional command line utilities. %package imports Summary: QML components for Baloo Framework Group: System/GUI/KDE %description imports Baloo is a framework for searching and managing metadata. This package contains QML imports. %package devel Summary: Development package for baloo5 Group: Development/Libraries/KDE Requires: libKF5Baloo5 = %{version} Requires: libKF5BalooEngine5 = %{version} Requires: lmdb-devel Requires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version} Requires: cmake(KF5FileMetaData) >= %{_kf5_bugfix_version} Requires: cmake(Qt5Core) >= 5.6.0 # DBus interface file Conflicts: baloo-devel %description devel Baloo is a framework for searching and managing metadata. This package contains aditional command line utilities. Development files. %lang_package -n libKF5BalooEngine5 %lang_package -n %{name}-file %lang_package -n %{name}-tools %lang_package -n %{name}-kioslaves %lang_package -n %{name}-imports %prep %setup -q -n baloo-%{version} %autopatch -p1 %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %kf5_find_lang # Split manually, kf5_find_lang doesn't support it... grep -E '^%%dir' %{name}.lang | tee %{name}-{file,tools,kioslaves}.lang >/dev/null grep -E '/balooengine5.mo$' %{name}.lang >> libKF5BalooEngine5.lang grep -E '/(balooctl5|baloo_file5|baloo_file_extractor5).mo$' %{name}.lang >> %{name}-file.lang grep -E '/(baloodb5|baloosearch5|balooshow5).mo$' %{name}.lang >> %{name}-tools.lang grep -E '/(kio5_baloosearch|kio5_tags|kio5_timeline).mo$' %{name}.lang >> %{name}-kioslaves.lang grep -E '/baloomonitorplugin.mo$' %{name}.lang >> %{name}-imports.lang rm %{name}.lang %endif %post -n libKF5Baloo5 -p /sbin/ldconfig %postun -n libKF5Baloo5 -p /sbin/ldconfig %post file -p /sbin/ldconfig %postun file -p /sbin/ldconfig %post -n libKF5BalooEngine5 -p /sbin/ldconfig %postun -n libKF5BalooEngine5 -p /sbin/ldconfig %files -n libKF5Baloo5 %defattr(-,root,root) %license COPYING* %{_kf5_libdir}/libKF5Baloo.so.* %files -n libKF5BalooEngine5 %defattr(-,root,root) %license COPYING* %{_kf5_libdir}/libKF5BalooEngine.so.* %files file %defattr(-,root,root) %license COPYING* %{_kf5_bindir}/baloo_file %{_kf5_bindir}/baloo_file_extractor %{_kf5_bindir}/balooctl %{_kf5_configdir}/autostart/baloo_file.desktop %{_kf5_iconsdir}/hicolor/*/apps/baloo.png %{_kf5_debugdir}/baloo.categories %files kioslaves %defattr(-,root,root) %license COPYING* %dir %{_kf5_plugindir}/kf5/kio %dir %{_kf5_plugindir}/kf5 %{_kf5_plugindir}/kf5/kio/baloosearch.so %{_kf5_servicesdir}/baloosearch.protocol %dir %{_kf5_plugindir}/kf5/kded %{_kf5_plugindir}/kf5/kded/baloosearchmodule.so %{_kf5_plugindir}/kf5/kio/tags.so %{_kf5_servicesdir}/tags.protocol %{_kf5_plugindir}/kf5/kio/timeline.so %{_kf5_servicesdir}/timeline.protocol %files tools %defattr(-,root,root) %license COPYING* %{_kf5_bindir}/baloosearch %{_kf5_bindir}/balooshow %files imports %defattr(-,root,root) %license COPYING* %{_kf5_qmldir}/ %files devel %defattr(-,root,root) %license COPYING* %dir %{_kf5_includedir} %{_kf5_includedir}/ %{_kf5_libdir}/cmake/KF5Baloo/ %{_kf5_libdir}/libKF5Baloo.so %{_kf5_libdir}/pkgconfig/Baloo.pc %{_kf5_sharedir}/dbus-1/interfaces/*.xml %if %{with lang} %files -n libKF5BalooEngine5-lang -f libKF5BalooEngine5.lang %license COPYING* %files file-lang -f %{name}-file.lang %license COPYING* %files tools-lang -f %{name}-tools.lang %license COPYING* %files kioslaves-lang -f %{name}-kioslaves.lang %license COPYING* %files imports-lang -f %{name}-imports.lang %license COPYING* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor