Compare commits

...

1 Commits

Author SHA1 Message Date
Owen-sz d1f34536ee add: system76-wallpapers
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-05-02 15:53:22 -05:00
3 changed files with 58 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "system76-wallpapers.spec"
}
}
@@ -0,0 +1,47 @@
%global commit c9a5b3943e7fdab96e1cbbdbca1a7ebca371fc3c
%global commit_date 20251027
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: system76-wallpapers
Version: 0~%{commit_date}git.%{shortcommit}
Release: 1%{?dist}
Summary: System76 Wallpapers
License: CC-BY-SA-4.0
URL: https://github.com/pop-os/system76-wallpapers
Source0: %{url}/archive/%{commit}/system76-wallpapers-%{commit}.tar.gz
BuildArch: noarch
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%{summary}.
%package gnome-background-properties
Summary: GNOME background properties for System76 wallpapers
Requires: %{name} = %{evr}
BuildArch: noarch
%description gnome-background-properties
%{summary}.
%prep
%autosetup -n %{name}-%{commit}
%build
%install
mkdir -p %{buildroot}%{_datadir}/backgrounds
cp -r backgrounds/* %{buildroot}%{_datadir}/backgrounds/
mkdir -p %{buildroot}%{_datadir}/gnome-background-properties
install -Dm644 system76-wallpapers.xml %{buildroot}%{_datadir}/gnome-background-properties/system76-wallpapers.xml
%files
%license LICENSE
%{_datadir}/backgrounds/System76-*
%files gnome-background-properties
%{_datadir}/gnome-background-properties/system76-wallpapers.xml
%changelog
* Sat May 02 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("pop-os/system76-wallpapers"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}