%define mod_name cvs
-Summary: Apache module: Automatically updates files in a CVS-based webtree.
+Summary: Apache module: Automatically updates files in a CVS-based webtree
Summary(pl): Modu³ do apache: Automatyczne uaktualnianie plików z drzewa CVS
Name: apache-mod_%{mod_name}
Version: 0.4
-Release: 1
-Copyright: GPL
+Release: 2
+License: GPL
Group: Networking/Daemons
Group(pl): Sieciowe/Serwery
Source0: mod_%{mod_name}-%{version}.tar.gz
BuildRequires: /usr/sbin/apxs
BuildRequires: apache-devel
BuildRequires: zlib-devel
-Prereq: %{_sbindir}/apxs
-BuildRequires: %{_sbindir}/apxs
+Prereq: /usr/sbin/apxs
Requires: apache
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _pkglibdir %(/usr/sbin/apxs -q LIBEXECDIR)
%description
-Apache module: On-the-fly decompression of HTML documents.
+Apache module: Automatically updates files in a CVS-based webtree.
%description -l pl
-Modu³ do apache: dekompresuje dokumenty HTML w locie.
+Modu³ do apache: Automatyczne uaktualnianie plików z drzewa CVS.
%prep
%setup -q -n mod_%{mod_name}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
-
install -d $RPM_BUILD_ROOT%{_pkglibdir}
install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
-strip --strip-unneeded $RPM_BUILD_ROOT%{_pkglibdir}/*
-
%post
/usr/sbin/apxs -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then