File folderpreview.spec of Package folderpreview

#
# spec file for package folderpreview
#
# Copyright (c) 2025 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/
#


Name:           folderpreview
Version:        0.4.4
Release:        0
Summary:        Generate folder thumbnails
License:        MIT
URL:            https://gitlab.com/hxss-linux/folderpreview
Source:         https://gitlab.com/hxss-linux/folderpreview/-/archive/%{version}/%{name}-%{version}.tar.gz
# overkill, but python38 doesn't provide python3 3.8.6
BuildRequires:  python3-devel >= 3.8.6
BuildRequires:  python3-setuptools
Requires:       python3-colorlog >= 4.6.2
Requires:       python3-dbus-next >= 0.1.3
Requires:       python3-parse >= 1.18.0
Requires:       python3-pygobject >= 3.38.0
Requires:       python3-pyvips >= 2.1.12
Requires:       python3-pyxdg >= 0.26
Requires:       python3-pyyaml >= 5.3.1
Requires:       python3-systemd >= 0.16.1
BuildArch:      noarch

%description
Generates folder thumbnails using child files thumbnails.

%prep
%autosetup

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{python3_sitelib}/*

%changelog
openSUSE Build Service is sponsored by