Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11459 closed enhancement (invalid)

[ Wish ] I want create rpm package without code source.

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. :)

Edit:

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.

Attachments (0)

Change History (9)

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)

comment:4 by Remy Blank, 10 years ago

Milestone: undecided

comment:5 by anonymous, 10 years ago

For me this site is little difficult ,

Could you move topic to proper Trac ? Thanks !

comment:6 by anonymous, 10 years ago

Description: modified (diff)

comment:7 by anonymous, 10 years ago

Description: modified (diff)

comment:8 by Jun Omae, 10 years ago

Resolution: invalid
Status: newclosed

comment:9 by Jun Omae, 10 years ago

Keywords: rpm without code source removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.