File maui-index.spec of Package maui-index
# spec file for index-fm
#
# Copyright (c) 2022 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.
Name: maui-index
Version: 2.2.1
Release: 0
License: LGPL-3.0 AND CC0-1.0 AND BSD-2-Clause
Summary: Multi-platform file manager based in MauiKit
URL: https://mauikit.org
Source: https://invent.kde.org/maui/index-fm/-/archive/v%{version}/index-fm-v%{version}.tar.gz
Group: Productivity/File utilities
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: AppStream
BuildRequires: cmake(Qt5QuickCompiler)
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(KF5Kirigami2)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5KIO)
BuildRequires: pkgconfig(poppler-qt5)
BuildRequires: cmake(MauiKit) = %{version}
BuildRequires: cmake(MauiKitFileBrowsing) = %{version}
BuildRequires: cmake(MauiKitTextEditor) = %{version}
Requires: qt5qmlimport(QMLTermWidget.1)
Requires: qt5qmlimport(QtGraphicalEffects.1)
Requires: qt5qmlimport(QtQuick.Shapes.1)
Requires: qt5qmlimport(QtQuick.Controls.2)
Requires: qt5qmlimport(Qt.labs.platform.1)
Requires: qt5qmlimport(QtQuick.Layouts.1)
Requires: qt5qmlimport(Qt.labs.settings.1)
Requires: maui-index-lang = %{version}
Requires: mauikit-devel = %{version}
Requires: mauikit-filebrowsing-devel = %{version}
Requires: mauikit-texteditor-devel = %{version}
%description
Multi-platform file manager based in MauiKit.
MauiKit is a set of templated controls and tools based on QQC2 and Kirigami shared among the Maui set of applications.
The Index file manager lets you browse your system files and applications, preview your music, text, image, and video files, and share them with external applications.
Index file manager lets you navigate and browse the contents of your hard drives, USB sticks, SD cards, and more. Creating, moving, or deleting files and folders is simple and fast and supports all the basic functions of a file manager and more. It can search and manage your files and folders, both locally and on a network.
%lang_package
%prep
%autosetup -p1 -n index-fm-v2.2.1
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%find_lang %{name} --with-man --all-name
%kf5_post_install
%fdupes %{buildroot}%{_prefix}
%files
%license LICENSES/*
%doc README.md
%{_bindir}/index
%{_datadir}/applications/org.kde.index.desktop
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/metainfo/org.kde.index.appdata.xml
%{_datadir}/knotifications5/org.kde.index.notifyrc
%files lang -f %{name}.lang
%{_datadir}/locale/*
%changelog