Edgewall Software

Opened 10 years ago

Last modified 10 years ago

#11459 closed enhancement

[ Wish ] I want create rpm package without code source. — at Version 3

Reported by: tele Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by anonymous)

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/5.18.1.1800/ActivePerl-5.18.1.1800-i686-linux-64int-glibc-2.5-297570.tar.gz

# Unzip tar.gz
 tar -zxvf ActivePerl-5.18.1.1800-i686-linux-64int-glibc-2.5-297570.tar.gz
 
# Entry to folder
 cd /ActivePerl-5.18.1.1800-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-5.18.1.1800-i686-linux-64int-glibc-2.5-297570
 rm -f  ActivePerl-5.18.1.1800-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. :)

Change History (3)

comment:1 by anonymous, 10 years ago

Description: modified (diff)

comment:2 by anonymous, 10 years ago

Description: modified (diff)

comment:3 by anonymous, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.