Mercurial > hg > pub > prymula > scripts
view bing4desktop/RPM/bing4desktop.spec @ 12:74d743cf58cb
bing4desktop-0.240206-0_clean
author | prymula <prymula76@outlook.com> |
---|---|
date | Tue, 06 Feb 2024 12:01:38 +0100 |
parents | c01d7edb9cb9 |
children | 73fd89b46da4 |
line wrap: on
line source
# # spec file for package bing4desktop # # Copyright (c) 2020 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/ # %define unmangled_version 0.240206-0 Name: bing4desktop Version: 0.240206 Release: 0 Summary: Beautify your desktop with photos from Bing search engine License: Public Domain URL: https://prymula.ct8.pl Source0: %{name}-%{unmangled_version}.tar.gz %if 0%{?suse_version}>=150000 BuildRequires: python3, python-Pillow, python3-requests Requires: python3, python-Pillow, python3-requests %endif %if 0%{?fedora}>=36 BuildRequires: python3, python3-pillow-tk, python3-requests Requires: python3, python3-pillow-tk, python3-requests %endif BuildArch: noarch %description %prep %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} %build %install mkdir -p %{buildroot}/usr mkdir -p %{buildroot}/usr/bin mkdir -p %{buildroot}/usr/share mkdir -p %{buildroot}/usr/share/bing4desktop mkdir -p %{buildroot}/etc mkdir -p %{buildroot}/etc/xdg mkdir -p %{buildroot}/etc/xdg/autostart install -m 0755 bing4desktop.py %{buildroot}/usr/bin install -m 0644 bing.ico %{buildroot}/usr/share/bing4desktop install -m 0644 bing4desktop.desktop %{buildroot}/etc/xdg/autostart %files %defattr(0755,root,root) /usr/bin/bing4desktop.py /usr/share/bing4desktop/ %defattr(0644,root,root) /usr/share/bing4desktop/bing.ico /etc/xdg/autostart/bing4desktop.desktop %changelog