Name: cvsweb
Version: 3.0.5
Release: 2%{?dist}
Epoch: 0
Summary: Web interface for CVS repositories
License: BSD
Group: Development/Tools
URL: http://www.freebsd.org/projects/cvsweb.html
Source0: http://people.freebsd.org/~scop/cvsweb/%{name}-%{version}.tar.gz
Patch0: %{name}-fedora-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Perl deps autodetected by rpm.
Requires: rcs, cvs, httpd
%description
CVSweb is a WWW interface for CVS repositories with which you can
browse a file hierarchy on your browser to view each file's revision
history in a very handy manner. This package contains the FreeBSD
version of CVSweb.
%prep
%setup -q
%patch0 -p1
%build
%install
rm -rf $RPM_BUILD_ROOT
install -Dpm 755 cvsweb.cgi \
$RPM_BUILD_ROOT%{_localstatedir}/www/cgi-bin/cvsweb.cgi
install -Dpm 644 css/cvsweb.css \
$RPM_BUILD_ROOT%{_localstatedir}/www/html/css/cvsweb.css
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/cvsweb/conf.d
install -pm 644 cvsweb.conf $RPM_BUILD_ROOT%{_sysconfdir}/cvsweb
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/enscript/hl
install -pm 644 enscript/lang_cvsweb*.st $RPM_BUILD_ROOT%{_datadir}/enscript/hl
install -Dpm 644 icons/minigraph.png \
$RPM_BUILD_ROOT%{_localstatedir}/www/icons/small/minigraph.png
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog NEWS README TODO INSTALL samples/cvsweb-httpd.conf
%config(noreplace) %{_sysconfdir}/cvsweb/
%{_localstatedir}/www/cgi-bin/cvsweb.cgi
%{_localstatedir}/www/html/css
%{_localstatedir}/www/icons/small/minigraph.png
%{_datadir}/enscript/
%changelog
* Sat Aug 18 2007 Marek Mahut <mmahut fedoraproject.org> - 0:3.0.5-2
- Rebuild
* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.5-1
- 3.0.5.
- Install the sample httpd.conf as doc instead of into place; running
cvsweb with mod_perl does not play nicely with SELinux.
* Sat Nov 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.4-1
- Update to 3.0.4.
* Wed Nov 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.3-0.fdr.1
- Update to 3.0.3.
* Fri Aug 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.2-0.fdr.1
- Update to 3.0.2.
* Sat May 8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.1-0.fdr.1
- Update to 3.0.1.
* Sat Apr 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.0-0.fdr.2
- Make httpd reload its config on install, upgrade and erase.
- Rename httpd config file snippet to zzz-cvsweb.conf to ensure it is
loaded after the possible perl.conf from mod_perl.
* Thu Feb 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.0-0.fdr.1
- Update to 3.0.0.
* Sun Feb 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.9.3-0.fdr.1
- Update to 2.9.3 (beta).
* Sat Jan 31 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.9.2-0.fdr.1
- Update to 2.9.2 (beta).
- Include CvsGraph icon.
- Don't use -l with cvs(1), and enable read-only annotations by default.
- Note: this is not a plug-in upgrade from earlier versions, manual
configuration changes in %%{_sysconfdir}/cvsweb/cvsweb.conf are needed.
See INSTALL for details.
* Sat Oct 25 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.9.1-0.fdr.3
- Allow tarballs download by default, and make root own the files inside.
* Mon Oct 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.9.1-0.fdr.2
- Fix source permissions.
* Mon Oct 6 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.9.1-0.fdr.1
- Update to 2.9.1.
* Mon Apr 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.0.6-0.fdr.2
- Don't use "Powered by..." image by default (#22 comment 5).
- Remove spurious BuildRequires: perl.
- Conditionalize httpd vs apache dependency for easier deployment on RH7x.
- Save .spec in UTF-8.
* Sat Apr 5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.0.6-0.fdr.1
- Update to current Fedora guidelines.
* Sun Feb 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.0.6-1.fedora.1
- First Fedora release.