Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
### RPM external vincia-toolfile 1.0 | ||
Requires: vincia | ||
%prep | ||
|
||
%build | ||
|
||
%install | ||
|
||
mkdir -p %i/etc/scram.d | ||
cat << \EOF_TOOLFILE >%i/etc/scram.d/vincia.xml | ||
<tool name="vincia" version="@TOOL_VERSION@"> | ||
<lib name="vincia"/> | ||
<lib name="mg4helas"/> | ||
<client> | ||
<environment name="VINCIA_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="LIBDIR" default="$VINCIA_BASE/lib"/> | ||
<environment name="INCLUDE" default="$VINCIA_BASE/include"/> | ||
</client> | ||
<runtime name="VINCIADATA" value="$VINCIA_BASE/share/Vincia/xmldoc"/> | ||
<use name="root_cxxdefaults"/> | ||
<use name="pythia8"/> | ||
</tool> | ||
EOF_TOOLFILE | ||
|
||
## IMPORT scram-tools-post |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### RPM external vincia 1.2.02 | ||
|
||
Requires: pythia8 | ||
|
||
Source: https://www.hepforge.org/archive/vincia/%{n}-%{realversion}.tgz | ||
|
||
%define keep_archives true | ||
|
||
%prep | ||
%setup -q -n %{n}-%{realversion} | ||
|
||
./configure --prefix=%i --with-pythia8=${PYTHIA8_ROOT} | ||
|
||
# For version 2 "FFLAGS..." below can be substituted by --fc-common=-fPIC in the configure arguments above | ||
|
||
%build | ||
make %makeprocesses FFLAGS="-fPIC" | ||
|
||
%install | ||
make install |