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.9 by eulisse, Thu Jun 22 10:05:21 2006 UTC vs.
Revision 1.14 by sashby, Tue Jun 27 17:22:42 2006 UTC

# Line 1 | Line 1
1 < ### RPM external frontier_client 2.4.1
2 < Source: http://edge.fnal.gov:8888/frontier/%{n}__%{v}_cms__src.tar.gz
3 < Patch0: frontier-x86-64
4 < #Source: http://cern.ch/service-spi/external/tarFiles/%{n}__%{v}_cms__src.tar.gz
1 > ### RPM external frontier_client 2.4.5_cms
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
5 < %prep
7 < %setup -n %{n}__%{v}_cms__src
8 <
9 < %define cpu %(echo %cmsplatf | cut -d_ -f2)
10 < %if "%{cmsplatf}" == "amd64"
11 < %patch0
12 < %endif
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   %install
13   mkdir -p %i/lib
14   mkdir -p %i/include
15 < cp libfrontier_client.so.%{v} %i/lib
15 > cp libfrontier_client.so.%{realversion} %i/lib                                            
16   cp -r include %i
17   ln -s %i/lib/libfrontier_client.so.%{v} %i/lib/libfrontier_client.so
18   ln -s %i/lib/libfrontier_client.so.%{v} %i/lib/libfrontier_client.so.%(echo %v | sed -e "s/\([0-9]*\)\..*/\1/")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines