On 2013-09-24 05:15, ToddAndMargo wrote: >>> On Mon, Sep 23, 2013 at 7:39 PM, ToddAndMargo <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Hi All, >>> >>> How do you do a >>> rpmbuild -ta tar_ball >>> when the source is not a tar ball and the >>> directory structure exists on the web? >>> (The directory is everything that would be >>> in the tar ball.) > > On 09/23/2013 07:51 PM, Nico Kadel-Garcia wrote: >> If you mean a github repository with a package that has a workable >> ".spec" file, you can download a ".zip" file from github.com >> <http://github.com>, and rpmbuild deals with those just fine. >> >> If the source is a few files, you can replace the '%setup" scripting >> with some simplified ocmmands in a .spec file to copy in and deploy the >> relevant components. Or, you can make a git checkout or Subversion >> checkout of a particular tag, or referenced revision level, check that >> out, put it in a tarball, and build from *THAT*. >> >> > > Hi Nico, > > This is the actual directory. > > http://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk/ > > If I were to wget it and tar it, I could run the > "rpmbuild -ta tar_ball" command on it. > > But, for the fun/challenge of it, I wanted to do it > directly from the web. Now I know that you can insert > web addresses into rpmbuild > rpmbuild -ta http://some_tar_bal_on_the_web > But, I wanted to do it directly to a directory tree. > > -T >
Don't look at the subversion tree, look via the webinterface http://sourceforge.net/p/rdesktop/code/HEAD/tree/rdesktop/trunk/ Here you have the option to download a zip'd snapshot. -- olli
