ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/libhepml.spec
Revision: 1.1
Committed: Tue May 6 03:35:46 2008 UTC (16 years, 11 months ago) by dlange
Branch: MAIN
CVS Tags: dl080505
Log Message:
adding trivial generator dep

File Contents

# Content
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
11 %install
12 tar -c lib interface | tar -x -C %i
13 # SCRAM ToolBox toolfile
14 mkdir -p %i/etc/scram.d
15 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
16 <doc type=BuildSystem::ToolDoc version=1.0>
17 <Tool name=libhepml version=%v>
18 <Client>
19 <Environment name=LIBHEPML_BASE default="%i"></Environment>
20 <Environment name=LIBDIR default="$LIBHEPML_BASE/lib"></Environment>
21 <Environment name=INCLUDE default="$LIBHEPML_BASE/interface"></Environment>
22 </Client>
23 <lib name=libhepml>
24 </Tool>
25 EOF_TOOLFILE
26
27 %post
28 %{relocateConfig}etc/scram.d/%n