]> git.pld-linux.org Git - packages/cvsweb.git/blobdiff - cvsweb.spec
- Moved config file out of httpd directory as it is not readable for CGI
[packages/cvsweb.git] / cvsweb.spec
index 0065166db0998a7173b793c3ac83ac03c0eb6ad0..16a4dd1f2f0bc35e95b1e3a3d1598a379f48c305 100644 (file)
@@ -1,15 +1,16 @@
-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
 
@@ -19,7 +20,7 @@ is an enhanced cvsweb developed by Henner Zeller. Enhancements include
 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.
@@ -32,28 +33,28 @@ wizualnych, kolorowych, umieszczonych obok siebie r
 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
This page took 0.128076 seconds and 4 git commands to generate.