WebSite Information > Article Discussions

RPM Packages - 2025 ( For OS/2 Software in General)

<< < (2/8) > >>

Martin Iturbide:

--- Quote from: Dave Yeo on March 11, 2025, 04:06:25 am ---Hi Martin,

--- Quote from: Martin Iturbide on March 11, 2025, 03:53:46 am ---Here it is a simple one for FT.CMD.

--- End quote ---

Good work. Shouldn't a Rexx script be noarch rather then pentium4?

--- End quote ---
Thanks for the feedback.
I think you are right about this. I will fix it tonight.

Regards

Martin Iturbide:
Hello Remy

--- Quote from: Remy on March 11, 2025, 12:19:09 pm ---If interested, you can build a rpm package for AVxCAT  ;)

--- End quote ---
I think it can be interesting to try it.

My issue with OS/2 native software (not ported from other sources), is where to put the files in the FHS structure. (I think it was discussed before). This is it because I want to adhere (as possible) to FHS and not just drop all files to /usr/bin

For DataSeeker I did:

--- Quote ---%files
%{_bindir}/*.exe                               -> all .exe to /usr/bin
%{_bindir}/*.cmd                              -> all .exe to /usr/bin
%{_bindir}/*.dbg                               -> all .dbg to /usr/bin
%{_bindir}/*.nls                                -> all .nls to /usr/bin
%doc *.txt                                         -> all .txt to usr/share/<name of package>/doc
%doc COPYING                                   -> COPYING to usr/share/<name of package>/doc
/@unixroot/usr/share/os2/help/*.hlp    -> all .hlp to /usr/share/os2/help/

--- End quote ---
   

Usually the unix/linux ported software uses a lo the "/usr/share/<name of the package>" for extra stuff, but it does not work by default on regular OS/2 compiled apps.

And I think that I never learn how to make the RPM to install on C:\Programs\ or any other part of the hard drive. 

Comments are welcome.

Regards

Remy:

--- Quote from: Martin Iturbide on March 11, 2025, 01:43:36 pm ---Hello Remy

--- Quote from: Remy on March 11, 2025, 12:19:09 pm ---If interested, you can build a rpm package for AVxCAT  ;)

--- End quote ---
I think it can be interesting to try it.

My issue with OS/2 native software (not ported from other sources), is where to put the files in the FHS structure. (I think it was discussed before)
For DataSeeker I did:

--- Quote ---%files
%{_bindir}/*.exe                               -> all .exe to /usr/bin
%{_bindir}/*.cmd                              -> all .exe to /usr/bin
%{_bindir}/*.dbg                               -> all .dbg to /usr/bin
%{_bindir}/*.nls                                -> all .nls to /usr/bin
%doc *.txt                                         -> all .txt to usr/share/<name of package>/doc
%doc COPYING                                   -> COPYING to usr/share/<name of package>/doc
/@unixroot/usr/share/os2/help/*.hlp    -> all .hlp to /usr/share/os2/help/

--- End quote ---
   

Usually the unix/linux ported software uses a lo the "/usr/share/<name of the package>" for extra stuff, but it does not work by default on regular OS/2 compiled apps.

And I think that I never learn how to make the RPM to install on C:\Programs\ or any other part of the hard drive. 

Comments are welcome.

Regards

--- End quote ---

I'll update AVxCAT to allow easy RPM packaging using general @unixroot structure
(allowing subpath under AVxCAT install path or use recommended @unixroot paths when rpm installed for easy rpm packaging)
I'll tell it to ytou as soon it is ready as well destination path.     

Martin Iturbide:
Hello Dave

Just another question here.

If I have no idea how to the OS/2 program was compiled, like DataSeeker, is it ok to put it on "pentium4"? I personally think it is no harm, but I don't know if it has deeper implications.

Regards

Martin Iturbide:
Here it is FT with noarch.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version