commit 4b1c60b77dcf8d0bdde238490fc89b771e9aa4d1f94788acb6aeb0ff91b35fac Author: Martin Pluskal Date: Thu Aug 29 08:36:38 2024 +0000 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/spicetify-cli?expand=0&rev=1 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..99153c1 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/spicetify/cli + git + .git + v2.37.7 + @PARENT_TAG@ + enable + v(.*) + + + + *.tar + zst + + + + cli-* + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..85f3852 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/spicetify/cli + d5dfb110c3626c9c2b481f2d5782b4ce667adc0c \ No newline at end of file diff --git a/cli-2.37.7.obscpio b/cli-2.37.7.obscpio new file mode 100644 index 0000000..e19ed03 --- /dev/null +++ b/cli-2.37.7.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73bd6e211dcf896a3f7255ee1a28d03a160924d4815b98fb59ab253e393efbf3 +size 2650636 diff --git a/cli.obsinfo b/cli.obsinfo new file mode 100644 index 0000000..32c082f --- /dev/null +++ b/cli.obsinfo @@ -0,0 +1,4 @@ +name: cli +version: 2.37.7 +mtime: 1724785035 +commit: d5dfb110c3626c9c2b481f2d5782b4ce667adc0c diff --git a/spicetify-cli.changes b/spicetify-cli.changes new file mode 100644 index 0000000..1eb00c2 --- /dev/null +++ b/spicetify-cli.changes @@ -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 + +- Initial package, version 2.37.1 diff --git a/spicetify-cli.spec b/spicetify-cli.spec new file mode 100644 index 0000000..9186227 --- /dev/null +++ b/spicetify-cli.spec @@ -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 + diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..6e2dd40 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29ff01c375200ff244042e2bc8948231656245c4898dcaef4a14f0604b6bda9b +size 1019268