From b51749e6e69485679919d3594023df050bfea4ed Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Oct 09 2017 19:39:55 +0000 Subject: Update to 4.0.1. --- diff --git a/.gitignore b/.gitignore index 375bcd3..977c16f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ /libxc-2.1.0.tar.gz /libxc-2.1.2.tar.gz /libxc-3.0.0.tar.gz +/libxc-4.0.0.tar.gz +/libxc-4.0.1.tar.gz diff --git a/libxc.spec b/libxc.spec index 21ab5a1..da4ca47 100644 --- a/libxc.spec +++ b/libxc.spec @@ -1,30 +1,20 @@ -# Possibility to build without single precision enabled -%bcond_without single - %if 0%{?rhel} == 5 %global _fmoddir %{_libdir}/gfortran/modules %endif -Name: libxc -Summary: Library of exchange and correlation functionals to be used in DFT codes -Version: 3.0.0 -Release: 5%{?dist} -License: LGPLv3+ -Group: Applications/Engineering -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -Source0: http://www.tddft.org/programs/octopus/down.php?file=libxc/libxc-%{version}.tar.gz +Name: libxc +Summary: Library of exchange and correlation functionals for density-functional theory +Version: 4.0.1 +Release: 1%{?dist} +License: LGPLv3+ +Group: Applications/Engineering +Source0: http://www.tddft.org/programs/octopus/down.php?file=libxc/%{version}/libxc-%{version}.tar.gz # Workaround for BZ #1079415 causing builds to fail on ppc archs in EPEL Patch0: libxc-2.1.0-ppc.patch -# Add in some missing static declarations (from upstream) -Patch1: libxc-3.0.0-static.patch -# Fix single precision install (from upstream) -Patch2: libxc-3.0.0-single.patch -URL: http://www.tddft.org/programs/octopus/wiki/index.php/Libxc +URL: http://www.tddft.org/programs/octopus/wiki/index.php/Libxc -BuildRequires: gcc-gfortran -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +BuildRequires: gcc-gfortran +BuildRequires: libtool %description libxc is a library of exchange and correlation functionals. Its purpose is to @@ -34,10 +24,10 @@ density approximation (GGAs), and meta-GGAs. The library provides values for the energy density and its 1st, 2nd, and (for the LDAs) 3rd derivatives. %package devel -Summary: Development library and headers for libxc -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig +Summary: Development library and headers for libxc +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig %description devel libxc is a library of exchange and correlation functionals. Its purpose is to @@ -55,24 +45,16 @@ in order to compile programs against libxc. %ifarch ppc %{power64} %patch0 -p1 -b .ppc %endif -%patch1 -p1 -b .static -%patch2 -p1 -b .single -autoreconf -i %build # Don't insert C code during preprocessing export FCCPP="cpp -ffreestanding" -%if %{with single} -%configure --enable-shared --disable-static --enable-single -%else %configure --enable-shared --disable-static -%endif # SMP make doesn't work #make %{?_smp_mflags} make %install -rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Move modules in the right place mkdir -p %{buildroot}%{_fmoddir} @@ -80,22 +62,18 @@ mv %{buildroot}%{_includedir}/*.mod %{buildroot}%{_fmoddir} # Get rid of .la files find %{buildroot}%{_libdir} -name *.la -exec rm -rf {} \; -%clean -rm -rf %{buildroot} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc README NEWS COPYING AUTHORS ChangeLog TODO %{_bindir}/xc-info +%{_bindir}/xc-threshold %{_libdir}/libxc.so.* %{_libdir}/libxcf03.so.* %{_libdir}/libxcf90.so.* %files devel -%defattr(-,root,root,-) %{_libdir}/libxc.so %{_libdir}/libxcf03.so %{_libdir}/libxcf90.so @@ -103,13 +81,15 @@ rm -rf %{buildroot} %{_fmoddir}/libxc_funcs_m.mod %{_fmoddir}/xc_f03_*.mod %{_fmoddir}/xc_f90_*.mod -%if %{with single} -%{_fmoddir}/xc_s_f03_*.mod -%{_fmoddir}/xc_s_f90_*.mod -%endif %{_libdir}/pkgconfig/libxc.pc %changelog +* Mon Oct 09 2017 Susi Lehtola - 4.0.1-1 +- Update to 4.0.1. + +* Wed Sep 27 2017 Susi Lehtola - 4.0.0-1 +- Update to 4.0.0, removing single precision libraries. + * Thu Aug 03 2017 Fedora Release Engineering - 3.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 0f548ec..439467f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8227fa3053f8fc215bd9d7b0d36de03c libxc-3.0.0.tar.gz +SHA512 (libxc-4.0.1.tar.gz) = 68114d6ba846876423e49cf93b9d0c84b1473347793ccf2aef476fc3a3ca04e772909bf3e5270fcd22c26bb8163b68a7c5e9ca402302d1ba2e5908248176cd13