File LoopTools.spec of Package LoopTools-v2.7

#
# spec file for package LoopTools
#
# Copyright (c) 2015 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 _unpackaged_files_terminate_build 0
%define mname LoopTools

Name:           LoopTools
Version:        2.7
Release:        0
Summary:        Fortran library for evaluation of scalar and tensor one-loop integrals
License:        GPL-3.0
Group:          Development/Libraries/C and C++
Url:            http://www.feynarts.de/looptools/
Source0:        http://www.feynarts.de/looptools/%{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  gcc-fortran
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
LoopTools is a package for evaluation of scalar and tensor one-loop integrals based on the FF package by G.J. van Oldenborgh. 
It features an easy Fortran, C++, and Mathematica interface to the scalar one-loop functions of FF and 
in addition provides the 2-, 3-, and 4-point tensor coefficient functions.

%package devel
Summary:        LoopTools development libraries and header files
Group:          Development/Libraries/C and C++
Requires:       %{mname} = %{version}

%description devel
LoopTools is a package for evaluation of scalar and tensor one-loop integrals based on the FF package by G.J. van Oldenborgh. 
It features an easy Fortran, C++, and Mathematica interface to the scalar one-loop functions of FF and 
in addition provides the 2-, 3-, and 4-point tensor coefficient functions.

This package contains the libraries, include files and other resources you
use to develop LoopTools applications.

%prep
%setup -q

%build
export CFLAGS="%optflags -fPIC"
export CXXFLAGS="%optflags -fPIC"
export FFLAGS="%optflags -fPIC"

%configure --prefix=%{buildroot}/%{_prefix} #--disable-static --with-pic --disable-rpath
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%{_bindir}/lt

%files devel
%defattr(-,root,root)
%doc COPYING
#%{_bindir}/fcc
%{_libdir}/*.a
%{_includedir}/*.h


%changelog