Files
packages/anda/tools/spotx-bash/spotx-bash.spec
T
sadlerm4 5fb4d00c90 bump: ruffle electron yt-dlp mpv flow ghostty zed prismlauncher spotx-bash discord-canary-openasar discord-canary (#3165)
* bump: ruffle electron yt-dlp

* bump(nightly): mpv flow nightly nightly prismlauncher-nightly spotx-bash

* bump: discord-canary-openasar discord-canary

---------

Co-authored-by: Raboneko <raboneko@fyralabs.com>
2025-01-30 18:25:06 +08:00

37 lines
843 B
RPMSpec

%global commit bfd07df616bb656f4990b15996c7e1c4f5a9ebc6
%global commit_date 20250130
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: spotx-bash
Version: %commit_date.git~%shortcommit
Release: 1%?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
%post
%{__ln_s} -f %{_bindir}/spotx %{_bindir}/spotx.sh
%files
%doc README.md
%license LICENSE
%_bindir/spotx
%changelog
* Sat Dec 14 2024 Its-J
- Package SpotX-Bash