-Summary: visual (www) interface to explore a cvs repository
+Summary: Visual (www) interface to explore a cvs repository
+Summary(pl): Wizualny (WWW) interfejs do przegl±dania repozytorium cvs
Name: cvsweb
-Version: 1.79
+Version: 1.93
Release: 1
-Serial: 1
-License: BSD type
+Epoch: 1
+License: BSD-like
Group: Development/Tools
-Group(fr): Development/Outils
-Group(pl): Programowanie/Narzêdzia
URL: http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
-Source0: %{name}-%{version}.tar.bz2
-Patch0: %{name}-1.73-config.patch
+Source0: http://stud.fh-heilbronn.de/~zeller/download/%{name}-%{version}.tar.gz
+Patch0: %{name}-config.patch
+Requires: rcs
+Requires: webserver
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildArch: noarch
recognition and display of popular mime-types, visual, color-coded,
side by side diffs of changes and the ability sort the file display
and to hide old files from view. One living example of the enhanced
-cvsweb is the KDE cvsweb
+cvsweb is the KDE cvsweb.
cvsweb requires the server to have cvs and a cvs repository worth
exploring.
plikami oraz zdolno¶æ sortowania widoku plików oraz ukrywania starych
plików. ¯ywym przyk³adem ulepszonego cvsweba jest cvsweb projektu KDE.
-cvsweb wymaga, by na serwerze by³ zainstalowany CVS oraz repzytorium
+cvsweb wymaga, by na serwerze by³ zainstalowany CVS oraz repozytorium
CVS warte eksploracji.
%prep
-%setup -q -n cvsweb
-%patch -p1
-
-%build
+%setup -q -n %{name}
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{home/httpd/cgi-bin,etc/httpd/conf}
+install -d $RPM_BUILD_ROOT/{home/httpd/cgi-bin,%{_sysconfdir}/httpd}
install cvsweb.cgi $RPM_BUILD_ROOT/home/httpd/cgi-bin
-install cvsweb.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf
+install cvsweb.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd
+
+gzip -9nf INSTALL README TODO
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc INSTALL README TODO
+%doc *.gz
%doc icons
-/home/httpd/cgi-bin/cvsweb.cgi
-%config(noreplace) /etc/httpd/conf/cvsweb.conf
+%attr(755,root,root) /home/httpd/cgi-bin/cvsweb.cgi
+%config(noreplace) %{_sysconfdir}/httpd/cvsweb.conf