spotify: update spotify-make to 20150129 (git)

This commit is contained in:
Silvan Calarco 2015-01-29 11:33:58 +01:00
parent fdf643535b
commit c0ce5914d0
3 changed files with 9 additions and 3 deletions

View File

@ -9,7 +9,7 @@ Distribution: @distribution@
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.spotify.com/us/download/previews/
## GITSOURCE https://github.com/leamas/spotify-make.git master
Source: https://github.com/leamas/spotify-make.git/master/spotify-make-%{version}.zip
Source: https://github.com/leamas/spotify-make/tarball/master/spotify-make-%{version}.tar.gz
Source1: LICENSE
License: Not distributable
## AUTOBUILDREQ-BEGIN
@ -20,7 +20,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
Listen to music using Spotify.
%prep
%setup -q -n spotify-make-master
%setup -q -c
mv leamas-spotify-make-*/* .
%build
./configure \
@ -36,6 +37,7 @@ make download
install -d -m0755 %{buildroot}%{_datadir}
mv %{buildroot}/opt/spotify/share/applications %{buildroot}%{_datadir}
mv %{buildroot}/opt/spotify/share/icons %{buildroot}%{_datadir}
mv %{buildroot}/opt/spotify/share/appdata %{buildroot}%{_datadir}
install -d -m0755 %{buildroot}%{_bindir}
ln -s /opt/spotify/bin/spotify %{buildroot}%{_bindir}/spotify
@ -70,6 +72,7 @@ fi
%files
%defattr(-,root,root)
%{_bindir}/spotify
%{_datadir}/appdata/spotify.xml
%{_datadir}/applications/spotify.desktop
%{_datadir}/icons/hicolor/*/apps/spotify-client.png
%dir /opt/spotify
@ -84,5 +87,8 @@ fi
%{_mandir}/man1/spotify.1.gz
%changelog
* Thu Jan 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20150129-1mamba
- updated
* Sat Aug 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1.55.gbdd3b79.203-1mamba
- package created by silvan using the webbuild interface

View File

@ -11,7 +11,7 @@ SRPMRELEASE["msttcorefonts"]=7mamba
SRPMVERSION["skype"]="`curl -sLI "http://www.skype.com/go/getskype-linux-beta-dynamic"|grep "linux/skype-"|sed "s|.*skype-\(.*\)\.tar\..*|\1|" 2>/dev/null`"
SRPMRELEASE["skype"]=2mamba
# spotify
SRPMVERSION["spotify"]=20140117
SRPMVERSION["spotify"]=20150129
SRPMRELEASE["spotify"]=1mamba
# sun-java7
SRPMVERSION["sun-java7"]="`curl -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"