4afa506
Name:           libecpint
f47c03c
Version:        1.0.7
fe38470
Release:        10%{?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
f47c03c
BuildRequires:  libcerf-devel >= 1.17
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}
e8aab57
Requires:       libcerf-devel >= 1.17
4afa506
4afa506
%description devel
4afa506
This package contains development headers and libraries for libecpint.
4afa506
4afa506
%prep
4afa506
%setup -q
a243f86
# gtest 1.13.0 requires C++14 or later
a243f86
# https://github.com/robashaw/libecpint/issues/58
a243f86
sed -r -i 's/\b(CMAKE_CXX_STANDARD[[:blank:]]+)11\b/\114/' CMakeLists.txt
4afa506
4afa506
%build
f47c03c
%cmake -DLIBECPINT_USE_CERF=ON
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
fe38470
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-10
fe38470
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
fe38470
d11cfb8
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-9
d11cfb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
d11cfb8
87cf324
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-8
87cf324
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
87cf324
a243f86
* Sun Jan 29 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.0.7-7
a243f86
- Compile as C++14 for gtest 1.13.0 compatibility
a243f86
abeefea
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-6
abeefea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
abeefea
f33f10a
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-5
f33f10a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
f33f10a
98ad764
* Sun Apr 10 2022 Christoph Junghans <junghans@votca.org> - 1.0.7-4
98ad764
- Rebuild for libcerf-2.1
98ad764
2d99759
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-3
2d99759
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2d99759
e8aab57
* Mon Dec 13 2021 Christoph Junghans <junghans@votca.org> - 1.0.7-2
e8aab57
- fix devel deps
e8aab57
f47c03c
* Mon Dec 06 2021 Christoph Junghans <junghans@votca.org> - 1.0.7-1
f47c03c
- Version bump to v1.0.7 (bug #2029226)
f47c03c
b70bf91
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-2
b70bf91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
b70bf91
90083af
* Sat Apr 17 2021 Christoph Junghans <junghans@votca.org> - 1.0.6-1
90083af
- Version bump to v1.0.6 (bug #1950217)
90083af
f55f10a
* Fri Feb 05 2021 Christoph Junghans <junghans@votca.org> - 1.0.5-1
f55f10a
- Version bump to v1.0.5 (bug #1925367)
f55f10a
cd31245
* Wed Jan 27 2021 Christoph Junghans <junghans@votca.org> - 1.0.4-3
cd31245
- Add patch to fix memory leak
cd31245
318e5d6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
318e5d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
318e5d6
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