A new user interface for you!

File LHAPDF-PDFset-MMHT2014nlo68cl.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 http://bugs.opensuse.org/

%define lha_maj_ver 6.1
Name:           LHAPDF-PDFset-MMHT2014nlo68cl
Version:        2017.04.28~154523
Release:        0
Summary:        MMHT2014nlo68cl PDF set for LHAPDF
# License same as LHAPDF's
License:        GPL-3.0
Group:          Productivity/Scientific/Physics
Url:            http://lhapdf.hepforge.org
Source0:        https://www.hepforge.org/archive/lhapdf/pdfsets/%{lha_maj_ver}/MMHT2014nlo68cl.tar.gz
BuildRequires:  LHAPDF-devel
BuildRequires:  fdupes
%if 0%{?suse_version} > 1320
BuildRequires:  python2
BuildRequires:  python
Provides:       PDFset(MMHT2014nlo68cl)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package installs the MMHT2014nlo68cl 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/MMHT2014nlo68cl/