Author Topic: Repacking .deb into RPM  (Read 1052 times)

Online wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Repacking .deb into RPM
« on: March 11, 2010, 06:03:24 PM »
I've been quite found of Moria for many years now (played PC and Umoria). I can't seem to find an RPM version but did manage to find a compiled version in .deb format. Can someone point me in the right direction to repackage this for PCLOS?

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Repacking .deb into RPM
« Reply #1 on: March 11, 2010, 06:14:57 PM »
this is somewhat beyond anything I've tried but.....
You could use alien to convert that to a tar.gz, extract the binary files and make an rpm out of it.  That's as far as I can go however, I've never written a spec file for binaries.  I learned of that trick from Tex, but I've never done it.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Online wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Re: Repacking .deb into RPM
« Reply #2 on: March 11, 2010, 09:13:12 PM »
this is somewhat beyond anything I've tried but.....
You could use alien to convert that to a tar.gz, extract the binary files and make an rpm out of it.  That's as far as I can go however, I've never written a spec file for binaries.  I learned of that trick from Tex, but I've never done it.

I have already extracted the binaries into a "temp" directory. I could copy these to the required locations and just do this every time I re-install. I've tried basic packaging but I've never found a site with a good explanation.

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93