Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 66f58ad2ec
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (18 sloc) 0.69 kb
#!/bin/bash
VERSION=`grep VERSION skypetab-ng.pro|sed "s/.*= *//"`
echo Preparing environment
rm -rf tmprpm
mkdir -p tmprpm/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
mkdir -p tmprpm/skypetab-ng-$VERSION
cp -R * tmprpm/skypetab-ng-$VERSION
rm -f tmprpm/skypetab-ng-$VERSION/skypetab-ng.src.rpm
rm -rf tmprpm/skypetab-ng-$VERSION/tmprpm
cd tmprpm
tar czf skypetab-ng.tar.gz skypetab-ng-$VERSION
mv skypetab-ng.tar.gz rpmbuild/SOURCES
cp ../skypetab-ng-rpmlintrc rpmbuild/SOURCES
cp ../skypetab-ng.spec rpmbuild/SPECS
echo Building
rpmbuild -bs ../skypetab-ng.spec --buildroot `pwd`/build/ --define='%_topdir %(echo `pwd`)/rpmbuild'
cp rpmbuild/SRPMS/* ../skypetab-ng.src.rpm
rm -rf ../tmprpm
Jump to Line
Something went wrong with that request. Please try again.