File LHAPDF-PDFset-MMHT2014lo68cl.spec of Package LHAPDF-datasets

# spec file for package LHAPDF-datasets.spec
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define lha_maj_ver 6.1
Name:           LHAPDF-PDFset-MMHT2014lo68cl
Version:        2017.04.28~154521
Release:        0
Summary:        MMHT2014lo68cl PDF set for LHAPDF
# License same as LHAPDF's
License:        GPL-3.0
Group:          Productivity/Scientific/Physics
BuildRequires:  LHAPDF-devel
BuildRequires:  fdupes
%if 0%{?suse_version} > 1320
BuildRequires:  python2
BuildRequires:  python
Provides:       PDFset(MMHT2014lo68cl)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package installs the MMHT2014lo68cl PDFset for LHAPDF.

%setup -q -c -T


setdir=`lhapdf-config --datadir`
mkdir -p %{buildroot}%{_datadir}/LHAPDF
tar -zxvf %{SOURCE0} -C %{buildroot}%{_datadir}/LHAPDF/
%fdupes %{buildroot}%{_datadir}/LHAPDF/MMHT2014lo68cl/