Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a way to build RPM from the SVN. I know that i need to export to the source directory, but i wondered if there is any source or app i could use to do that.

In particular, i was wondering how to:

  • Pass revision and version number from the SVN to the RPM.
  • Deal with configuration files.

Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You could take a look at Docu: IzzySoft Release Framework : Software Release Made Easy -- that's what I use for my projects. It pulls the code from various sources (including SVN, CVS, filesystem via cp), generates .tar.gz, .deb, .rpm, handles the changelog, uploads to the target server(s) via scp, ftp, rsync... It may require a little time for the initial setup -- but once that is done, releasing a new version of your programm is as easy as relman MyProg 1.2.3 (where 1.2.3 is the version number to give to the release, as used for packaging). It will then ask for confirmation -- and shortly thereafter (depending on your project), all the files are on the server(s).

share|improve this answer
    
thanks, i will look into it... –  Kuf Jul 19 '12 at 15:49
    
You're welcome! All the parts of it are documented -- but if there are questions left, just go ahead and ask. –  Izzy Jul 19 '12 at 16:17
1  
I just notice I forgot the disclosure: I'm the dev of said framework, and author of the linked article. Though that might have been guessed from the name and my nick already, it's custom to explicitly state it. Better late than never ;) –  Izzy Mar 10 at 13:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.