Accepting request 1207533 from home:rrahl0
OBS-URL: https://build.opensuse.org/request/show/1207533 OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Apps/cosmic-ext-applet-tailscale?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
21
_service
Normal file
21
_service
Normal 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/cosmic-utils/gui-scale-applet.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">refs/tags/1.0.0</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="package-meta">yes</param>
|
||||||
|
<param name="filename">cosmic-ext-applet-tailscale</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">gui-scale-applet</param>
|
||||||
|
<param name="update">false</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual" />
|
||||||
|
</services>
|
3
cosmic-ext-applet-tailscale-1.0.0.tar.zst
Normal file
3
cosmic-ext-applet-tailscale-1.0.0.tar.zst
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be44df9893009ca296f83014fd1b75ca9e461c18d0efe2d0bdb3a55ae8503f45
|
||||||
|
size 154817
|
4
cosmic-ext-applet-tailscale.changes
Normal file
4
cosmic-ext-applet-tailscale.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 12 14:25:24 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||||
|
|
||||||
|
- initial packaging
|
57
cosmic-ext-applet-tailscale.spec
Normal file
57
cosmic-ext-applet-tailscale.spec
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
#
|
||||||
|
# spec file for package cosmic-ext-applet-tailscale
|
||||||
|
#
|
||||||
|
# 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.github.bhh32.GUIScaleApplet
|
||||||
|
Name: cosmic-ext-applet-tailscale
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Tailscale applet for the COSMIC Desktop
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://github.com/cosmic-utils/gui-scale-applet
|
||||||
|
Source0: %{name}-%{version}.tar.zst
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
Patch0: fix-justfile.patch
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
BuildRequires: just
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(xkbcommon)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a COSMIC applet for Tailscale. It has SSH and Allow Routes
|
||||||
|
enable/disable and Tail Drop functionality.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1
|
||||||
|
|
||||||
|
%build
|
||||||
|
just build-release
|
||||||
|
|
||||||
|
%install
|
||||||
|
just rootdir=%{buildroot} prefix=%{_prefix} install
|
||||||
|
%suse_update_desktop_file %{appname}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/gui-scale-applet
|
||||||
|
%{_datadir}/applications/%{appname}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/scalable/status/%{appname}.png
|
||||||
|
|
||||||
|
%changelog
|
12
fix-justfile.patch
Normal file
12
fix-justfile.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff -rub gui-scale-applet/justfile gui-scale-applet-patched/justfile
|
||||||
|
--- gui-scale-applet/justfile 2024-10-12 16:25:34.421356021 +0200
|
||||||
|
+++ gui-scale-applet-patched/justfile 2024-10-12 16:49:18.592860326 +0200
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
metainfo-dst := clean(rootdir / prefix) / 'share' / 'metainfo' / metainfo
|
||||||
|
|
||||||
|
icons-src := 'data' / 'icons' / 'scalable' / 'apps'
|
||||||
|
-icons-dst := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor' / 'scalable' / 'status'
|
||||||
|
+icons-dst := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor' / 'scalable' / 'status' / APPID + '.png'
|
||||||
|
|
||||||
|
# Default recipe which runs 'just build-release'
|
||||||
|
default: build-release
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8eed36a825711dc237bd8f2b82f18404e0bba58b9cff21a5f5c07e6861979412
|
||||||
|
size 68127401
|
Reference in New Issue
Block a user