1 |
### RPM external apache 2.0.55
|
2 |
%define downloadn httpd
|
3 |
Source: http://mirror1.zic-network.ch/apache/%{downloadn}/%{downloadn}-%{v}.tar.gz
|
4 |
Requires: zlib openssl
|
5 |
%prep
|
6 |
%setup -n %{downloadn}-%{v}
|
7 |
|
8 |
%build
|
9 |
./configure --prefix=%{i} \
|
10 |
--with-z=$LIBZ_ROOT \
|
11 |
--with-ssl=$OPENSSL_ROOT \
|
12 |
--enable-ssl \
|
13 |
--enable-rewrite \
|
14 |
--enable-so
|
15 |
make %makeprocesses
|
16 |
%post
|
17 |
%{relocateConfig}conf/highperformance.conf
|
18 |
%{relocateConfig}conf/highperformance-std.conf
|
19 |
%{relocateConfig}conf/httpd.conf
|
20 |
%{relocateConfig}conf/httpd-std.conf
|
21 |
%{relocateConfig}conf/ssl.conf
|
22 |
%{relocateConfig}conf/ssl-std.conf
|
23 |
%{relocateConfig}include/ap_config_auto.h
|
24 |
%{relocateConfig}include/ap_config_layout.h
|
25 |
%{relocateConfig}bin/apachectl
|
26 |
%{relocateConfig}bin/apr-config
|
27 |
%{relocateConfig}bin/apu-config
|
28 |
%{relocateConfig}bin/apxs
|
29 |
%{relocateConfig}bin/envvars
|
30 |
%{relocateConfig}bin/envvars-std
|