Fedora Core 5 package

I have built llvm as a Fedora Core 5 package :
http://www.demi.com.au/downloads/i386/llvm/
comments welcome.

Hi David,

There doesn't appear to be an rpm target in the Makefile.
My spec file is derived from the included spec file however it did not
honour the DESTDIR, hence the changes.

The rpm target was added after 1.8 was released so I guess you're not
using CVS version. I also made several changes to the spec file which
you might be interested in. The current version is attached.

Reid.

llvm.spec (1.72 KB)

Hi,

Is anyone working on getting LLVM into Fedora Extras? This would allow
anyone with FC-5 or greater to simply "yum install llvm" without any
other preparation.

If no one here is working on this, I can start the Fedora Extras new
package process, which should only take a few weeks to complete. LLVM
has been on my "planned packages" list for a while now.

Thanks,

Adam

Reid Spencer wrote:

Hi Adam,

Hi,

Is anyone working on getting LLVM into Fedora Extras?

Not that I know of.

This would allow anyone with FC-5 or greater to simply
"yum install llvm" without any other preparation.

Yes, that would be a welcome addition.

If no one here is working on this, I can start the Fedora Extras new
package process, which should only take a few weeks to complete. LLVM
has been on my "planned packages" list for a while now.

That would be great! Thanks.

Once the 1.9 release is made (November?), you should be able to:

make dist # make distribution source tarball
make dist-check # verify distribution source can build itself
make rpms # make source rpm package
make rpm # make binary rpm package

Reid.

Reid Spencer wrote:

If no one here is working on this, I can start the Fedora Extras new
package process, which should only take a few weeks to complete. LLVM
has been on my "planned packages" list for a while now.

That would be great! Thanks.

Okay, I'll start putting together a Fedora package and then start the
process.

Once the 1.9 release is made (November?), you should be able to:

make dist # make distribution source tarball
make dist-check # verify distribution source can build itself
make rpms # make source rpm package
make rpm # make binary rpm package

I don't know how it works in other RPM-based distributions (like SUSE),
but in Fedora, the spec file is kept in version control, external to
upstream source.

Because of differences in distributions, there's no such thing as a "one
size fits all" RPM build. Even within Fedora, the RPM spec file is
stored in separate branches for different versions (FC-4, FC-5, FC-6,
etc.) because of differences between releases. For Fedora, the LLVM
"make rpm" feature would not be used, since the spec file must exist in
Fedora CVS and be customized for the exact version of Fedora.

I suspect other distributions are equally customized, and so the "make
rpm" feature would be useful only in the case where a package is not yet
available for a particular distribution.

Anyway, your spec file should be a good starting point for the Fedora
package. Once the review request is filed, I will send a pointer to the
list if anyone is curious about following its progress.

Thanks,

Adam

Hi Adam,

Reid Spencer wrote:
>> If no one here is working on this, I can start the Fedora Extras new
>> package process, which should only take a few weeks to complete. LLVM
>> has been on my "planned packages" list for a while now.
>
> That would be great! Thanks.

Okay, I'll start putting together a Fedora package and then start the
process.

Wonderful, thanks.

>
> Once the 1.9 release is made (November?), you should be able to:
>
> make dist # make distribution source tarball
> make dist-check # verify distribution source can build itself
> make rpms # make source rpm package
> make rpm # make binary rpm package
>

I don't know how it works in other RPM-based distributions (like SUSE),
but in Fedora, the spec file is kept in version control, external to
upstream source.

Our spec file is in rpm.spec.in at the top level of the LLVM source
tree, in CVS. Is that what you mean?

Because of differences in distributions, there's no such thing as a "one
size fits all" RPM build. Even within Fedora, the RPM spec file is
stored in separate branches for different versions (FC-4, FC-5, FC-6,
etc.) because of differences between releases. For Fedora, the LLVM
"make rpm" feature would not be used, since the spec file must exist in
Fedora CVS and be customized for the exact version of Fedora.

Okay, didn't know that. Well, at least you could use it as a starting
point.

I suspect other distributions are equally customized, and so the "make
rpm" feature would be useful only in the case where a package is not yet
available for a particular distribution.

Okay. You will find "make dist" and "make dist-check" handy though.
That is how you generate a certified source tarball. Which is the
beginning step for an RPM package.

Anyway, your spec file should be a good starting point for the Fedora
package.

I suspect so.

Once the review request is filed, I will send a pointer to the
list if anyone is curious about following its progress.

Yes, please do send it to this list. That would be great.

Thanks,

Adam

Thank you!

Reid.