netsrpms: use curl to autodetect the latest available version for various components

This commit is contained in:
Silvan Calarco 2014-12-13 17:18:58 +01:00
parent d14625d567
commit a5cb09f16b
2 changed files with 5 additions and 5 deletions

View File

@ -2,19 +2,19 @@
SRPMVERSION["b43-firmware"]=4.150.10.5 SRPMVERSION["b43-firmware"]=4.150.10.5
SRPMRELEASE["b43-firmware"]=1mamba SRPMRELEASE["b43-firmware"]=1mamba
# flashplugin # flashplugin
SRPMVERSION["flashplugin"]=11.2.202.424 SRPMVERSION["flashplugin"]="`curl -s http://www.adobe.com/software/flash/about/ | grep -A2 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["flashplugin"]=1mamba SRPMRELEASE["flashplugin"]=1mamba
# msttcorefonts # msttcorefonts
SRPMVERSION["msttcorefonts"]=1.3 SRPMVERSION["msttcorefonts"]=1.3
SRPMRELEASE["msttcorefonts"]=7mamba SRPMRELEASE["msttcorefonts"]=7mamba
# skype # skype
SRPMVERSION["skype"]=4.3.0.37 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 SRPMRELEASE["skype"]=2mamba
# spotify # spotify
SRPMVERSION["spotify"]=20140117 SRPMVERSION["spotify"]=20140117
SRPMRELEASE["spotify"]=1mamba SRPMRELEASE["spotify"]=1mamba
# sun-java7 # sun-java7
SRPMVERSION["sun-java7"]=7u67_b01 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`"
SRPMRELEASE["sun-java7"]=1mamba SRPMRELEASE["sun-java7"]=1mamba
# virtualbox-extension-pack # virtualbox-extension-pack
SRPMVERSION["virtualbox-extension-pack"]=4.3.20 SRPMVERSION["virtualbox-extension-pack"]=4.3.20
@ -23,5 +23,5 @@ SRPMRELEASE["virtualbox-extension-pack"]=1mamba
SRPMVERSION["win32codecs"]=20110131 SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash # chromium-pepper-flash
SRPMVERSION["chromium-pepper-flash"]=37.0.2062.120 SRPMVERSION["chromium-pepper-flash"]="`curl -s "http://googlechromereleases.blogspot.it/" | grep "stable channel has been updated to" | sed "s|.*updated to \([0-9.]*\) .*|\1|" 2>/dev/null`"
SRPMRELEASE["chromium-pepper-flash"]=1mamba SRPMRELEASE["chromium-pepper-flash"]=1mamba

View File

@ -1,2 +1,2 @@
SRPMVERSION["sun-java7"]=7u60_b19 SRPMVERSION["sun-java7"]="`curl -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java7"]=1mamba SRPMRELEASE["sun-java7"]=1mamba