%define arname mod_%{mod_name}
%define apxs /usr/sbin/apxs
-Summary: The improved mod_frontpage module for the Apache Web server.
+Summary: The improved mod_frontpage module for the Apache Web server
+Summary(pl): Ulepszony modu³ mod_frontpage dla serwera Apache
Name: apache-mod_%{mod_name}
Version: 1.6.1
Release: 0.1
+License: Apache License
Group: Networking/Daemons
-URL: http://home.edo.uni-dortmund.de/~chripo/
#Source0: http://home.edo.uni-dortmund.de/~chripo/download/%{name}-%{version}mdk-1.3.19.tar.bz2
#The patch is now maintained by FreeBSD
Source0: http://people.freebsd.org/~mbr/distfiles/mod_frontpage-%{version}.tar.bz2
Patch0: %{arname}-PLD.patch
Patch1: %{arname}-Makefile.patch
Patch2: %{arname}-fpexec-PLD.patch
-License: Apache License
-Prereq: grep
+URL: http://home.edo.uni-dortmund.de/~chripo/
Prereq: apache(EAPI) >= 1.3.23
Prereq: %{_sbindir}/apxs
Requires: apache
This is a module for the Apache HTTP Server
<http://www.apache.org/httpd.html>. It replaces the Apache-FP patches
and module supplied with the FrontPage Server Extensions available
-from Microsoft <http://www.microsoft.com> and Ready-to-Run Software
-<http://www.rtr.com/fpsupport>.
+from Microsoft <http://www.microsoft.com/> and Ready-to-Run Software
+<http://www.rtr.com/fpsupport/>.
Using this module allows you to use advanced features of the FrontPage
client with your Apache HTTP Server (e.g. creating FrontPage-extended
user "root" with "fpinstall.sh" or the "fpsrvadm.exe"-utility on the
system's shell).
+%description -l pl
+To jest modu³ dla serwera HTTP Apache. Zastêpuje ³aty Apache-FP oraz
+modu³ dodawany do FrontPage Server Extensions dostêpnych od Microsoftu
+i Ready-to-Run Software (<http://www.rtr.com/fpsupport/>).
+
+U¿ycie tego modu³u pozwala na u¿ywanie zaawansowanych mo¿liwo¶ci
+klienta FrontPage z serwerem Apache (np. tworzenie podstron z
+rozszerzeniami FrontPage przy u¿yciu klienta FrontPage zamiast przez
+uruchamiania fpinstall.sh lub fpsrvadm.exe z pow³oki systemowej).
+
%prep
%setup -q -n %{arname}-%{version}
%patch -p0
gzip -9nf {CHANGES,FEATURES,INSTALL,LICENSE,README}
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%post
%{_sbindir}/apxs -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then
fi
%preun
- if [ "$1" = "0" ]; then
- %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
- if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd restart 1>&2
- fi
+if [ "$1" = "0" ]; then
+ %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+ if [ -f /var/lock/subsys/httpd ]; then
+ /etc/rc.d/init.d/httpd restart 1>&2
+ fi
fi
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_pkglibdir}/*
-%attr(4550,root,root) %{_sbindir}/fpexec
-%attr(0555,root,root) %{_sbindir}/fpstatic
%doc *.gz
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%attr(755,root,root) %{_pkglibdir}/*
+%attr(4750,root,root) %{_sbindir}/fpexec
+%attr(755,root,root) %{_sbindir}/fpstatic