mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
ef0132f760
(cherry picked from commit 0dbbb8f1a8)
Co-authored-by: J. <105894089+Its-J@users.noreply.github.com>
36 lines
842 B
RPMSpec
36 lines
842 B
RPMSpec
%global commit 0143cd113cdec0f0516beba3afe46e42e69b8b1c
|
|
%global commit_date 20241119
|
|
%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 |