Adding files to rpm packages

General support questions
Post Reply
StanMit
Posts: 2
Joined: 2019/07/08 07:21:20

Adding files to rpm packages

Post by StanMit » 2019/07/08 07:30:27

Hello all,

I have a problem with editing rpm packages.
I have a vortex machine on which I have some software installed. It works on the rpm package.
I received a language file from the software producer to adapt the version of the software to my needs. I got the information from the programmers that the file just need to be pasted into the appropriate folder. My problem starts here. I do not have any possibility to upload this file to the specified folder.
Do I need a dedicated program? Do I need to update the entire rpm package?
If a similar post has already appeared, please move to this topic.
Thank you very much for every answer.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Adding files to rpm packages

Post by TrevorH » 2019/07/08 08:23:35

You don't edit rpms. You need to rebuild it and to do that you will need the original SRPM that was used to build it in the first place. Look at mock (preferred) and rpmbuild (less so) for the tolls used to build rpms from SRPMs.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

StanMit
Posts: 2
Joined: 2019/07/08 07:21:20

Re: Adding files to rpm packages

Post by StanMit » 2019/07/08 09:07:08

I am a bit confused. Because I got this information from the manufacturer first
"The messages files are not define on Gespage Linux, nevertheless, the files are the same that on a Windows server.
So you can paste the files you translate on the Linux server under the directory /opt/Gespage/GespageCore/server/resources/messages/, they will be implemented after a Gespage restart."

I have access to files from which the installation was initiated. But this is a .zip file with .rpm and .pdf packages (pdf is installation instructions)
How can I overwrite such a package?
Later I need to install it again?

I do not have too much knowledge on this subject, so I will be grateful for any help.

https://zapodaj.net/19b7c0a3d2708.png.html <---- Screen

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Adding files to rpm packages

Post by TrevorH » 2019/07/08 14:48:27

I think you should ask them for more clarity in their instructions.

It sounds to me like they are suggesting that you copy the language files from an installation on Windows and copy them to your linux directory. But as I say, I would ask them for more support as I may be misinterpreting that response.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply