Richard Rahl 2024-11-04 03:31:03 +00:00 committed by Git OBS Bridge
commit 2f3a9e3d44
9 changed files with 2829 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

2687
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

21
_service Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<services>
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/pop-os/cosmic-idle.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/epoch-1.0.0-alpha.3</param>
<param name="versionrewrite-pattern">epoch-(.*)</param>
<param name="versionformat">1.0.0~alpha3</param>
<param name="package-meta">yes</param>
<param name="filename">cosmic-idle</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">zstd</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">cosmic-idle</param>
<param name="update">false</param>
</service>
<service name="set_version" mode="manual" />
</services>

31
cargo_config Normal file
View File

@ -0,0 +1,31 @@
[source.crates-io]
replace-with = "vendored-sources"
[source."git+https://github.com/jackpot51/rust-atomicwrites"]
git = "https://github.com/jackpot51/rust-atomicwrites"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/cosmic-settings-daemon"]
git = "https://github.com/pop-os/cosmic-settings-daemon"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/dbus-settings-bindings"]
git = "https://github.com/pop-os/dbus-settings-bindings"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/libcosmic"]
git = "https://github.com/pop-os/libcosmic"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5"]
git = "https://github.com/pop-os/smithay-clipboard"
tag = "pop-dnd-5"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/window_clipboard.git?tag=pop-0.13"]
git = "https://github.com/pop-os/window_clipboard.git"
tag = "pop-0.13"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

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

4
cosmic-idle.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Nov 4 01:49:57 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- initial packaging

56
cosmic-idle.spec Normal file
View File

@ -0,0 +1,56 @@
#
# spec file for package cosmic-idle
#
# 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
# 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/
#
Name: cosmic-idle
Version: 1.0.0~alpha3
Release: 0
Summary: Idle notify manager for COSMIC
License: GPL-3.0-only
URL: https://github.com/pop-os/cosmic-idle
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
Source3: Cargo.lock
BuildRequires: cargo-packaging
BuildRequires: just
BuildRequires: pkgconfig
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(xkbcommon)
%description
%{summary}.
%prep
%autosetup -a1
cp %{SOURCE3} .
mkdir -p .cargo
cp %{SOURCE2} .cargo/config.toml
%build
just build-release
%install
just rootdir=%{buildroot} prefix=%{_prefix} install
%check
%{cargo_test}
%files
%license LICENSE
%{_bindir}/%{name}
%changelog

3
vendor.tar.zst Normal file
View File

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