Summary: Evaluation of certain two-body molecular integrals over Cartesian Gaussian functions Summary(pl.UTF-8): Obliczanie całek dwuelementowych cząsteczek po kartezjańskich funkcjach Gaussa Name: libint2 Version: 2.3.1 Release: 1 License: GPL v3+ Group: Libraries #Source0Download: https://github.com/evaleev/libint/releases Source0: https://github.com/evaleev/libint/archive/v%{version}/libint-%{version}.tar.gz # Source0-md5: 34adc4c971372a51b13bb7fd257b7c68 Patch0: %{name}-verbose.patch URL: http://libint.valeyev.net/ BuildRequires: autoconf >= 2.68 BuildRequires: automake BuildRequires: boost-devel BuildRequires: eigen3 BuildRequires: gmp-c++-devel BuildRequires: libstdc++-devel >= 6:4.7 BuildRequires: libtool >= 2:2 BuildRequires: sed >= 4.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Libint library is used to evaluate the traditional (electron repulsion) and certain novel two-body matrix elements (integrals) over Cartesian Gaussian functions operative in modern atomic and molecular theory. It is specifically designed with high efficiency on (super)scalar computer architectures in mind. Libint has been utilized to implement methods such as Hartree-Fock (HF) and Kohn-Sham density functional theory (KS DFT), second-order Moller-Plesset perturbation theory (MP2), coupled cluster singles and doubles (CCSD) method, as well as the lesser known highly accurate linear R12 second-order Moller-Plesset theory (MP2-R12). %description -l pl.UTF-8 Biblioteka libint służy do obliczania tradycyjnych (odpychania elektronowego) i pewnych nowych dwuelementowych elementów macierzy (całek) po kartezjańskich funkcjach Gaussa występujących we współczesnej teorii atomowej i cząsteczkowej. Jest zaprojektowana zwłaszcza z myślą o (super)skalarnych architekturach komputerów. libint jest wykorzystywana do implementowania metod takich jak: metoda Hartree-Focka (HF) i teorii funkcjonałów gęstości Kohna-Shama (KS DFT), teorii zaburzeń Mollera-Plesseta drugiego rzędu (MP2), metody klasterowej z jedno- i dwuciałowymi operatorami (CCSD), a także mniej znanej bardzo dokładnej teorii liniowej R12 Mollera-Plesseta drugiego rzędu (MP2-R12). %package devel Summary: Header files for libint library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libint Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libstdc++-devel >= 6:4.7 %description devel Header files for libint library. %description devel -l pl.UTF-8 Pliki nagłówkowe biblioteki libint. %package static Summary: Static libint library Summary(pl.UTF-8): Statyczna biblioteka libint Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static libint library. %description static -l pl.UTF-8 Statyczna biblioteka libint. %prep %setup -q -n libint-%{version} %patch0 -p1 %build %{__libtoolize} %{__aclocal} -I lib/autoconf %{__autoconf} CPPFLAGS="%{rpmcppflags} -I/usr/include/eigen3" %configure \ --enable-shared %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT # help rpm to find deps chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so* # obsoleted by pkg-config %{__rm} $RPM_BUILD_ROOT%{_libdir}/libint2.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc CHANGES CITATION LICENSE README.md %attr(755,root,root) %{_libdir}/libint2.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libint2.so.2 %{_datadir}/libint %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libint2.so %{_includedir}/libint2 %{_includedir}/libint2.h %{_includedir}/libint2.hpp %{_pkgconfigdir}/libint2.pc %files static %defattr(644,root,root,755) %{_libdir}/libint2.a