ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/frontier_client.spec
(Generate patch)

Comparing COMP/CMSDIST/frontier_client.spec (file contents):
Revision 1.1 by eulisse, Wed Feb 22 20:47:06 2006 UTC vs.
Revision 1.6 by eulisse, Tue May 16 16:30:43 2006 UTC

# Line 1 | Line 1
1 < ### RPM external frontier_client 2.1.3
2 < %define frontierv %(echo %v | tr . _)
3 < Source: http://edge.fnal.gov:8888/frontier/%{n}_%{frontierv}.tar.gz
1 > ### RPM external frontier_client 2.4.2
2 > Source: http://edge.fnal.gov:8888/frontier/%{n}__%{v}_cms__src.tar.gz
3 > Patch0: frontier-x86-64
4 > Requires: expat
5   %prep
6 < %setup -n %{n}_%{frontierv}
7 < %build
8 < make
6 > %setup -n %{n}__%{v}_cms__src
7 > %if "%{cmsplatf}" == "slc3_amd64_gcc345"
8 > %patch0
9 > %endif
10 >
11 > %build
12 > make EXPAT_DIR=$EXPAT_ROOT \
13 >     COMPILER_TAG=gcc_$GCC_VERSION
14   %install
15   mkdir -p %i/lib
16   mkdir -p %i/include
17   cp libfrontier_client.so.%{v} %i/lib
18 + cp -r include %i
19   ln -s %i/lib/libfrontier_client.so.%{v} %i/lib/libfrontier_client.so
20   ln -s %i/lib/libfrontier_client.so.%{v} %i/lib/libfrontier_client.so.%(echo %v | sed -e "s/\([0-9]*\)\..*/\1/")
21 < cp -r include %i
21 > %post
22 > ln -sf $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libfrontier_client.so.%{v} $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.%{v} $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libfrontier_client.so.%(echo %v | sed -e "s/\([0-9]*\)\..*/\1/")
24 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines