The rpm source for litecoin daemon. For more details of litecoin, please visit https://github.com/litecoin-project/litecoin
Install rpmspectool to download the source files inside rpm spec
yum install rpmspectool
Install mock environment to build the rpm https://github.com/rpm-software-management/mock/wiki
Copy the spec file from repository
cd ~
mkdir rpmbuild/SPECS
cp SPECS/litecoin.spec rpmbuild/SPECS/
Download the source file and build source rpm
spectool -g -R rpmbuild/SPECS/litecoin.spec
Build the source rpm using mock
mock --resultdir=$HOME --buildsrpm --spec rpmbuild/SPECS/litecoin.spec --sources rpmbuild/SOURCES -v
Compile
mock -v litecoin-0.16.3-1.el7.src.rpm