File archzoom.spec of Package archzoom
#
# spec file for package archzoom (Version 0.5.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#
# norootforbuild
Name: archzoom
BuildRequires: perl-Arch
License: GPL
Group: Development/Tools/Version Control
Autoreqprov: on
Version: 0.5.1
Release: 1
URL: http://migo.sixbit.org/software/archzoom/
Summary: Web-based Browser for GNU Arch Revision Control System
Requires: http_daemon enscript perl-Arch >= 0.4.2
Source: %{name}-%{version}.tar.bz2
Source1: README.SUSE
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define apache_serverroot /srv/www
%description
ArchZoom is a web-based browser for the GNU Arch revision control
system with minimal requirements and decent configurability. It
provides easy-to-use navigation from managed archives to complete
revision trees and features multiple views, like expanded changeset
information with colored diffs inline.
If your revision library becomes too large, you might want to install
axp to manage it.
Authors:
--------
Mikhael Goikhman <migo@homemail.com>
Alejandro Mery <amery@geeks.cl>
Martin Pool <mbp@samba.org>
Toni Mueller <support@oeko.net>
Enno Cramer <uebergeek@web.de>
Gergely Nagy <algernon@bonehunter.rulez.org>
James Troup <james@nocrew.org>
%prep
%setup -q
cp %{S:1} .
%build
./configure \
--bindir=%{apache_serverroot}/cgi-bin \
--with-datadir=%{_datadir}/archzoom \
--with-cachedir=/var/cache/archzoom \
--with-confdir=/etc/archzoom \
--with-homedir=/etc/archzoom \
--with-statedir=/var/lock \
--without-arch-perl
%install
make install DESTDIR=$RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/etc/archzoom/.arch-params
echo '/var/cache/archzoom/revlib' > $RPM_BUILD_ROOT/etc/archzoom/.arch-params/=revision-library
install -d -m 755 $RPM_BUILD_ROOT/var/cache/archzoom/revlib
touch $RPM_BUILD_ROOT/var/cache/archzoom/revlib/=greedy
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,755)
%doc README NEWS TODO COPYING README.SUSE AUTHORS
%{apache_serverroot}/cgi-bin/*
/usr/share/archzoom
%config /etc/archzoom
%attr(755,wwwrun,www) /var/cache/archzoom
%changelog -n archzoom
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 05 2006 - jmatejek@suse.cz
- update to 0.5.1
* Wed Apr 27 2005 - mcihar@suse.cz
- update to 0.5.0
* Mon Feb 07 2005 - mcihar@suse.cz
- update to 0.4.2
* Wed Jan 19 2005 - mcihar@suse.cz
- correctly install templates
* Tue Jan 18 2005 - mcihar@suse.cz
- update to 0.4.1
* Mon Jan 03 2005 - mcihar@suse.cz
- update to 0.4.0
- preconfigured package so only archive locations need to be added
* Mon Aug 30 2004 - mcihar@suse.cz
- update to 0.3.1
* Fri Jul 30 2004 - mcihar@suse.cz
- update to 0.3.0
* Fri May 28 2004 - mcihar@suse.cz
- require enscript for syntax highlighting
* Thu May 27 2004 - mcihar@suse.cz
- initial packaging