SCIENTIFIC-LINUX-USERS Archives

September 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Mon, 23 Sep 2013 20:15:56 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
>> On Mon, Sep 23, 2013 at 7:39 PM, ToddAndMargo <[log in to unmask]
>> <mailto:[log in to unmask]>> 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



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ATOM RSS1 RSS2