4afa506
Name:           libecpint
2af2f63
Version:        1.0.4
4afa506
Release:        1%{?dist}
4afa506
Summary:        Efficient evaluation of integrals over ab initio effective core potentials
4afa506
License:        MIT
4afa506
Url:            https://github.com/robashaw/libecpint
4afa506
Source0:        https://github.com/robashaw/libecpint/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
4afa506
4afa506
BuildRequires:  gcc-c++
4afa506
BuildRequires:  cmake >= 3.12
4afa506
BuildRequires:  pugixml-devel
4afa506
BuildRequires:  gtest-devel
4afa506
BuildRequires:  python3
4afa506
BuildRequires:  doxygen
4afa506
BuildRequires:  sphinx
4afa506
Requires:       %{name}-common = %{version}-%{release}
4afa506
4afa506
%description
4afa506
Libecpint is a C++ library for the efficient evaluation of integrals over ab
4afa506
initio effective core potentials, using a mixture of generated, recursive
4afa506
code and Gauss-Chebyshev quadrature. It is designed to be standalone and
4afa506
generic.
4afa506
4afa506
%package common
4afa506
Summary:        Architecture independent data files for libecpint
4afa506
BuildArch:      noarch
4afa506
4afa506
%description common
4afa506
This package contains architecture independent data files for libecpint
4afa506
4afa506
%package devel
4afa506
Summary:        Devel package for libecpint
4afa506
Requires:       %{name}%{?_isa} = %{version}-%{release}
4afa506
4afa506
%description devel
4afa506
This package contains development headers and libraries for libecpint.
4afa506
4afa506
%prep
4afa506
%setup -q
4afa506
4afa506
%build
4afa506
%cmake
4afa506
%cmake_build
4afa506
4afa506
%install
4afa506
%cmake_install
4afa506
4afa506
%check
4afa506
%ctest %{?testargs}
4afa506
4afa506
%files
4afa506
%doc README.md CITATION
4afa506
%{_libdir}/lib*.so.*
4afa506
4afa506
%files common
4afa506
%{_datadir}/%{name}
4afa506
%license LICENSE
4afa506
4afa506
%files devel
4afa506
%{_includedir}/libecpint/
4afa506
%{_includedir}/libecpint.hpp
4afa506
%{_libdir}/cmake/ecpint
4afa506
%{_libdir}/lib*.so
4afa506
4afa506
%changelog
2af2f63
* Tue Jan 12 11:21:34 MST 2021 Christoph Junghans <junghans@lanl.gov> - 1.0.4-1
2af2f63
- Version bump to v1.0.4 (bug #19154510)
2af2f63
4afa506
* Tue Oct 06 2020 Christoph Junghans <junghans@votca.org> - 1.0.2-1
4afa506
- Initial add for packaging