## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 # Generated using the scripts at # Generated using the scripts at https://forge.fedoraproject.org/cosmic/cosmic-packaging/src/branch/main/scripts # cosmic-packaging: Nightly build processed from tagged version at https://src.fedoraproject.org/rpms/cosmic-wallpapers.git %global commit 3c59953e7ee5792efecdb232cb4c7211e7785f52 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commitdatestring 2026-02-13 12:35:27 -0700 %global commitdate 20260213 %global builddate 202602132330 %global cosmic_minver 1.0.6 Name: cosmic-wallpapers Version: 1.0.6^git%{commitdate}.%{shortcommit} Release: %autorelease Summary: Default wallpapers for the COSMIC Desktop Environment # All cosmic wallpapers are either public domain or CC-BY-SA-4.0 License: CC-BY-SA-4.0 URL: https://github.com/pop-os/cosmic-wallpapers # How to recreate this source # Install git-lfs # Clone https://github.com/pop-os/cosmic-wallpapers # Checkout commit %%{commit} # dnf install git-lfs # git clone https://github.com/pop-os/cosmic-wallpapers # cd cosmic-wallpapers && git checkout %%{commit} && cd .. # tar -pczf cosmic-wallpapers-%%{shortcommit}.tar.gz cosmic-wallpapers Source0: cosmic-wallpapers-%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: make %global _description %{expand: %{summary}.} %description %{_description} %prep tar -xzf %{SOURCE0} -C . %build %install cd cosmic-wallpapers # Set vergen environment variables export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" export VERGEN_GIT_SHA="%{commit}" make install DESTDIR=%{buildroot} prefix=%{_prefix} %files %dir %{_datadir}/backgrounds/cosmic %{_datadir}/backgrounds/cosmic/* %license cosmic-wallpapers/LICENSE %changelog %autochangelog