Revision: | 1.22 |
Committed: | Tue May 1 11:31:21 2007 UTC (18 years ago) by elmer |
Branch: | MAIN |
CVS Tags: | ge20070629, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, pe20070607a-ports, pe20070522a-ports, pe20070519a-ports, pe20070512a-ports, pe20070508a-ports, pe20070507a-ports, pe20070501c-ports, pe20070501b-ports, pe20070501a-ports |
Changes since 1.21: | +0 -2 lines |
Log Message: | Remove gcc-wrappers stuff |
# | Content |
---|---|
1 | ### RPM external frontier_client 2.7.2 |
2 | Source: http://edge.fnal.gov:8888/frontier/%{n}__%{v}__src.tar.gz |
3 | #Source: http://cern.ch/service-spi/external/tarFiles/%{n}__%{v}__src.tar.gz |
4 | Requires: expat zlib openssl |
5 | %define realversion %(echo %v | cut -d_ -f1) |
6 | |
7 | %prep |
8 | %setup -n %{n}__%{v}__src |
9 | %build |
10 | make EXPAT_DIR=$EXPAT_ROOT \ |
11 | COMPILER_TAG=gcc_$GCC_VERSION \ |
12 | ZLIB_DIR=$ZLIB_ROOT \ |
13 | OPENSSL_DIR=$OPENSSL_ROOT |
14 | %install |
15 | mkdir -p %i/lib |
16 | mkdir -p %i/include |
17 | cp libfrontier_client.so.%{realversion} %i/lib |
18 | cp -r include %i |
19 | ln -s %i/lib/libfrontier_client.so.%{realversion} %i/lib/libfrontier_client.so |
20 | ln -s %i/lib/libfrontier_client.so.%{realversion} %i/lib/libfrontier_client.so.%(echo %v | sed -e "s/\([0-9]*\)\..*/\1/") |
21 | %post |
22 | ln -sf $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libfrontier_client.so.%{realversion} $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libfrontier_client.so |
23 | ln -sf $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libfrontier_client.so.%{realversion} $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libfrontier_client.so.%(echo %v | sed -e "s/\([0-9]*\)\..*/\1/") |