Files
packages/anda/tools/spotx-bash/spotx-bash.spec
T
Raboneko dc732e200d fix (spotx-bash): track symlink (#9403) (#9416)
(cherry picked from commit 3b79c2dd16)

Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-01-20 22:24:55 -06:00

36 lines
872 B
RPMSpec

%global commit 37ffdc78ba3ded6af6550895bfc687f44f1c4af6
%global commit_date 20260115
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: spotx-bash
Version: %commit_date.git~%shortcommit
Release: 2%?dist
Summary: Adblock for the Spotify desktop client on Linux.
License: MIT
URL: https://github.com/SpotX-Official/SpotX-Bash
Source0: %url/archive/%commit.tar.gz
Requires: bash
BuildArch: noarch
Provides: spotx spotx-linux spot-x spotx.sh
%description
%summary
%prep
%autosetup -n SpotX-Bash-%commit
%install
mkdir -p %{buildroot}%{_bindir}
install -Dm 755 spotx.sh %{buildroot}%{_bindir}/spotx
%{__ln_s} -f %{_bindir}/spotx %{buildroot}%{_bindir}/spotx.sh
%files
%doc README.md
%license LICENSE
%{_bindir}/spotx.sh
%{_bindir}/spotx
%changelog
* Sat Dec 14 2024 Its-J
- Package SpotX-Bash