Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64
mingw64-baloo5
mingw64-baloo5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-baloo5.spec of Package mingw64-baloo5
# # spec file for package mingw64-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) %{!?_mingw64_kf5_version: %global _mingw64_kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_mingw64_kf5_bugfix_version: %define _mingw64_kf5_bugfix_version %(echo %{_mingw64_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang %bcond_with inotify %bcond_with kioslaves %define _name baloo5 Name: mingw64-%{_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: mingw64-extra-cmake-modules >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64-kf5-filesystem #BuildRequires: mingw64-libattr-devel BuildRequires: mingw64-lmdb-devel BuildRequires: mingw64(cmake:KF5Config) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5CoreAddons) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5Crash) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5DBusAddons) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5FileMetaData) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5I18n) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5IdleTime) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5KIO) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5Solid) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:Qt5Concurrent) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Core) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5DBus) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Qml) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Quick) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Test) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Widgets) >= 5.11.0 %_mingw64_package_header_debug BuildArch: noarch %description Baloo is a framework for searching and managing metadata. %package -n mingw64-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 mingw64-libKF5Baloo5 Baloo is a framework for searching and managing metadata. This package contains Baloo's core library. %package -n mingw64-libKF5BalooEngine5 Summary: Baloo Engine library Group: System/GUI/KDE Recommends: mingw64-libKF5BalooEngine5-lang %description -n mingw64-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: mingw64-libQt5Sql5-sqlite Recommends: %{name}-file-lang Provides: mingw64-baloo-file = %{version} Obsoletes: mingw64-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: mingw64-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: mingw64-baloo-tools = %{version} Obsoletes: mingw64-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: mingw64-libKF5Baloo5 = %{version} Requires: mingw64-libKF5BalooEngine5 = %{version} Requires: mingw64-lmdb-devel Requires: mingw64(cmake:KF5CoreAddons) >= %{_mingw64_kf5_bugfix_version} Requires: mingw64(cmake:KF5FileMetaData) >= %{_mingw64_kf5_bugfix_version} Requires: mingw64(cmake:Qt5Core) >= 5.11.0 # DBus interface file Conflicts: mingw64-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 mingw64-libKF5BalooEngine5 %lang_package -n %{name}-file %lang_package -n %{name}-tools %lang_package -n %{name}-kioslaves %lang_package -n %{name}-imports %_mingw64_debug_package %prep %setup -q -n baloo-%{version} %build %_mingw64_cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_mingw64_kf5_localedir} %_mingw64_cmake_build %install %_mingw64_kf5_makeinstall -C build %if %{with lang} %_mingw64_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}%{_mingw64_kf5_iconsdir}/hicolor rm %{buildroot}%{_mingw64_kf5_debugdir}/baloo.categories %endif %files -n mingw64-libKF5Baloo5 %license LICENSES/* %{_mingw64_kf5_bindir}/libKF5Baloo.dll %{_mingw64_kf5_debugdir}/*.renamecategories %files -n mingw64-libKF5BalooEngine5 %license LICENSES/* %{_mingw64_kf5_bindir}/libKF5BalooEngine.dll %if %{with inotify} %files file %license LICENSES/* %{_mingw64_kf5_bindir}/baloo_file.exe %{_mingw64_kf5_bindir}/baloo_file_extractor.exe %{_mingw64_kf5_bindir}/balooctl.exe %{_mingw64_kf5_configdir}/autostart/baloo_file.desktop %{_mingw64_kf5_iconsdir}/hicolor/*/apps/baloo.png %endif %if %{with kioslaves} %files kioslaves %license LICENSES/* %dir %{_mingw64_kf5_plugindir}/kf5/kio %dir %{_mingw64_kf5_plugindir}/kf5 %{_mingw64_kf5_plugindir}/kf5/kio/baloosearch.dll %{_mingw64_kf5_servicesdir}/baloosearch.protocol %dir %{_mingw64_kf5_plugindir}/kf5/kded %{_mingw64_kf5_plugindir}/kf5/kded/baloosearchmodule.dll %{_mingw64_kf5_plugindir}/kf5/kio/tags.dll %{_mingw64_kf5_servicesdir}/tags.protocol %{_mingw64_kf5_plugindir}/kf5/kio/timeline.dll %{_mingw64_kf5_servicesdir}/timeline.protocol %endif %if %{with inotify} %files tools %license LICENSES/* %{_mingw64_kf5_bindir}/baloosearch.exe %{_mingw64_kf5_bindir}/balooshow.exe %endif %files imports %license LICENSES/* %{_mingw64_kf5_qmldir}/ %exclude %{_mingw64_kf5_qmldir}/org/kde/*/*.debug %exclude %{_mingw64_kf5_qmldir}/org/kde/*/*/*.debug %files devel %license LICENSES/* %dir %{_mingw64_kf5_includedir} %{_mingw64_kf5_includedir}/ %{_mingw64_kf5_libdir}/cmake/KF5Baloo/ %{_mingw64_kf5_libdir}/libKF5Baloo*.dll.a %{_mingw64_kf5_sharedir}/dbus-1/interfaces/*.xml %{_mingw64_kf5_mkspecsdir}/qt_Baloo.pri %if %{with lang} %files -n mingw64-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