#Module-Specific definitions %define mod_version 0.2.0 %define release 1mdk %define mod_name mod_auth_msfix %define mod_conf A24_%{mod_name}.conf %define mod_so %{mod_name}.so %define sourcename %{mod_name}-%{mod_version} #New ADVX macros %define ADVXdir %{_datadir}/ADVX %{expand:%(cat %{ADVXdir}/ADVX-build)} %{expand:%%global ap_version %(%{apxs} -q ap_version)} # Standard Module Definitions %define name %{ap_name}-%{mod_name} %define version %{ap_version}_%{mod_version} #Standard ADVX requires Prereq: %{ap_name} = %{ap_version} Prereq: %{ap_name}-conf BuildRequires: ADVX-build >= 9.2 BuildRequires: %{ap_name}-devel >= 2.0.43-5mdk Provides: ADVXpackage Provides: AP20package Summary: Mod_auth_msfix is a DSO module for the %{ap_name} Web server. Name: %{name} Version: %{version} Release: %{release} Group: System/Servers Source0: %{sourcename}.tar.bz2 Source1: %{mod_conf}.bz2 License: GPL URL: http://www.luluware.com/mod_auth_msfix.html Prereq: rpm-helper Requires: %{ap_name}-mod_dav BuildRoot: %{_tmppath}/%{name}-buildroot %description When MS XP Clients connect to WebDAV they may have a problem sending the user's name to Apache. This mod can fix the user's name %prep %setup -q -n %{sourcename} %build %{apxs} -c %{mod_name}.c %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %ADVXinstlib %ADVXinstconf %{SOURCE1} %{mod_conf} %ADVXinstdoc %{name}-%{version} %post %ADVXpost %postun %ADVXpost %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES INSTALL README mod_auth_msfix.html %config(noreplace) %{ap_confd}/%{mod_conf} %{ap_extralibs}/%{mod_so} %{ap_webdoc}/* %changelog * Wed Nov 12 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.48_0.2.0-1mdk - initial cooker contrib