On 09/26/2012 07:20 PM, András Murányi wrote:
On Sun, Sep 23, 2012 at 8:22 PM, Hans-Christoph Steiner hans@at.or.atwrote:
launchpad only builds packages for the Ubuntu releases, but you could use one of the Ubuntu packages on Debian if you find an Ubuntu release that is close to your Debian release.
I hear that OpenSUSE's build server will build Debian packages, but I've never used it. It would be very useful if someone set that up, I think can also build Fedora and SUSE packages.
I played around with OpenSUSE's OBS but it's not a success yet. It needs a something.spec file for building RPMs and a something.dsc file for DEBs. Both files serve to define a source package. For the spec file, I started from one well worked out for Planet CCRMA by Fernando Lopez-Lezcano. It's looking good for the OBS right now except that I'm struggling with the source definition, i.e. it doesn't seem to be able to grab the tar.gz from sourceforge. For the debian dsc file, I used Paul Brossier's one. The dsc is much simpler, but it cannot accept source urls, only local files. That's where OBS's so-called "Source Service" comes into the picture, which can download a tar.gz or even checkout an svn repo and tar.gz it for me. I'm struggling with this too, because (1) I'm unable to grab the resulting tar.gz from the dsc (it's created with an odd name that contains a colon) and (2) in the dsc an MD5 checksum of the tar.gz needs to be present which is unknown in the case of an archive newly created from SVN. I'll try to grow smarter with OBS, but in the meantime, any advice is highly appreciated. :)
András
Also, its great that you are taking on the spec file for RPMs! Once you get 'puredata' working, then it would be very handy if you could make one for the externals/template. Then it'll be easy to make RPMs for most of the libraries in Pd-extended, just like what's in Debian.
I've never made RPMs before, but I've done a lot of other packaging, so I'll help where I can.
.hc