# Generated using the scripts at https://pagure.io/fedora-cosmic/cosmic-packaging/blob/main/f/scripts %global commit 3fdc2175c145e00d798f98e81d5c4d493f0a2a8c %global shortcommit %{sub %{commit} 1 7} %global commitdatestring 2024-10-02 15:51:55 -0600 %global commitdate 20241002 %global cosmic_minver 1.0.0~alpha.3 Name: cosmic-icon-theme Version: 1.0.0~alpha.3^git%{commitdate}.%{shortcommit} Release: %autorelease Summary: Icon theme for the COSMIC Desktop Environment License: CC-BY-SA-4.0 URL: https://github.com/pop-os/cosmic-icons Source0: https://github.com/pop-os/cosmic-icons/archive/%{commit}/cosmic-icons-%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: just Requires: pop-icon-theme Obsoletes: cosmic-icons < 0.1.0~git20240526.04.9aad1ab-2 Provides: cosmic-icons = %{version}-%{release} %global _description %{expand: %{summary}.} %description %{_description} %prep %autosetup -n cosmic-icons-%{commit} %build %install # Set vergen environment variables export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" export VERGEN_GIT_SHA="%{commit}" just rootdir=%{buildroot} install %files %dir %{_datadir}/icons/Cosmic %{_datadir}/icons/Cosmic/* %changelog %autochangelog