1 |
< |
### RPM cms frontend 1.1b |
1 |
> |
### RPM cms frontend 1.1e |
2 |
|
%define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&strategy=export&nocache=true |
3 |
|
Source0: %cvsserver&module=COMP/WEBTOOLS/Configuration&export=conf&tag=-rFRONTEND_CONF_1_1&output=/config.tar.gz |
4 |
|
Source1: %cvsserver&module=COMP/WEBTOOLS/WelcomePages&export=htdocs&tag=-rFRONTEND_HTDOCS_1_0&output=/htdocs.tar.gz |
5 |
|
Requires: apache2-conf |
6 |
< |
Obsoletes: cms+frontend+1.1 |
6 |
> |
Obsoletes: cms+frontend+1.1d-cmp |
7 |
> |
Obsoletes: cms+frontend+1.1c-cmp |
8 |
> |
Obsoletes: cms+frontend+1.1b-cmp |
9 |
> |
Obsoletes: cms+frontend+1.1-cmp |
10 |
|
Obsoletes: cms+frontend+1.0-cmp11 |
11 |
|
Obsoletes: cms+frontend+1.0-cmp10 |
12 |
|
Obsoletes: cms+frontend+1.0-cmp9 |
36 |
|
mkdir -p %instroot/apache2/htdocs |
37 |
|
|
38 |
|
# Replace template variables in configuration files with actual paths. |
39 |
< |
perl -p -i -e "s|\@SERVER_ROOT\@|%instroot|g;s|\@APACHE2_ROOT\@|$APACHE2_ROOT|g;" %_builddir/conf/*/*.conf |
39 |
> |
perl -p -i -e "s|\@SERVER_ROOT\@|%instroot/apache2|g;s|\@APACHE2_ROOT\@|$APACHE2_ROOT|g;" %_builddir/conf/*/*.conf |
40 |
|
|
41 |
|
# Copy files to the server setup directory. |
42 |
|
cp -p %_builddir/conf/apps.d/*frontend.conf %instroot/apache2/apps.d |
58 |
|
%attr(444,-,-) %instroot/apache2/apps.d/*frontend.conf |
59 |
|
%attr(444,-,-) %instroot/apache2/rewrites.d/*.conf |
60 |
|
%attr(444,-,-) %instroot/apache2/ssl_rewrites.d/*.conf |
61 |
+ |
%instroot/apache2/htdocs/* |