get music ready for 1.0.50
This commit is contained in:
parent
fc1b0c80b7
commit
7ac6c64c20
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
Summary: FreeSWITCH Music on Hold soundfiles
|
Summary: FreeSWITCH Music on Hold soundfiles
|
||||||
Name: freeswitch-sounds-music
|
Name: freeswitch-sounds-music
|
||||||
Version: 1.0.8
|
Version: 1.0.50
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MPL
|
License: MPL
|
||||||
Group: Productivity/Telephony/Servers
|
Group: Productivity/Telephony/Servers
|
||||||
|
|
|
@ -8,16 +8,25 @@ if [ ! -d .git ]; then
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ver="1.0.8"
|
ver="1.0.50"
|
||||||
|
|
||||||
cd rpmbuild/SOURCES
|
basedir=$(pwd);
|
||||||
|
|
||||||
wget http://files.freeswitch.org/freeswitch-sounds-music-8000-$ver.tar.gz
|
(mkdir -p rpmbuild && cd rpmbuild && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SPECS)
|
||||||
wget http://files.freeswitch.org/freeswitch-sounds-music-16000-$ver.tar.gz
|
|
||||||
wget http://files.freeswitch.org/freeswitch-sounds-music-32000-$ver.tar.gz
|
|
||||||
wget http://files.freeswitch.org/freeswitch-sounds-music-48000-$ver.tar.gz
|
|
||||||
|
|
||||||
cd ../..
|
if [ ! -d "$basedir/../freeswitch-sounds" ]; then
|
||||||
|
cd $basedir/..
|
||||||
|
git clone https://stash.freeswitch.org/scm/fs/freeswitch-sounds.git
|
||||||
|
else
|
||||||
|
cd $basedir/../freeswitch-sounds
|
||||||
|
git pull
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $basedir/../freeswitch-sounds/sounds/trunk
|
||||||
|
|
||||||
|
mv freeswitch-sounds-music-*.tar.gz $basedir/rpmbuild/SOURCES
|
||||||
|
|
||||||
|
cd $basedir
|
||||||
|
|
||||||
rpmbuild --define "VERSION_NUMBER $ver" \
|
rpmbuild --define "VERSION_NUMBER $ver" \
|
||||||
--define "BUILD_NUMBER 1" \
|
--define "BUILD_NUMBER 1" \
|
||||||
|
|
Loading…
Reference in New Issue