File folder-cleaner.spec of Package folder-cleaner
#
# spec file for package folder-cleaner
#
# Copyright (c) 2020 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/
#
%define appname com.github.Latesil.folder-cleaner
Name: folder-cleaner
Version: 1.2
Release: 0
Summary: Simple program for sorting files in selected folder
License: GPL-3.0-or-later
Url: https://gitlab.com/Latesil/folder-cleaner
Source: %{name}-%{version}.tar.gz
Patch: downgrade-meson.patch
BuildRequires: meson
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libhandy-1)
Requires: python3-gexiv2
Recommends: %{name}-lang
Recommends: %{name}-extension
BuildArch: noarch
%description
Simple program for sorting files in selected folder.
%lang_package
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%suse_update_desktop_file -r %{appname} "Utility;FileManager;FileTools;GNOME;GTK"
%find_lang %{appname}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/icons/hicolor/symbolic/*/*.svg
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/metainfo/*.appdata.xml
%files lang -f %{appname}.lang
%changelog