Richard Rahl 2024-06-06 08:41:36 +00:00 committed by Git OBS Bridge
commit 087d3700ba
8 changed files with 130 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

20
_service Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/pop-os/cosmic-bg.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionformat">0.1.0+git%cd.%h</param>
<param name="package-meta">yes</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zstd</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">cosmic-bg</param>
<param name="update">false</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:325b73a45578e7a3345f1ee2389f766e569030c5614c4645078a55eb73b6df12
size 301579

4
cosmic-bg.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Mar 13 21:36:37 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- initial packaging

4
cosmic-bg.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: cosmic-bg
version: 0.1.0+git20240515.cb1a7f0
mtime: 1715797012
commit: cb1a7f05967360a29a30f382dec1b339a6f70b02

72
cosmic-bg.spec Normal file
View File

@ -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

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad9c203e2a1b75b49f62d032873b61b93728953cb417c72c4a280bbcd0d0da98
size 39559945