git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael J Gruber <git@drmicha.warpmail.net>
To: devel@morey-chaisemartin.com
Cc: git@vger.kernel.org
Subject: Re: SPEC files for Git
Date: Mon, 01 Dec 2008 17:00:03 +0100	[thread overview]
Message-ID: <49340A03.5090708@drmicha.warpmail.net> (raw)
In-Reply-To: <4933FFC6.8080306@morey-chaisemartin.com>

Nicolas Morey-Chaisemartin venit, vidit, dixit 01.12.2008 16:16:
> Hi,
> 
> I'm trying to recompile gitweb1.6.0.4-1 for RHEL5, but I'm missing the
> spec file.
> I've checked the git SRP. It generates a lot of things but no RPM for
> gitweb.

RHEL5 probably comes with git 1.5.something, and its spec file won't
work nicely with git 1.6.x (because of new install locations).

> Is there any place with an official spec file? Or has anyone made one
> which he could share?

git source comes with a spec file template. If you have a git checkout
(or source tree) then "make git.spec" will generate it.

It does not generate a gitweb subpackage, but you only need to add a few
lines, following the example of the archimport package, say.

Or, even simpler: Just take the srpm from Fedora 10 and rebuild (gitweb
is a subpackage of git in F10, so you need the git srpm (e.g.
'yumdownloader --source gitweb' on an F10 instance). Installing the srpm
(as non-root) gives you the spec, I'm sure you know ;)

Michael

  parent reply	other threads:[~2008-12-01 16:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 15:16 SPEC files for Git Nicolas Morey-Chaisemartin
2008-12-01 15:57 ` RPM for gitweb (was: SPEC files for git) Jakub Narebski
2008-12-01 16:00 ` Michael J Gruber [this message]
2008-12-01 16:42 ` SPEC files for Git Todd Zullinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49340A03.5090708@drmicha.warpmail.net \
    --to=git@drmicha.warpmail.net \
    --cc=devel@morey-chaisemartin.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).