]> git.pld-linux.org Git - packages/apache1-mod_frontpage.git/blobdiff - apache1-mod_frontpage.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/apache1-mod_frontpage.git] / apache1-mod_frontpage.spec
index 4f5344ddabb50af242226ad0000b4a0806ef48d8..4c2ee30d99e39d4ef04397d4838112a7f11c482b 100644 (file)
@@ -6,8 +6,8 @@ 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
+Release:       2
+License:       Apache
 Group:         Networking/Daemons
 #Source0: http://home.edo.uni-dortmund.de/~chripo/download/%{name}-%{version}mdk-1.3.19.tar.bz2
 #The patch is now maintained by FreeBSD
@@ -17,11 +17,12 @@ Patch1:             %{arname}-Makefile.patch
 Patch2:                %{arname}-fpexec-PLD.patch
 URL:           http://home.edo.uni-dortmund.de/~chripo/
 Prereq:                apache(EAPI)  >= 1.3.23
-Prereq:                %{_sbindir}/apxs
+Prereq:                %{apxs}
 Requires:      apache
 BuildRequires: apache(EAPI)-devel >= 1.3.23
 BuildRequires: perl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     mod_frontpage
 
 %define         _pkglibdir      %(%{apxs} -q LIBEXECDIR)
 %define         _sysconfdir     /etc/httpd
@@ -62,23 +63,22 @@ perl Makefile.PL
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sbindir}}
+
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 install fp{exec,static} $RPM_BUILD_ROOT%{_sbindir}
 
-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
+%{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
 
 %preun
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+       %{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
@@ -86,7 +86,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc CHANGES FEATURES LICENSE README
 %attr(755,root,root) %{_pkglibdir}/*
 %attr(4750,root,root) %{_sbindir}/fpexec
 %attr(755,root,root) %{_sbindir}/fpstatic
This page took 0.087745 seconds and 4 git commands to generate.