Martin Pluskal 2024-08-29 08:36:38 +00:00 committed by Git OBS Bridge
commit 4b1c60b77d
9 changed files with 144 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 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/spicetify/cli</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v2.37.7</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="buildtime" name="set_version" />
<service name="go_modules" mode="disabled">
<param name="archive">cli-*</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/spicetify/cli</param>
<param name="changesrevision">d5dfb110c3626c9c2b481f2d5782b4ce667adc0c</param></service></servicedata>

3
cli-2.37.7.obscpio Normal file
View File

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

4
cli.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: cli
version: 2.37.7
mtime: 1724785035
commit: d5dfb110c3626c9c2b481f2d5782b4ce667adc0c

29
spicetify-cli.changes Normal file
View File

@ -0,0 +1,29 @@
-------------------------------------------------------------------
Thu Aug 29 07:54:55 UTC 2024 - jan.kuzilek@suse.com
- Update to version 2.37.7:
* fix(wrapper): sanitize text content to remove all strings
* fix(wrapper): ignore chunks in strings
* fix(wrapper): fire `platformLoaded` event later
* feat(css-map): map `search-searchCategory-carouselButtonVisible` (#3146)
* feat(popupLyrics): add lrclib provider (#3133)
-------------------------------------------------------------------
Sun Aug 25 19:05:07 UTC 2024 - jan.kuzilek@suse.com
- Update to version 2.37.4:
* fix(wrapper/webpack): do not return while webpack is loading
* fix(wrapper): wait until all modules loaded (#3143)
* fix(preprocess): match more special characters for `_platform`
* fix(workflows): only run build & linter on main branches (#3137)
* fix(wrapper): replace find string for `Slider` component (#3134)
* fix(preprocess): adapt `_platform` regex for `1.2.44`
* style(lyrics-plus): adjust lyric animation in `karaoke` mode (#3130)
* chore(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 (#3129)
* fix(lyrics-plus/genius): remove `encodeURIComponent` (#3131)
* fix(new-releases): use `50000` as a limit
-------------------------------------------------------------------
Sun Aug 18 16:34:07 UTC 2024 - Jan Kužílek <jan.kuzilek@suse.com>
- Initial package, version 2.37.1

57
spicetify-cli.spec Normal file
View File

@ -0,0 +1,57 @@
#
# spec file for package spicetify-cli
#
# 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 sname cli
%define binname spicetify
Name: spicetify-cli
Version: 2.37.7
Release: 0
Summary: Command-line tool to customize Spotify client
License: LGPL-2.1-or-later
URL: https://spicetify.app/
Source0: %{sname}-%{version}.tar.zst
Source1: vendor.tar.gz
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.21
BuildRequires: zstd
%description
Command-line tool to customize the official Spotify client
%prep
%autosetup -a1 -n %{sname}-%{version}
%build
go build -mod=vendor -buildmode=pie -ldflags="-X 'main.version=%{version}'"
printf "#!/bin/sh\n%{_libdir}/%{name}/%{binname} \"\$@\"" > ./shortcut
%install
install -Dm755 shortcut %{buildroot}%{_bindir}/%{binname}
install -Dm755 %{sname} %{buildroot}%{_libdir}/%{name}/%{binname}
cp -r Themes Extensions CustomApps jsHelper globals.d.ts css-map.json %{buildroot}%{_libdir}/%{name}
find %{buildroot}%{_libdir}/%{name}/ -type f -executable | grep -v %{name}/%{binname} | xargs chmod a-x
%files
%{_bindir}/%{binname}
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*
%license LICENSE
%doc README.md
%changelog

3
vendor.tar.gz Normal file
View File

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