## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: tuigreet Version: 0.9.1 Release: %autorelease Summary: Graphical console greeter for greetd # Upstream license specification: GPL-3.0 # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # GPL-3.0-only # MIT # MIT OR Apache-2.0 # Unicode-3.0 # Unlicense OR MIT License: GPL-3.0-only AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND MIT AND Unicode-3.0 AND Unicode-DFS-2016 AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown URL: https://github.com/apognu/%{name} Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # Downgrade dependencies to the versions available in Fedora Patch: tuigreet-fix-metadata.diff # Fedora-specific patch: use greetd user home to remember username and last session. # See the patch header for the rationale. Patch: tuigreet-0.9.1-Store-persistent-data-in-the-greetd-user-home.patch BuildRequires: cargo-rpm-macros >= 24 BuildRequires: scdoc Requires: greetd >= 0.6 Provides: greetd-greeter = 0.6 Provides: greetd-%{name} = %{version} # upgrade path for copr builds Obsoletes: greetd-%{name} <= 0.8.0-1 %description %{summary}. %prep %autosetup -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies scdoc contrib/man/tuigreet.1 %install %cargo_install install -D -m644 -vp contrib/man/tuigreet.1 \ %{buildroot}%{_mandir}/man1/%{name}.1 %files %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog ## START: Generated by rpmautospec * Mon Aug 05 2024 Aleksei Bavshin - 0.9.1-1 - Update to 0.9.1 (#2284329) * Sat Jul 20 2024 Fedora Release Engineering - 0.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Apr 20 2024 Aleksei Bavshin - 0.8.0-4 - Rebuilt for greetd_ipc 0.10.0 * Sat Jan 27 2024 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Aleksei Bavshin - 0.8.0-1 - Initial import (#2212222) ## END: Generated by rpmautospec