Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-baloo5
mingw32-baloo5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-baloo5.spec of Package mingw32-baloo5
# # spec file for package mingw32-baloo5 # # Copyright (c) 2019 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define _tar_path 5.103 # Full KF5 version (e.g. 5.33.0) %{!?_mingw32_kf5_version: %global _mingw32_kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_mingw32_kf5_bugfix_version: %define _mingw32_kf5_bugfix_version %(echo %{_mingw32_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang %bcond_with inotify %bcond_with kioslaves %define _name baloo5 Name: mingw32-%{_name} Version: 5.103.0 Release: 0 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: https://www.kde.org Source: https://download.kde.org/stable/frameworks/%{_tar_path}/baloo-%{version}.tar.xz %if %{with lang} Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/baloo-%{version}.tar.xz.sig Source2: frameworks.keyring %endif BuildRequires: mingw32-extra-cmake-modules >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32-kf5-filesystem #BuildRequires: mingw32-libattr-devel BuildRequires: mingw32-lmdb-devel BuildRequires: mingw32(cmake:KF5Config) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5CoreAddons) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Crash) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5DBusAddons) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5FileMetaData) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5I18n) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5IdleTime) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5KIO) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Solid) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:Qt5Concurrent) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Core) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5DBus) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Qml) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Quick) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Test) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Widgets) >= 5.11.0 %_mingw32_package_header_debug BuildArch: noarch %description Baloo is a framework for searching and managing metadata. %package -n mingw32-libKF5Baloo5 Summary: Core library for Baloo Framework Group: System/GUI/KDE # The -lang package was split into components Provides: %{name}-lang = %{version} Obsoletes: %{name}-lang < %{version} %description -n mingw32-libKF5Baloo5 Baloo is a framework for searching and managing metadata. This package contains Baloo's core library. %package -n mingw32-libKF5BalooEngine5 Summary: Baloo Engine library Group: System/GUI/KDE Recommends: mingw32-libKF5BalooEngine5-lang %description -n mingw32-libKF5BalooEngine5 Baloo is a framework for searching and managing metadata. This package contains Baloo's Engine library. %if %{with inotify} %package file Summary: Filesearch components for Baloo Framework Group: System/GUI/KDE Requires: mingw32-libQt5Sql5-sqlite Recommends: %{name}-file-lang Provides: mingw32-baloo-file = %{version} Obsoletes: mingw32-baloo-file < %{version} %description file Baloo is a framework for searching and managing metadata. This package contains filesearch components. %endif %if %{with kioslaves} %package kioslaves Summary: KIO slave components for Baloo Framework Group: System/GUI/KDE Requires: mingw32-kded Recommends: %{name}-kioslaves-lang %description kioslaves Baloo is a framework for searching and managing metadata. This package contains KIO slave components. %endif %if %{with inotify} %package tools Summary: Aditional components for Baloo Framework Group: System/GUI/KDE Recommends: %{name}-tools-lang Provides: mingw32-baloo-tools = %{version} Obsoletes: mingw32-baloo-tools < %{version} %description tools Baloo is a framework for searching and managing metadata. This package contains aditional command line utilities. %endif %package imports Summary: QML components for Baloo Framework Group: System/GUI/KDE Recommends: %{name}-imports-lang %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: mingw32-libKF5Baloo5 = %{version} Requires: mingw32-libKF5BalooEngine5 = %{version} Requires: mingw32-lmdb-devel Requires: mingw32(cmake:KF5CoreAddons) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5FileMetaData) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:Qt5Core) >= 5.11.0 # DBus interface file Conflicts: mingw32-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 mingw32-libKF5BalooEngine5 %lang_package -n %{name}-file %lang_package -n %{name}-tools %lang_package -n %{name}-kioslaves %lang_package -n %{name}-imports %_mingw32_debug_package %prep %setup -q -n baloo-%{version} %build %_mingw32_cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_mingw32_kf5_localedir} %_mingw32_cmake_build %install %_mingw32_kf5_makeinstall -C build %if %{with lang} %_mingw32_kf5_find_lang %{_name} # 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 %if !%{with inotify} rm -rf %{buildroot}%{_mingw32_kf5_iconsdir}/hicolor rm %{buildroot}%{_mingw32_kf5_debugdir}/baloo.categories %endif %files -n mingw32-libKF5Baloo5 %license LICENSES/* %{_mingw32_kf5_bindir}/libKF5Baloo.dll %{_mingw32_kf5_debugdir}/*.renamecategories %files -n mingw32-libKF5BalooEngine5 %license LICENSES/* %{_mingw32_kf5_bindir}/libKF5BalooEngine.dll %if %{with inotify} %files file %license LICENSES/* %{_mingw32_kf5_bindir}/baloo_file.exe %{_mingw32_kf5_bindir}/baloo_file_extractor.exe %{_mingw32_kf5_bindir}/balooctl.exe %{_mingw32_kf5_configdir}/autostart/baloo_file.desktop %{_mingw32_kf5_iconsdir}/hicolor/*/apps/baloo.png %endif %if %{with kioslaves} %files kioslaves %license LICENSES/* %dir %{_mingw32_kf5_plugindir}/kf5/kio %dir %{_mingw32_kf5_plugindir}/kf5 %{_mingw32_kf5_plugindir}/kf5/kio/baloosearch.dll %{_mingw32_kf5_servicesdir}/baloosearch.protocol %dir %{_mingw32_kf5_plugindir}/kf5/kded %{_mingw32_kf5_plugindir}/kf5/kded/baloosearchmodule.dll %{_mingw32_kf5_plugindir}/kf5/kio/tags.dll %{_mingw32_kf5_servicesdir}/tags.protocol %{_mingw32_kf5_plugindir}/kf5/kio/timeline.dll %{_mingw32_kf5_servicesdir}/timeline.protocol %endif %if %{with inotify} %files tools %license LICENSES/* %{_mingw32_kf5_bindir}/baloosearch.exe %{_mingw32_kf5_bindir}/balooshow.exe %endif %files imports %license LICENSES/* %{_mingw32_kf5_qmldir}/ %exclude %{_mingw32_kf5_qmldir}/org/kde/*/*.debug %exclude %{_mingw32_kf5_qmldir}/org/kde/*/*/*.debug %files devel %license LICENSES/* %dir %{_mingw32_kf5_includedir} %{_mingw32_kf5_includedir}/ %{_mingw32_kf5_libdir}/cmake/KF5Baloo/ %{_mingw32_kf5_libdir}/libKF5Baloo*.dll.a %{_mingw32_kf5_sharedir}/dbus-1/interfaces/*.xml %{_mingw32_kf5_mkspecsdir}/qt_Baloo.pri %if %{with lang} %files -n mingw32-libKF5BalooEngine5-lang -f libKF5BalooEngine5.lang %license LICENSES/* %files file-lang -f %{_name}-file.lang %license LICENSES/* %files tools-lang -f %{_name}-tools.lang %license LICENSES/* %files kioslaves-lang -f %{_name}-kioslaves.lang %license LICENSES/* %files imports-lang -f %{_name}-imports.lang %license LICENSES/* %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