1 Summary: WebDAV module for the Apache Web server
2 Summary(pl): Modu³ WebDAV dla webserwera Apache
3 %define apache_version 1.3.6
5 Name: apache-mod_%{mod_name}
8 Group: Networking/Daemons
9 Group(de): Netzwerkwesen/Server
10 Group(pl): Sieciowe/Serwery
12 Source0: http://www.webdav.org/mod_dav/mod_%{mod_name}-%{version}-%{apache_version}.tar.gz
13 URL: http://www.webdav.org/mod_dav/
14 Prereq: /usr/sbin/apxs
15 BuildRequires: /usr/sbin/apxs
16 BuildRequires: expat-devel
17 BuildRequires: apache(EAPI)-devel >= %{apache_version}
18 Requires: apache(EAPI) >= %{apache_version}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _pkglibdir %(%{_sbindir}/apxs -q LIBEXECDIR)
26 mod_dav enables Apache to understand DAV protocol (extensions to
27 HTTP). DAV stands for "Distributed Authoring and Versioning", and is
28 defined by RFC 2518. DAV is intended to replace proprietary authoring
29 protocols such as those used by Frontpage or NetObjects' Fusion, but
30 is also a complete set of protocols for manipulating a webserver's
31 files and directories, and their properties.
34 mod_dav w³±cza w Apache obs³ugê protoko³u DAV (rozszerzenie HTTP). DAV
35 oznacza "Dystrybuowane Oznaczanie i Wersjonowanie", i jest
36 zdefiniowany w RFC 2518. Podstawow± misj± DAV jest zast±piæ takie
37 protoko³y jak te u¿ywane w Frontpage czy NetObjects' Fusion. Lecz DAV
38 to tak¿e kompletny zestaw protoko³ów s³u¿±cych do manipulowania
39 plikami i katalogami serwera Web, oraz ich w³±¶ciwo¶ciami.
42 %setup -q -n mod_%{mod_name}-%{version}-%{apache_version}
46 --with-apxs=%{_sbindir}/apxs
47 %{__make} APXS=%{_sbindir}/apxs
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_pkglibdir}
53 install lib%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}/
55 gzip -9nf README CHANGES INSTALL
58 %{_sbindir}/apxs -e -a -n %{mod_name} %{_pkglibdir}/lib%{mod_name}.so 1>&2
59 if [ -f /var/lock/subsys/httpd ]; then
60 %{_sysconfdir}/rc.d/init.d/httpd restart 1>&2
64 if [ "$1" = "0" ]; then
65 /usr/sbin/apxs -e -A -n %{mod_name} %{_pkglibdir}/lib%{mod_name}.so 1>&2
66 if [ -f /var/lock/subsys/httpd ]; then
67 /etc/rc.d/init.d/httpd restart 1>&2
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc *.gz LICENSE.html
77 %attr(755,root,root) %{_pkglibdir}/*