[ Wish ] I want create rpm package without code source.
|Reported by:||tele||Owned by:|
Description (last modified by )
For install package I need only for example:
Requires: wget %install cd /temp # Download , link is copied from webside from link "start the download manually" wget http://downloads.activestate.com/ActivePerl/releases/188.8.131.520/ActivePerl-184.108.40.2060-i686-linux-64int-glibc-2.5-297570.tar.gz # Unzip tar.gz tar -zxvf ActivePerl-220.127.116.110-i686-linux-64int-glibc-2.5-297570.tar.gz # Entry to folder cd /ActivePerl-18.104.22.1680-i686-linux-64int-glibc-2.5-297570 # We install with install.sh script with all answers yes for all questions in script echo yes | ./install.sh --license-accepted export PATH=$PATH:/opt/ActivePerl-5.18/site/bin:/opt/ActivePerl-5.18/bin export MANPATH=$MANPATH:/opt/ActivePerl-5.18/site/man:/opt/ActivePerl-5.18/man # Out from folder cd .. # Remove trash rm -rf ActivePerl-22.214.171.1240-i686-linux-64int-glibc-2.5-297570 rm -f ActivePerl-126.96.36.1990-i686-linux-64int-glibc-2.5-297570.tar.gz %postun # postun executed just after uninstalling the package rm -f /opt/ActivePerl-5.18
But but seems to rpmbuild want code source , I don't have code sorce. More and more often I use binary (portable binary for all linux) or precompiled binary, but I want add this to rpm data base, so I need build/pack to rpm package. Can I ask for improvement to build rpm packages like this or similarly ? Because I have problem build package like above. :(
If is easy build package rpm like this with binary file, please write example .spec file. :)
I found example http://www.advenage.com/topics/binary-RPM.php
But problem is put commands to .spec file because rpmbuild trying run this command. I don't want run wget and check files with rpmbuild.
- I can withstand it
I have problem, when I want run " install.sh ", but I don't want run it with rpmbuild.