File python-desktop-entry-lib.spec of Package python-desktop-entry-lib

#
# spec file for package python-desktop-entry-lib
#
Name:           python-desktop-entry-lib
Version:        0
Release:        0
Summary:        Library for working with .desktop files
License:        BSD-2-Clause
URL:            https://codeberg.org/JakobDev/desktop-entry-lib
Source:         desktop-entry-lib-%{version}.tar.zst
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module wheel}
BuildRequires:  fdupes
BuildArch:      noarch
%python_subpackages

%description
A library for working with .desktop files, utilized by Gear Lever.

%prep
%setup -q -n desktop-entry-lib-%{version}

%build
%pyproject_wheel

%install
export SOURCE_DATE_EPOCH=$(date -r %{SOURCE0} +%s)
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
# No tests available upstream

%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/desktop_entry_lib
%{python_sitelib}/desktop_entry_lib-*.dist-info

%changelog
* Tue Nov 26 2025 itachi_re <xanbenson99@gmail.com> - 0-0
- Initial package
openSUSE Build Service is sponsored by