Re: Packaging some Redhat admin tools

2003-08-07 Thread Matthias Urlichs
Hi, Francesco Paolo Lovergine wrote:

> rpm -Uvh estracts in /usr/src/rpm/SOURCES

The best idea probably is to use rpm2cpio => extract to the current
directory.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
-- 
BOFH excuse #212:

Of course it doesn't work. We've performed a software upgrade.




Re: Packaging some Redhat admin tools

2003-08-07 Thread Francesco Paolo Lovergine
On Thu, Aug 07, 2003 at 11:15:35AM +0200, Josselin Mouette wrote:
> > 
> > So, I wonder if someone has already built a package from a SRPM package
> > ?
> 
> You can easily extract the .tar.gz using alien.
> 

rpm -Uvh estracts in /usr/src/rpm/SOURCES

-- 
Francesco P. Lovergine




Re: Packaging some Redhat admin tools

2003-08-07 Thread Marco d'Itri
On Aug 07, Cédric Delfosse <[EMAIL PROTECTED]> wrote:

 >So, I wonder if someone has already built a package from a SRPM package
 >?
prelink

-- 
ciao, |
Marco | [1175 vol.vXH2n4yMA]


pgpEXBULObHxj.pgp
Description: PGP signature


Re: Packaging some Redhat admin tools

2003-08-07 Thread Gunnar Wolf
Cédric Delfosse dijo [Thu, Aug 07, 2003 at 11:04:45AM +0200]:
> Hello
> 
> at work, I have played a little bit with a Redhat 9. There are lots of
> nice system setup tools that could be useful for Debian users. These
> tools are GPL.
> The problems are:
>  - no source tar.gz / tar.bz2 distribution (AFAIK),
>  - no Redhat anonymous CVS access (AFAIK),
>  - only SRPM distribution.
> 
> So, I wonder if someone has already built a package from a SRPM package
> ?

IIRC, the SRPM must contain a orig.tar.gz, a 'spec' file (I understand
is something encompassing our 'control' and 'rules' files) and,
optionally, some patches.

Greetings,

-- 
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5630-9700 ext. 1366
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF


pgpLVy7niHa9u.pgp
Description: PGP signature


Re: Packaging some Redhat admin tools

2003-08-07 Thread Ross Burton
Oh, of course you could always mail the RH maintainer.  I packaged
eggcups and although the RH site only has SRPMS, the maintainer has a
collection of source tarballs on his personal web site.

Ross
-- 
Ross Burton mail: [EMAIL PROTECTED]
  jabber: [EMAIL PROTECTED]
 www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF


signature.asc
Description: This is a digitally signed message part


Re: Packaging some Redhat admin tools

2003-08-07 Thread Matthew Palmer
On Thu, Aug 07, 2003 at 11:04:45AM +0200, C?dric Delfosse wrote:
> So, I wonder if someone has already built a package from a SRPM package

I certainly haven't, but surely you could use RPM to extract the source from
the SRPM, then tarball it back up, and there's your .orig.tar.gz?

Build as per normal from there.

If I'm way off the bat (I'm certainly no RPM expert) I'm happy to be slapped
about with a dead fish.  

- Matt




Re: Packaging some Redhat admin tools

2003-08-07 Thread Josselin Mouette
Le jeu 07/08/2003 à 11:04, Cédric Delfosse a écrit :
>  - only SRPM distribution.
> 
> So, I wonder if someone has already built a package from a SRPM package
> ?

You can easily extract the .tar.gz using alien.

Regards,
-- 
 .''`.   Josselin Mouette/\./\
: :' :   [EMAIL PROTECTED]
`. `'[EMAIL PROTECTED]
  `-  Debian GNU/Linux -- The power of freedom


signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Re: Packaging some Redhat admin tools

2003-08-07 Thread Oliver Kurth
On Thu, Aug 07, 2003 at 11:04:45AM +0200, C?dric Delfosse wrote:
> Hello
> 
> at work, I have played a little bit with a Redhat 9. There are lots of
> nice system setup tools that could be useful for Debian users. These
> tools are GPL.
> The problems are:
>  - no source tar.gz / tar.bz2 distribution (AFAIK),
>  - no Redhat anonymous CVS access (AFAIK),
>  - only SRPM distribution.
> 
> So, I wonder if someone has already built a package from a SRPM package
> ?

srpms include a .tar.gz. I think you should be able to extract that
using rpm. There is rpm in Debian.

Greetings,
Oliver

-- 
  .''`.
 : :' :Oliver Kurth [EMAIL PROTECTED]
 `. `'   Debian GNU/Linux maintainer - www.debian.org
   `-
When sending passwords, please use my gpg key. That's what it's good for.



pgpRfMIoVk7a0.pgp
Description: PGP signature


Re: Packaging some Redhat admin tools

2003-08-07 Thread Ross Burton
On Thu, 2003-08-07 at 10:04, Cédric Delfosse wrote:
> Hello
> 
> at work, I have played a little bit with a Redhat 9. There are lots of
> nice system setup tools that could be useful for Debian users. These
> tools are GPL.
> The problems are:
>  - no source tar.gz / tar.bz2 distribution (AFAIK),
>  - no Redhat anonymous CVS access (AFAIK),
>  - only SRPM distribution.
> 
> So, I wonder if someone has already built a package from a SRPM package

Just use rpm2cpio to extract the source tarballs and any patches.

Note that most of the admin tools have some serious deps...  I started
to port their X configuration tools, which requires RH python-x binding,
which requires the Red Hat Python library, which doesn't build on Debian
very well.  I started but never finished porting this tool, but I should
try again when the python2.2->2.3 transition is over.

(my debs of these packages are available at www.burtonini.com/debian)

Ross
-- 
Ross Burton mail: [EMAIL PROTECTED]
  jabber: [EMAIL PROTECTED]
 www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF


signature.asc
Description: This is a digitally signed message part


Packaging some Redhat admin tools

2003-08-07 Thread Cédric Delfosse
Hello

at work, I have played a little bit with a Redhat 9. There are lots of
nice system setup tools that could be useful for Debian users. These
tools are GPL.
The problems are:
 - no source tar.gz / tar.bz2 distribution (AFAIK),
 - no Redhat anonymous CVS access (AFAIK),
 - only SRPM distribution.

So, I wonder if someone has already built a package from a SRPM package
?

Regards,

-- 
Cédric Delfosse, http://cedric.freezope.org
Jabber ID: [EMAIL PROTECTED]


signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=