## 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 https://pagure.io/fedora-cosmic/cosmic-packaging/blob/main/f/scripts # While our version corresponds to an upstream tag, we still need to define # these macros in order to set the VERGEN_GIT_SHA and VERGEN_GIT_COMMIT_DATE # environment variables in multiple sections of the spec file. %global commit 189c2c63d31da84ebb161acfd21a503f98a1b4c7 %global commitdatestring 2025-04-08 08:53:17 -0600 %global cosmic_minver 1.0.0~alpha.7 Name: cosmic-wallpapers Version: 1.0.0~alpha.7 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-%%{version_no_tilde}.tar.gz cosmic-wallpapers Source0: cosmic-wallpapers-%{version_no_tilde}.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 ## START: Generated by rpmautospec * Thu Apr 24 2025 Ryan Brue - 1.0.0~alpha.7-1 - "Update to 1.0.0~alpha.7" * Thu Apr 24 2025 Ryan Brue - 1.0.0~alpha.6-3 - TEMP: ls -a * Wed Apr 16 2025 Ryan Brue - 1.0.0~alpha.6-2 - Update cosmic-wallpapers.spec * Fri Feb 21 2025 Ryan Brue - 1.0.0~alpha.6-1 - "Update to 1.0.0~alpha.6" * Sat Jan 25 2025 Ryan Brue - 1.0.0~alpha.5.1-3 - "Update to 1.0.0~alpha.5.1" * Thu Jan 16 2025 Fedora Release Engineering - 1.0.0~alpha.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jan 15 2025 Ryan Brue - 1.0.0~alpha.5.1-1 - "Update to 1.0.0~alpha.5.1" * Fri Jan 10 2025 Ryan Brue - 1.0.0~alpha.5-1 - "Update to 1.0.0~alpha.5" * Fri Dec 06 2024 Ryan Brue - 1.0.0~alpha.4-1 - "Update to 1.0.0~alpha.4" * Sat Nov 02 2024 Ryan Brue - 1.0.0~alpha.3-1 - "Update to 1.0.0~alpha.3" ## END: Generated by rpmautospec