6

We are migrating our servers from CentOS to ubuntu. For a self written application we created a spec file to create RPM's for easy installation on CentOS. Now we want to convert it to the debian format. What is the simplest way to do it? I don't mean creating from the rpm a .deb file but converting the spec file to an ubuntu control file.

Laoneo
  • 1,546
  • 1
  • 18
  • 25

2 Answers2

2

The canonical answer seems to revolve around alien --generate.

tripleee
  • 175,061
  • 34
  • 275
  • 318
2

I have written spec2deb for that purpose.

Guido U. Draheim
  • 3,038
  • 1
  • 20
  • 19