]> 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 0b9d5c090c3e4695acb7db420888062b8e0ab21d..16a4dd1f2f0bc35e95b1e3a3d1598a379f48c305 100644 (file)
@@ -1,67 +1,60 @@
-%define        name    cvsweb
-%define        version 1.79
-%define        release 1
-%define        serial  1
-
-Summary:       visual (www) interface to explore a cvs repository
-Name:          %{name}
-Version:       %{version}
-Release:       %{release}
-Serial:                %{serial}
-Copyright:     BSD type
+Summary:       Visual (www) interface to explore a cvs repository
+Summary(pl):   Wizualny (WWW) interfejs do przegl±dania repozytorium cvs
+Name:          cvsweb
+Version:       1.93
+Release:       1
+Epoch:         1
+License:       BSD-like
 Group:         Development/Tools
 URL:           http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
-Source:                %{name}-%{version}.tar.bz2
-Patch:         %{name}-1.73-config.patch
-BuildRoot:     /var/tmp/%{name}-%{version}
-BuildArchitectures: noarch
+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
 
 %description
-cvsweb is a visual (www) interface to explore a cvs repository. This 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 a visual (www) interface to explore a cvs repository. This
+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 requires the server to have cvs and a cvs repository worth exploring.
+cvsweb requires the server to have cvs and a cvs repository worth
+exploring.
 
 %description -l pl
-cvsweb jest wizualnym interfejsem do eksploracji repozytorium cvs. Jest to
-ulepszona wersja programu cvsweb Hennera Zellera. Do ulepszeñ zaliczyæ mo¿na
-rozpoznawanie i wy¶wietlanie popularnych typów MIME; wizualnych, kolorowych, 
-umieszczonych obok siebie ró¿nic miêdzy plikami oraz zdolno¶æ sortowania 
-widoku plików oraz ukrywania starych plików. ¯ywym przyk³adem ulepszonego
-cvsweba jest cvsweb projektu KDE.
+cvsweb jest wizualnym interfejsem do eksploracji repozytorium cvs.
+Jest to ulepszona wersja programu cvsweb Hennera Zellera. Do ulepszeñ
+zaliczyæ mo¿na rozpoznawanie i wy¶wietlanie popularnych typów MIME;
+wizualnych, kolorowych, umieszczonych obok siebie ró¿nic miêdzy
+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 CVS 
-warte eksploracji.
+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
-if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT ; fi
-mkdir -p $RPM_BUILD_ROOT/{home/httpd/cgi-bin,etc/httpd/conf}
-install -m 755 cvsweb.cgi $RPM_BUILD_ROOT/home/httpd/cgi-bin
-install -m 644 cvsweb.conf $RPM_BUILD_ROOT/etc/httpd/conf
+rm -rf $RPM_BUILD_ROOT
+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
+
+gzip -9nf INSTALL README TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-%doc INSTALL README TODO
+%defattr(644,root,root,755)
+%doc *.gz
 %doc icons
-/home/httpd/cgi-bin/cvsweb.cgi
-%config(noreplace) /etc/httpd/conf/cvsweb.conf
-
-%changelog
-* Tue Nov  9 1999 Peter Hanecak <hanecak@megaloman.sk>
-- updated to 1.79
-
-* Tue Oct 12 1999 Peter Hanecak <hanecak@megaloman.sk>
-- initial spec (based on Ryan Weaver's <ryanw@infohwy.com> gtksee spec
-  because i like the style of it)
+%attr(755,root,root) /home/httpd/cgi-bin/cvsweb.cgi
+%config(noreplace) %{_sysconfdir}/httpd/cvsweb.conf
This page took 0.124197 seconds and 4 git commands to generate.