From dc173086335d2dd315aae87009c80aa462ad80e4 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Thu, 6 Jul 2017 16:18:48 +0200 Subject: [PATCH] add vincia - a plugin for pythia8 --- cmssw-tool-conf.spec | 1 + vincia-toolfile.spec | 25 +++++++++++++++++++++++++ vincia.spec | 20 ++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 vincia-toolfile.spec create mode 100644 vincia.spec diff --git a/cmssw-tool-conf.spec b/cmssw-tool-conf.spec index ec83308166c..b172ea608d4 100644 --- a/cmssw-tool-conf.spec +++ b/cmssw-tool-conf.spec @@ -63,6 +63,7 @@ Requires: photos-toolfile Requires: photospp-toolfile Requires: pythia6-toolfile Requires: pythia8-toolfile +Requires: vincia-toolfile Requires: python-toolfile Requires: qt-toolfile Requires: root-toolfile diff --git a/vincia-toolfile.spec b/vincia-toolfile.spec new file mode 100644 index 00000000000..652b1fdd30a --- /dev/null +++ b/vincia-toolfile.spec @@ -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 + + + + + + + + + + + + +EOF_TOOLFILE + +## IMPORT scram-tools-post diff --git a/vincia.spec b/vincia.spec new file mode 100644 index 00000000000..b6611dc8590 --- /dev/null +++ b/vincia.spec @@ -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