From 087d3700ba93dfb5dbe54ac2911fa226d46d493e02d82675d414f0bf2d54ca7d Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Thu, 6 Jun 2024 08:41:36 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Factory/cosmic-bg?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + _service | 20 ++++++ cosmic-bg-0.1.0+git20240515.cb1a7f0.obscpio | 3 + cosmic-bg.changes | 4 ++ cosmic-bg.obsinfo | 4 ++ cosmic-bg.spec | 72 +++++++++++++++++++++ vendor.tar.zst | 3 + 8 files changed, 130 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 cosmic-bg-0.1.0+git20240515.cb1a7f0.obscpio create mode 100644 cosmic-bg.changes create mode 100644 cosmic-bg.obsinfo create mode 100644 cosmic-bg.spec create mode 100644 vendor.tar.zst diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..badabed --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + + https://github.com/pop-os/cosmic-bg.git + git + master + 0.1.0+git%cd.%h + yes + + + + *.tar + zstd + + + cosmic-bg + false + + + diff --git a/cosmic-bg-0.1.0+git20240515.cb1a7f0.obscpio b/cosmic-bg-0.1.0+git20240515.cb1a7f0.obscpio new file mode 100644 index 0000000..538d98a --- /dev/null +++ b/cosmic-bg-0.1.0+git20240515.cb1a7f0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:325b73a45578e7a3345f1ee2389f766e569030c5614c4645078a55eb73b6df12 +size 301579 diff --git a/cosmic-bg.changes b/cosmic-bg.changes new file mode 100644 index 0000000..2f4fc6d --- /dev/null +++ b/cosmic-bg.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Mar 13 21:36:37 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/cosmic-bg.obsinfo b/cosmic-bg.obsinfo new file mode 100644 index 0000000..43bbd34 --- /dev/null +++ b/cosmic-bg.obsinfo @@ -0,0 +1,4 @@ +name: cosmic-bg +version: 0.1.0+git20240515.cb1a7f0 +mtime: 1715797012 +commit: cb1a7f05967360a29a30f382dec1b339a6f70b02 diff --git a/cosmic-bg.spec b/cosmic-bg.spec new file mode 100644 index 0000000..03e2b2c --- /dev/null +++ b/cosmic-bg.spec @@ -0,0 +1,72 @@ +# +# spec file for package cosmic-bg +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define appname com.system76.CosmicBackground +Name: cosmic-bg +Version: 0.1.0+git20240515.cb1a7f0 +Release: 0 +Summary: COSMIC service for backgrounds +License: MPL-2.0 +URL: https://github.com/pop-os/cosmic-bg +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: hicolor-icon-theme +BuildRequires: just +BuildRequires: mold +BuildRequires: nasm +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(xkbcommon) + +%description +COSMIC session service which applies backgrounds to displays. +Supports the following features: + + Supports common image formats supported by image-rs + 8 and 10-bit background surface layers + Use of colors and gradients for backgrounds + Per-display background application + Wallpaper slideshows that alternate between backgrounds periodically + + +%prep +%autosetup -a1 + +%build +just build-release + +%install +just rootdir=%{buildroot} prefix=%{_prefix} install +%suse_update_desktop_file %{appname} + +%check +%{cargo_test} + +%files +%license LICENSE.md +%doc README.md +%{_bindir}/%{name} +%{_datadir}/applications/%{appname}.desktop +%{_datadir}/cosmic +%{_iconsdir}/hicolor/scalable/apps/%{appname}.svg +%{_iconsdir}/hicolor/symbolic/apps/%{appname}-symbolic.svg +%{_datadir}/metainfo/%{appname}.metainfo.xml + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..c5e0ce3 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad9c203e2a1b75b49f62d032873b61b93728953cb417c72c4a280bbcd0d0da98 +size 39559945