File tree 4 files changed +49
-2
lines changed
4 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 1
- ### RPM cms cmssw-tool-conf 44 .0
1
+ ### RPM cms cmssw-tool-conf 45 .0
2
2
## NOCOMPILER
3
3
# With cmsBuild, change the above version only when a new tool is added
4
4
@@ -144,6 +144,7 @@ Requires: utm-toolfile
144
144
Requires : libffi -toolfile
145
145
Requires : CSCTrackFinderEmulation -toolfile
146
146
Requires : tinyxml -toolfile
147
+ Requires : tinyxml2 -toolfile
147
148
Requires : scons -toolfile
148
149
Requires : md5 -toolfile
149
150
Requires : gosamcontrib -toolfile
Original file line number Diff line number Diff line change 1
- ### RPM cms fwlite-tool-conf 10 .0
1
+ ### RPM cms fwlite-tool-conf 11 .0
2
2
## NOCOMPILER
3
3
# with cmsBuild, change the above version only when a new
4
4
# tool is added
@@ -43,6 +43,7 @@ Requires: libxml2-toolfile
43
43
Requires : llvm -gcc -toolfile
44
44
Requires : vdt -toolfile
45
45
Requires : tinyxml -toolfile
46
+ Requires : tinyxml2 -toolfile
46
47
Requires : md5 -toolfile
47
48
Requires : davix -toolfile
48
49
Requires : py2 -numpy -toolfile
Original file line number Diff line number Diff line change
1
+ ### RPM external tinyxml2-toolfile 1.0
2
+ Requires: tinyxml2
3
+
4
+ %prep
5
+ %build
6
+ %install
7
+ mkdir -p %i /etc/scram.d
8
+ cat << \EOF_TOOLFILE >%i/etc/scram.d/tinyxml2.xml
9
+ <tool name="tinyxml2" version="@TOOL_VERSION@">
10
+ <info url="https://github.com/leethomason/tinyxml2"/>
11
+ <lib name="tinyxml2"/>
12
+ <client>
13
+ <environment name="TINYXML2_BASE" default="@TOOL_ROOT@"/>
14
+ <environment name="LIBDIR" default="$TINYXML2_BASE /lib64"/>
15
+ <environment name="INCLUDE" default="$TINYXML2_BASE /include"/>
16
+ </client>
17
+ <runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE " type="path"/>
18
+ </tool>
19
+ EOF_TOOLFILE
20
+
21
+ ## IMPORT scram-tools-post
22
+
Original file line number Diff line number Diff line change
1
+ ### RPM external tinyxml2 6.2.0
2
+ Source: https://github.com/leethomason/%{n }/archive/%{realversion }.tar.gz
3
+
4
+ BuildRequires: gmake cmake
5
+
6
+ %prep
7
+ %setup -n %setup -q -n %{n }-%{realversion }
8
+
9
+ %build
10
+ rm -rf ../build; mkdir ../build ; cd ../build
11
+ cmake ../%{n }-%{realversion } \
12
+ -DCMAKE_BUILD_TYPE=Release \
13
+ -DCMAKE_INSTALL_PREFIX=" %{i}"
14
+
15
+ gmake %{makeprocesses }
16
+
17
+ %install
18
+ cd ../build
19
+ gmake %{makeprocesses } install
20
+
21
+ %post
22
+ %{relocateConfig }lib64/pkgconfig/tinyxml2.pc
23
+ %{relocateConfig }lib64/cmake/tinyxml2/tinyxml2Targets.cmake
You can’t perform that action at this time.
0 commit comments