%define mod_name cvs
%define apxs /usr/sbin/apxs
Summary: Apache module: Automatically updates files in a CVS-based webtree
-Summary(pl): Modu³ do apache: Automatyczne uaktualnianie plików z drzewa CVS
+Summary(pl.UTF-8): Moduł do apache: Automatyczne uaktualnianie plików z drzewa CVS
Name: apache-mod_%{mod_name}
Version: 0.5.91
Release: 2
Source0: http://resare.com/noa/mod_cvs/dist/mod_%{mod_name}-%{version}.tar.gz
# Source0-md5: ef100c30ff734464c6194a2e707136b5
URL: http://www.resare.com/noa/mod_cvs/
-BuildRequires: %{apxs}
+BuildRequires: apache-apxs >= 2.0
BuildRequires: apache-devel
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: zlib-devel
Requires(triggerpostun): %{apxs}
-Requires: apache
+Requires: apache(modules-api) = %apache_modules_api
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
%description
Apache module: Automatically updates files in a CVS-based webtree.
-%description -l pl
-Modu³ do apache: Automatyczne uaktualnianie plików z drzewa CVS.
+%description -l pl.UTF-8
+Moduł do apache: Automatyczne uaktualnianie plików z drzewa CVS.
%prep
%setup -q -n mod_%{mod_name}-%{version}