git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: RPM for gitweb (was: SPEC files for git)

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 1, 2008, 15:57 UTC
Message-ID
<m3prkbj3ch.fsf@localhost.localdomain>
In-Reply-To
<4933FFC6.8080306@morey-chaisemartin.com>
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
Previous: Nicolas Morey-ChaisemartinNext: Michael J Gruber
Message 2 of 4 in “SPEC files for Git”
  1. Nicolas Morey-ChaisemartinDec 1, 2008
  2. Jakub NarebskiDec 1, 2008
  3. Michael J GruberDec 1, 2008
  4. Todd ZullingerDec 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.