]> git.pld-linux.org Git - packages/apache1-mod_frontpage.git/commitdiff
- mv apache{,1}-* + minor fixes auto/ac/apache1-mod_frontpage-1_6_2-1
authorradek <radek@pld-linux.org>
Mon, 30 Aug 2004 15:26:44 +0000 (15:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_frontpage.spec -> 1.16

apache1-mod_frontpage.spec

index 27343441f07bf493e9e3fc136e07ce8b68d7be52..4bd18ce89f1656b9c7d379b4d7af81286d882c03 100644 (file)
@@ -1,10 +1,8 @@
 %define        mod_name        frontpage
-%define                arname          mod_%{mod_name}
-%define                apxs            /usr/sbin/apxs
-
+%define                apxs            /usr/sbin/apxs1
 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}
+Name:          apache1-mod_%{mod_name}
 Version:       1.6.2
 Release:       1
 License:       Apache
@@ -14,16 +12,16 @@ Source0:    http://dl.sourceforge.net/mirfak/mod_%{mod_name}_mirfak-%{version}.tar.
 Source1:       %{name}.pl
 Patch0:                %{name}-mirfak.patch
 URL:           http://mirfak.sourceforge.net/
-BuildRequires: apache(EAPI)-devel >= 1.3.23
-BuildRequires: perl
-PreReq:                apache(EAPI) >= 1.3.23
+BuildRequires: apache1-devel >= 1.3.23
+BuildRequires: %{__perl}
+PreReq:                apache1 >= 1.3.23
 Requires(post,preun):  %{apxs}
-Requires:      apache
+Requires:      apache1
+Obsoletes:     apache-mod_%{mod_name} <= %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:     mod_frontpage
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
-%define                _sysconfdir     /etc/httpd
+%define                _sysconfdir     /etc/apache
 
 %description
 This is a module for the Apache HTTP Server
@@ -49,11 +47,11 @@ rozszerzeniami FrontPage przy u
 uruchamiania fpinstall.sh lub fpsrvadm.exe z pow³oki systemowej).
 
 %prep
-%setup -q -n %{arname}_mirfak-%{version}
+%setup -q -n mod_%{mod_name}_mirfak-%{version}
 %patch0 -p1
 
 %build
-perl %{SOURCE1}
+%{__perl} %{SOURCE1}
 %{__make}
 
 %install
@@ -68,15 +66,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %{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
+if [ -f /var/lock/subsys/apache ]; then
+       /etc/rc.d/init.d/apache restart 1>&2
 fi
 
 %preun
 if [ "$1" = "0" ]; then
        %{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
+       if [ -f /var/lock/subsys/apache ]; then
+               /etc/rc.d/init.d/apache restart 1>&2
        fi
 fi
 
This page took 0.053887 seconds and 4 git commands to generate.