]> git.pld-linux.org Git - packages/apache-mod_jk.git/commitdiff
- builds with apache-2.0, now it's time to check apache-1.3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 11 Sep 2003 12:31:01 +0000 (12:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_jk.spec -> 1.16

apache-mod_jk.spec

index 86ff8e66f8f89312c599e468bc985691d0e09d02..ea60e3a507069e815a0d14c17f76c7cba4d41a0a 100644 (file)
@@ -1,7 +1,6 @@
 %define        apxs    /usr/sbin/apxs
 Summary:       Apache module that handles communication between Tomcat and Apache
 Summary(pl):   Modu³ Apache'a obs³uguj±cy komunikacjê miêdzy Tomcatem a Apachem
-%define                apache_version  1.3.27
 %define                mod_name        jk
 Name:          apache-mod_%{mod_name}
 Version:       1.2.4
@@ -17,10 +16,10 @@ Requires:       apache(modules-api) = %{apache_modules_api}
 BuildRequires: libtool
 BuildRequires: automake
 BuildRequires: autoconf
+BuildRequires: perl-base
 Requires(post,preun):  %{apxs}
 Requires(post,preun):  grep
 Requires(preun):       fileutils
-Requires:      apache(EAPI) >= %{apache_version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     jakarta-tomcat-connectors-jk
 
@@ -51,7 +50,7 @@ export JAVA_HOME
 
 %configure \
        --enable-EAPI \
-       --with-apxs=%{_sbindir}/apxs \
+       --with-apxs=%{apxs} \
        --with-java-home=${JAVA_HOME}
 
 %{__make} \
@@ -61,8 +60,11 @@ export JAVA_HOME
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd,/var/lock/mod_jk}
 
+cd jk/native
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
+       APXS="%{apxs} -S LIBEXECDIR=$RPM_BUILD_ROOT$(%{apxs} -q LIBEXECDIR)" \
        libexecdir=$RPM_BUILD_ROOT%{_pkglibdir}
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/mod_jk.conf
@@ -93,7 +95,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc README CHANGES INSTALL LICENSE.html
+%doc jk/native/{README,CHANGES.txt} jk/docs/*
 %config(noreplace) %{_sysconfdir}/httpd/mod_jk.conf
 %attr(755,root,root) %{_pkglibdir}/*
 %attr(750,http,http) /var/lock/mod_jk
This page took 0.035569 seconds and 4 git commands to generate.