ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/libhepml.spec
Revision: 1.2
Committed: Tue May 6 04:52:58 2008 UTC (16 years, 11 months ago) by dlange
Branch: MAIN
CVS Tags: apFor210p4v1, apFor210p4v0, pe20080507-for21X, dl080506, dl080505t2
Changes since 1.1: +1 -0 lines
Log Message:
gsl libhepml fixes ups

File Contents

# User Rev Content
1 dlange 1.1 ### RPM external libhepml 0.2.1
2     Source: http://mcdb.cern.ch/distribution/api/%{n}-%{realversion}.tar.gz
3    
4     %prep
5     %setup -q -n %{n}-%{realversion}
6    
7     %build
8     cd src
9     make
10 dlange 1.2 mv *.so ../lib/.
11 dlange 1.1
12     %install
13     tar -c lib interface | tar -x -C %i
14     # SCRAM ToolBox toolfile
15     mkdir -p %i/etc/scram.d
16     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
17     <doc type=BuildSystem::ToolDoc version=1.0>
18     <Tool name=libhepml version=%v>
19     <Client>
20     <Environment name=LIBHEPML_BASE default="%i"></Environment>
21     <Environment name=LIBDIR default="$LIBHEPML_BASE/lib"></Environment>
22     <Environment name=INCLUDE default="$LIBHEPML_BASE/interface"></Environment>
23     </Client>
24     <lib name=libhepml>
25     </Tool>
26     EOF_TOOLFILE
27    
28     %post
29     %{relocateConfig}etc/scram.d/%n