spotify: update to spotify-make 20131103

This commit is contained in:
Silvan Calarco 2013-11-03 16:31:48 +01:00
parent 376e4716e8
commit 869ad70ef4
3 changed files with 19 additions and 9 deletions

View File

@ -1,4 +1,4 @@
%define spotify_make_ver 20130831git #% define spotify_make_ver 20130831git
Name: spotify Name: spotify
Version: @spotifyver@ Version: @spotifyver@
Release: 1mamba Release: 1mamba
@ -9,7 +9,7 @@ Distribution: @distribution@
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.spotify.com/us/download/previews/ URL: https://www.spotify.com/us/download/previews/
## GITSOURCE https://github.com/leamas/spotify-make.git master ## GITSOURCE https://github.com/leamas/spotify-make.git master
Source: https://github.com/leamas/spotify-make.git/master/spotify-make-%{spotify_make_ver}.tar.bz2 Source: https://github.com/leamas/spotify-make.git/master/spotify-make-%{version}.zip
Source1: LICENSE Source1: LICENSE
License: Not distributable License: Not distributable
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -19,10 +19,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Listen to music using Spotify. Listen to music using Spotify.
%debug_package
%prep %prep
%setup -q -n spotify-make-%{spotify_make_ver} %setup -q -n spotify-make-master
%build %build
./configure \ ./configure \
@ -39,9 +37,20 @@ install -d -m0755 %{buildroot}%{_datadir}
mv %{buildroot}/opt/spotify/share/applications %{buildroot}%{_datadir} mv %{buildroot}/opt/spotify/share/applications %{buildroot}%{_datadir}
mv %{buildroot}/opt/spotify/share/icons %{buildroot}%{_datadir} mv %{buildroot}/opt/spotify/share/icons %{buildroot}%{_datadir}
install -d -m0755 %{buildroot}%{_bindir}
ln -s /opt/spotify/bin/spotify %{buildroot}%{_bindir}/spotify
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%pre
if [ $1 -ge 1 ]; then
rm -f /opt/spotify/share/spotify-client/Data/locales
rm -f /opt/spotify/share/spotify-client/Data/resources.zip
rm -f /opt/spotify/lib/spotify-client/Data
fi
:
%post %post
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
gtk-update-icon-cache --ignore-theme-index %{_datadir}/icons/hicolor gtk-update-icon-cache --ignore-theme-index %{_datadir}/icons/hicolor
@ -60,15 +69,16 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/spotify
%{_datadir}/applications/spotify.desktop
%{_datadir}/icons/hicolor/*/apps/spotify-client.png
%dir /opt/spotify %dir /opt/spotify
%dir /opt/spotify/bin %dir /opt/spotify/bin
/opt/spotify/bin/spotify /opt/spotify/bin/spotify
%dir /opt/spotify/lib %dir /opt/spotify/lib
%dir /opt/spotify/lib/spotify-client %dir /opt/spotify/lib/spotify-client
/opt/spotify/lib/spotify-client
/opt/spotify/lib/spotify-client/* /opt/spotify/lib/spotify-client/*
%{_datadir}/applications/spotify.desktop %dir /opt/spotify/share
%{_datadir}/icons/hicolor/*/apps/spotify-client.png
%dir /opt/spotify/share/spotify-client/ %dir /opt/spotify/share/spotify-client/
/opt/spotify/share/spotify-client/* /opt/spotify/share/spotify-client/*
%{_mandir}/man1/spotify.1.gz %{_mandir}/man1/spotify.1.gz

View File

@ -3,4 +3,4 @@ WIN32CODECS_VERSION=20110131
SKYPE_VERSION=4.2.0.11 SKYPE_VERSION=4.2.0.11
VIRTUALBOX_EXTENSION_PACK_VERSION=4.2.0 VIRTUALBOX_EXTENSION_PACK_VERSION=4.2.0
SUN_JAVA7_VERSION=7u25 SUN_JAVA7_VERSION=7u25
SPOTIFY_VERSION=0.9.1.55.gbdd3b79.203 SPOTIFY_VERSION=20131103