File fsearch.spec of Package fsearch
#
# spec file for package fsearch
#
# Copyright (c) 2023 Christian Boxdörfer cboxdoerfer@posteo.de
#
# 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/
%define id_name io.github.cboxdoerfer.FSearch
Name: fsearch
Version: 0.2.3
Release: 0
Summary: A graphical file search utility
License: GPL-2.0-or-later
Group: Productivity/File utilities
URL: https://github.com/cboxdoerfer/fsearch
Source: %{name}-%{version}.tar.gz
BuildRequires: appstream-glib
BuildRequires: desktop-file-utils
BuildRequires: glib2-devel
BuildRequires: gtk3-devel
BuildRequires: libicu-devel
BuildRequires: meson
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
%description
FSearch is a fast file search utility, inspired by Everything Search Engine. It's written in C and based on GTK 3.
%lang_package
%prep
%autosetup -p1
%build
%meson -Dchannel=OBS-rpm-stable
%meson_build
%install
%meson_install
%find_lang %{name}
%check
%meson_test
%files
%license License
%doc NEWS README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/applications/%{id_name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{id_name}.svg
%{_datadir}/metainfo/%{id_name}.appdata.xml
%files lang -f %{name}.lang
%changelog