Compare commits

..

No commits in common. "rawhide" and "f29" have entirely different histories.

4 changed files with 203 additions and 1 deletions

11
.gitignore vendored Normal file
View file

@ -0,0 +1,11 @@
/votca-xtp*.src.rpm
/votca-xtp-1.4_rc1.tar.gz
/votca-xtp-manual-1.4_rc1.pdf
/votca-xtp-1.4.tar.gz
/votca-xtp-manual-1.4.pdf
/votca-xtp-manual-1.4.1.pdf
/votca-xtp-1.4.1.tar.gz
/votca-xtp-1.5.tar.gz
/votca-xtp-manual-1.5.pdf
/votca-xtp-manual-1.5.1.pdf
/votca-xtp-1.5.1.tar.gz

View file

@ -1 +0,0 @@
Replaced by 'votca' package

2
sources Normal file
View file

@ -0,0 +1,2 @@
SHA512 (votca-xtp-manual-1.5.1.pdf) = b410ddad0566933a2c9ad386fb6f4df0e71b316a84bce8c841e94df8f438959f0967ade63d1146549d453c2ecdb48e3d8b1fd147e53888e1717c6db3d07ba061
SHA512 (votca-xtp-1.5.1.tar.gz) = 8fb6891e84d4d685e26287344554b705c607e7cb9f497c00ac9cd8328e50210c56706abdb7004b83d4addbfbc7b35c3526b4feabf75f681362b3b7a39c54b668

190
votca-xtp.spec Normal file
View file

@ -0,0 +1,190 @@
#global _rcname rc1
#global _rc _%%_rcname
Name: votca-xtp
Version: 1.5.1
Release: 1%{?_rcname}%{?dist}
Summary: VOTCA excitation and charge properties module
License: ASL 2.0
URL: http://www.votca.org
Source0: https://github.com/votca/xtp/archive/v%{version}%{?_rc}.tar.gz#/%{name}-%{version}%{?_rc}.tar.gz
Source1: https://github.com/votca/xtp/releases/download/v%{version}%{?_rc}/votca-xtp-manual-%{version}%{?_rc}.pdf
BuildRequires: gcc-c++
BuildRequires: cmake3
BuildRequires: eigen3-devel
BuildRequires: libxc-devel
BuildRequires: ceres-solver-devel
BuildRequires: hdf5-devel
BuildRequires: pkgconfig
BuildRequires: boost-devel
BuildRequires: votca-csg-devel = %{version}
Requires: %{name}-common = %{version}-%{release}
Requires: %{name}-libs%{_isa} = %{version}-%{release}
%description
Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is
a package intended to reduce the amount of routine work when doing systematic
coarse-graining of various systems. The core is written in C++.
This package contains the excitation and charge properties module of VOTCA
package.
%package libs
Summary: Libraries for VOTCA excitation and charge properties module
%description libs
Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is
a package intended to reduce the amount of routine work when doing systematic
coarse-graining of various systems. The core is written in C++.
This package contains libraries for the excitation and charge properties
module of VOTCA package.
%package devel
Summary: Development headers and libraries for VOTCA XTP
Requires: %{name}-libs%{_isa} = %{version}-%{release}
Requires: votca-csg-devel%{_isa} = %{version}
%description devel
Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is
a package intended to reduce the amount of routine work when doing systematic
coarse-graining of various systems. The core is written in C++.
This package contains development headers and libraries for the excitation and
charge properties module.
%package common
Summary: Architecture independent data files for VOTCA XTP
BuildArch: noarch
%description common
Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is
a package intended to reduce the amount of routine work when doing systematic
coarse-graining of various systems. The core is written in C++.
This package contains architecture independent data files for VOTCA XTP.
%package doc
Summary: Architecture independent doc files for VOTCA XTP
BuildArch: noarch
Requires: votca-csg-common = %{version}
%description doc
Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is
a package intended to reduce the amount of routine work when doing systematic
coarse-graining of various systems. The core is written in C++.
This package contains architecture independent documentation for VOTCA XTP.
%prep
%setup -qn xtp-%{version}%{?_rc}
%if 0%{?rhel}
sed -i '/Boost/s/1.57.0/1.53.0/' src/tests/CMakeLists.txt CMakeLists.txt
%endif
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%if 0%{?rhel}
export CXXFLAGS="%optflags -DBOOST_NO_CXX11_SCOPED_ENUMS"
%endif
%{cmake3} .. -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTING=ON
%make_build
%install
%make_install -C%{_target_platform}
sed -i -e '1s@env @@' %{buildroot}/%{_bindir}/xtp_*
mkdir -p %{buildroot}%{_docdir}/%{name}
cp %{S:1} %{buildroot}%{_docdir}/%{name}
%check
%if 0%{?rhel}
# some bug in old boost regex
%global testargs ARGS='-E \\(unit_test_espfit\\|unit_test_orbitals\\|unit_test_qmstate\\)'
%ifarch ppc64le
# Boost testing broken on ppc64le
%global testargs ARGS='-E .'
%endif
%endif
make -C %{_target_platform} test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs:%{testargs}}
%ldconfig_scriptlets libs
%files
%{_bindir}/xtp_*
%files doc
%doc CHANGELOG.md NOTICE README.md
%license LICENSE.md
%{_docdir}/%{name}
%files common
%license LICENSE.md
%{_datadir}/votca/xtp
%files libs
%license LICENSE.md
%{_libdir}/libvotca_xtp.so.*
%files devel
%{_includedir}/votca/xtp/
%{_libdir}/libvotca_xtp.so
%{_libdir}/pkgconfig/libvotca_xtp.pc
%changelog
* Fri Nov 22 2019 Christoph Junghans <junghans@votca.org> - 1.5.1-1
- Version bump to 1.5.1 (bug #1774855)
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-1.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Mar 12 2019 Orion Poplawski <orion@nwra.com> - 1.5-1.2
- Rebuild for hdf5 1.10.5
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Feb 02 2019 Christoph Junghans <junghans@votca.org> - 1.5-1
- Version bump to v1.5 (bug #1667602)
- drop 55.patch, merged upstream
- Fix FTBFS (bug #1606654)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-1.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 31 2018 Christoph Junghans <junghans@votca.org> - 1.4.1-1.1
- Rebuilt for Boost 1.66
- Add 55.patch
* Sun Sep 03 2017 Christoph Junghans <junghans@votca.org> - 1.4.1-1
- Update to 1.4.1 (#1487881)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.4-2.2
- Rebuilt for Boost 1.64
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
* Tue Feb 07 2017 Kalev Lember <klember@redhat.com> - 1.4-2
- Rebuilt for Boost 1.63
* Sun Oct 30 2016 Christoph Junghans <junghans@votca.org> - 1.4-1
- Update to 1.4
* Mon Oct 03 2016 Christoph Junghans <junghans@votca.org> - 1.4-0.2rc1
- Changes from review (bug #1380540)
* Wed Sep 28 2016 Christoph Junghans <junghans@votca.org> - 1.4-0.1rc1
- Imported 1.4_rc1