[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Few queries regarding packaging



Hi,

I have a software which needs to be packaged using rpm.

It is already in binary form.
Directory structure looks like this.
bin/
logs/
classes/
etc...

1. Package has to prompt user for a directory to install the software.
It has to show default directory say /opt/<package>
How do I do this?

2. Software has huge set of class files.
Do I need to add all the files individually under %files section?

Is it possible to say add all the files under this directory?

3. I do want to prompt user for version number in my script file
(where I call rpm -ba <spec file>) and then pass it to
Version parameter of spec file.

Is this possible?

Thanks in advance.

Regs,
Manjula





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []