File spotify-remove-ad-banner.spec of Package spotify-remove-ad-banner
Name: spotify-remove-ad-banner
Version: 5
Release: 1
Summary: Remove Spotify ad banner
License: GPL-3.0
Group: Productivity/Multimedia/Other
Source0: remove.sh
Source1: restore.sh
BuildArch: noarch
Requires: spotify-client < 1.2.63
Requires: sed unzip zip
%description
Remove Spotify ad banner
%prep
%build
%install
install -Dm 755 %{_sourcedir}/remove.sh %{buildroot}/usr/share/%{name}/remove.sh
install -Dm 755 %{_sourcedir}/restore.sh %{buildroot}/usr/share/%{name}/restore.sh
%triggerin -- spotify-client
/usr/share/%{name}/remove.sh
%files
/usr/share/%{name}