Compare commits

...
Sign in to create a new pull request.

16 commits

Author SHA1 Message Date
Fedora Release Engineering
f41afab2d6 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:37:44 +00:00
Orion Poplawski
643a1c894d Rebuild for hdf5 2.1 2026-04-16 19:30:45 -06:00
Christoph Junghans
2ee54e132b Version bump to v2026
Drop s390x and some clean up
Fixes: rhbz#2445810
2026-03-09 16:51:25 -06:00
Christoph Junghans
9d8c7be04d Version bump to v2026
Fixes: rhbz#2445810
2026-03-09 15:16:08 -06:00
Orion Poplawski
75df220c2b BR cmake instead of cmake3 2026-02-23 20:42:16 -07:00
Christoph Junghans
dc670d9d98 Rebuild for gromacs-2026
Fixes: rhbz#2432566
2026-01-31 10:01:49 -07:00
Christoph Junghans
06314249a6 Fix build with boost-1.90
Fixes: rhbz#2429731
2026-01-18 12:24:13 -07:00
Fedora Release Engineering
8ed5a2c9c2 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:03:39 +00:00
Christoph Junghans
02cfed9ece Add support for eigen3 v5 2025-11-02 10:56:55 -07:00
Christoph Junghans
d181fd7d52 Version bump to v2025.1
Fixes: rhbz#2401325
2025-10-03 14:15:30 -06:00
Christoph Junghans
926bcdeb1d Rebuilt for gromacs-2025 2025-08-14 06:48:26 -06:00
Fedora Release Engineering
53e82516b4 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:13:49 +00:00
Christoph Junghans
368932e009 Version bump to v2025 (bug #2355797) 2025-03-28 12:00:11 -06:00
Christoph Junghans
fb2a9da2cd Add s390x fix 2025-02-25 12:40:23 -07:00
Fedora Release Engineering
4137298ee7 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:37:37 +00:00
Orion Poplawski
40cd9f33de Rebuild for hdf5 1.14.5 2024-10-25 17:32:59 -06:00
3 changed files with 59 additions and 51 deletions

3
.gitignore vendored
View file

@ -8,3 +8,6 @@
/votca-2024.tar.gz
/votca-2024.1.tar.gz
/votca-2024.2.tar.gz
/votca-2025.tar.gz
/votca-2025.1.tar.gz
/votca-2026.tar.gz

View file

@ -1 +1 @@
SHA512 (votca-2024.2.tar.gz) = 39266ac0a106248df36f5d36ea4a0443e72051ea109a48c483640f81a8903da69f551c986899dfdcc305c27c46afb235651cd7df42af2f573888b756bde45f95
SHA512 (votca-2026.tar.gz) = 2c4c924dbb0072aa885ec64062a26c607cea2f99f6aeb58c048b347c7b6a55f6d674cb7baec7c687e8d79949255f736ffae72630a03f24dcd3c323ab3cb154d4

View file

@ -1,28 +1,23 @@
Name: votca
Version: 2024.2
Version: 2026
%global uversion %{version}
%global sover 2024
Release: 2%{?dist}
%global sover 2026
Release: 3%{?dist}
Summary: Versatile Object-oriented Toolkit for Coarse-graining Applications
License: Apache-2.0
URL: http://www.votca.org
Source0: https://github.com/votca/votca/archive/v%{uversion}.tar.gz#/%{name}-%{uversion}.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
# no gromacs package on s390x
ExcludeArch: %{ix86} s390x
%global with_xtp 1
%global with_gmx 1
# no gromacs package on s390x
# same for espressomd
%ifarch s390x
%global with_gmx 0
%endif
BuildRequires: gcc-c++
BuildRequires: fdupes
BuildRequires: cmake3
BuildRequires: cmake
BuildRequires: expat-devel
BuildRequires: fftw-devel
BuildRequires: eigen3-devel
@ -30,7 +25,6 @@ BuildRequires: boost-devel
%if %{with_gmx}
BuildRequires: gromacs-devel
%endif
BuildRequires: perl-generators
BuildRequires: hdf5-devel
BuildRequires: python3
%if %{with_xtp}
@ -41,26 +35,12 @@ BuildRequires: libecpint-devel
BuildRequires: libint2-devel
%endif
# mpi packages only used for testing
%if %{with_gmx}
BuildRequires: gromacs-openmpi
# only needed to run gromacs
BuildRequires: openmpi-devel
BuildRequires: python3-espresso-openmpi
%else
%global _openmpi_load %{nil}
%global _openmpi_unload %{nil}
%endif
#used for testing only
%if %{with_gmx}
BuildRequires: gromacs
%endif
BuildRequires: lammps
BuildRequires: python3-cma
BuildRequires: python3-pytest
BuildRequires: gnuplot
BuildRequires: psmisc
Requires: %{name}-common = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -102,6 +82,7 @@ Obsoletes: votca-tools-devel <= 2022~rc1
Provides: votca-tools-devel = %version-%release
Obsoletes: votca-xtp-devel <= 2022~rc1
Provides: votca-xtp-devel = %version-%release
Obsoletes: votca-csg-tutorials <= 2025.1
%description devel
%{votca_desc}
@ -133,14 +114,6 @@ Provides: votca-csg-common = %version-%release
This package contains architecture independent data files for the VOTCA
package.
%package csg-tutorials
Summary: Architecture independent csg tutorial files for VOTCA
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description csg-tutorials
%{votca_desc}
This package contains architecture independent csg tutorial files
for the VOTCA package.
@ -186,33 +159,21 @@ This package contains bash completion support for the VOTCA package.
%prep
%autosetup -p1 -n %{name}-%{uversion}
# we don't have an espressopp package in Fedora yet
rm -rf csg-tutorials/spce/ibi_espressopp
%build
# load openmpi, so that cmake can find mdrun_openmpi for testing only
%_openmpi_load
# not a 100% sure why this is needed, but otherwise espressomd cannot be found
export PYTHONPATH="${MPI_PYTHON3_SITEARCH}${PYTHONPATH:+:}${PYTHONPATH}"
%{cmake} -DCMAKE_BUILD_TYPE=Release -DINSTALL_RC_FILES=OFF -DENABLE_TESTING=ON -DBUILD_CSGAPPS=ON \
-DBUILD_XTP=%{with_xtp} \
-DENABLE_REGRESSION_TESTING=ON -DHDF5_C_COMPILER_EXECUTABLE=/usr/bin/h5cc -DINJECT_MARCH_NATIVE=OFF
%cmake_build
%_openmpi_unload
%install
%cmake_install
# Install bash completion file
%__install -D -m0644 %{__cmake_builddir}/csg/scripts/csg-completion.bash %{buildroot}%{_datadir}/bash-completion/completions/votca
%__install -D -m0644 %{__cmake_builddir}/csg/src/tools//csg-completion.bash %{buildroot}%{_datadir}/bash-completion/completions/votca
%fdupes %{buildroot}%{_prefix}
%check
%_openmpi_load
export PYTHONPATH="${MPI_PYTHON3_SITEARCH}${PYTHONPATH:+:}${PYTHONPATH}"
%ctest
%_openmpi_unload
%files
%{_bindir}/{votca,csg,xtp}_*
@ -226,9 +187,6 @@ export PYTHONPATH="${MPI_PYTHON3_SITEARCH}${PYTHONPATH:+:}${PYTHONPATH}"
%exclude %{_datadir}/votca/*-tutorials/
%exclude %{_datadir}/votca/xtp/
%files csg-tutorials
%{_datadir}/votca/csg-tutorials/
%if %{with_xtp}
%files xtp-tutorials
%{_datadir}/votca/xtp-tutorials/
@ -251,6 +209,53 @@ export PYTHONPATH="${MPI_PYTHON3_SITEARCH}${PYTHONPATH:+:}${PYTHONPATH}"
%{_datadir}/bash-completion/completions/votca
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2026-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Fri Apr 17 2026 Orion Poplawski <orion@nwra.com> - 2026-2
- Rebuild for hdf5 2.1
* Mon Mar 09 2026 Christoph Junghans <junghans@votca.org> - 2026-1
- Version bump to v2026
- Drop s390x and some clean up
- Fixes: rhbz#2445810
* Tue Feb 24 2026 Orion Poplawski <orion@nwra.com> - 2025.1-6
- BR cmake instead of cmake3
* Sat Jan 31 2026 Christoph Junghans <junghans@votca.org> - 2025.1-5
- Rebuild for gromacs-2026
- Fixes: rhbz#2432566
* Sun Jan 18 2026 Christoph Junghans <junghans@votca.org> - 2025.1-4
- Fix build with boost-1.90
- Fixes: rhbz#2429731
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2025.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sun Nov 02 2025 Christoph Junghans <junghans@votca.org> - 2025.1-2
- Add support for eigen3 v5
* Fri Oct 03 2025 Christoph Junghans <junghans@votca.org> - 2025.1-1
- Version bump to v2025.1
- Fixes: rhbz#2401325
* Thu Aug 14 2025 Christoph Junghans <junghans@votca.org> - 2025-3
- Rebuilt for gromacs-2025
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2025-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Mar 28 2025 Christoph Junghans <junghans@votca.org> - 2025-1
- Version bump to v2025 (bug #2355797)
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2024.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Oct 25 2024 Orion Poplawski <orion@nwra.com> - 2024.2-3
- Rebuild for hdf5 1.14.5
* Sat Oct 12 2024 Susi Lehtola <jussilehtola@fedoraproject.org> - 2024.2-2
- Rebuild against libxc 7.0.0 in rawhide.