git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SPEC files for Git
@ 2008-12-01 15:16 Nicolas Morey-Chaisemartin
  2008-12-01 15:57 ` RPM for gitweb (was: SPEC files for git) Jakub Narebski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nicolas Morey-Chaisemartin @ 2008-12-01 15:16 UTC (permalink / raw)
  To: git

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.

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

Best regards

Nicolas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RPM for gitweb (was: SPEC files for git)
  2008-12-01 15:16 SPEC files for Git Nicolas Morey-Chaisemartin
@ 2008-12-01 15:57 ` Jakub Narebski
  2008-12-01 16:00 ` SPEC files for Git Michael J Gruber
  2008-12-01 16:42 ` Todd Zullinger
  2 siblings, 0 replies; 4+ messages in thread
From: Jakub Narebski @ 2008-12-01 15:57 UTC (permalink / raw)
  To: Nicolas Morey-Chaisemartin; +Cc: git

Nicolas Morey-Chaisemartin <devel@morey-chaisemartin.com> writes:

> I'm trying to recompile gitweb-1.6.0.4-1 for RHEL5, but I'm missing
> the spec file.  I've checked the git SRPM. 

Which SRPM? The one for RHEL or Fedora Core, or the one from
http://www.kernel.org/pub/software/scm/git/RPMS/SRPMS/ ?

> It generates a lot of things but no RPM for gitweb.
> 
> Is there any place with an official spec file? Or has anyone made one
> which he could share?

The .spec file for various git subpackages (git, git-all, git-svn,
gitk, git-gui, git-email, perl-Git, etc.) is in git src.rpm file, and
source for it can be found as git.spec.in file in git.git repository.

There is no gitweb RPM subpackage in generic .spec file from git.git
repository (from kernel.org) because 1.) installation of CGI scripts
(or mod_perl legacy scripts) depends on distribution (what web server
is installed, where and how config for this web server is managed);
2.) there is no standard place where to put git repositories to be
hosted by gitweb like /var/www/html/ or /var/www/cgi-bin/

Read gitweb/INSTALL[1] from git repository on how to install gitweb.

[1] http://repo.or.cz/w/git.git/:/gitweb/README
-- 
Jakub Narebski
Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SPEC files for Git
  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
  2008-12-01 16:42 ` Todd Zullinger
  2 siblings, 0 replies; 4+ messages in thread
From: Michael J Gruber @ 2008-12-01 16:00 UTC (permalink / raw)
  To: devel; +Cc: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SPEC files for Git
  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 ` SPEC files for Git Michael J Gruber
@ 2008-12-01 16:42 ` Todd Zullinger
  2 siblings, 0 replies; 4+ messages in thread
From: Todd Zullinger @ 2008-12-01 16:42 UTC (permalink / raw)
  To: Nicolas Morey-Chaisemartin; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

Nicolas Morey-Chaisemartin wrote:
> 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.
> 
> Is there any place with an official spec file? Or has anyone made
> one which he could share?

Far from official, but here's what I've been using, based on the
Fedora and EPEL packages: http://tmz.fedorapeople.org/tmp/git/el5/

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Many people are secretly interested in life.


[-- Attachment #2: Type: application/pgp-signature, Size: 542 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-01 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` SPEC files for Git Michael J Gruber
2008-12-01 16:42 ` Todd Zullinger

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).