2021-12-18 14:11:17 +00:00
|
|
|
#
|
|
|
|
# spec file for package votca
|
|
|
|
#
|
2022-12-22 08:39:40 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2022-01-16 02:50:34 +00:00
|
|
|
# Copyright (c) 2021-2022 Christoph Junghans
|
2021-12-18 14:11:17 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
Accepting request 1044655 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update to 2022.1
- fix PROJECT_VERSION in subdirs ([gh#votca/votca#951])
- make csg_resample and csg_stat spacing consistent
([gh#votca/votca#956])
- fix build on FreeBSD ([gh#votca/votca#959])
- update CI container names ([gh#votca/votca#961])
- Fix gw quadrature scheme ([gh#votca/votca#967])
- update install guide for spack ([gh#votca/votca#972],
[gh#votca/votca#974])
- drop gmx-2021 builds from CI ([gh#votca/votca#976])
- update syntax for cmake 3.23 ([gh#votca/votca#978])
- fix CI build on Ubuntu ([gh#votca/votca#981])
- fix CI builds with icpx ([gh#votca/votca#984],
[gh#votca/votca#1004])
- fix CI builds with ESPResSo 4.2.0 ([gh#votca/votca#993])
- fix localization issue ([gh#votca/votca#998],
[gh#votca/votca#1000])
- update github actions to new versions ([gh#votca/votca#1007],
[gh#votca/votca#1013])
- Disable gromacs on 32-bit arm since it is missing
- Do not requires libint when xtp is disabled
- Adjust constraints to avoid rejecting too many workers, enable
parallel builds with limit_build.
- Clean up specfile, remove obsolete __DATE__ mangling.
- only use python3-epressomd for testing on x86_64
- Update to 2022
- fix some icpc warnings ([gh#votca/votca#934])
- only check for pytest if testing is enabled
([gh#votca/votca#930])
- exclude some builds from CI ([gh#votca/votca#940],
[gh#votca/votca#942], [gh#votca/votca#944],
[gh#votca/votca#945])
- update interface documentation ([gh#votca/votca#939])
- update install guide for binary packages
([gh#votca/votca#936])
- fixed sigma plot options passing ([gh#votca/votca#943])
- Also obsoletes votca-csg-apps
- Update to 2022-rc.2
- fix iqm merge orbitals command ([gh#votca/votca#907])
- fix bug in basisset serialization that caused wrong Vxc values
in GW ([gh#votca/votca#910])
- update performance compilation info ([gh#votca/votca#911])
- license for monorepo and all license files rst -> plain text
([gh#votca/votca#912], [gh#votca/votca#913])
- use python3 in xtp-tutorials ([gh#votca/votca#917])
- bump required boost version to 1.71 ([gh#votca/votca#915],
[gh#votca/votca#916])
- clean up NOTICE files ([gh#votca/votca#919])
- rm PYTHON_INSTDIR from VOTCARC ([gh#votca/votca#924])
- update citation in xtp README ([gh#votca/votca#925])
- fix install permission of tutorials ([gh#votca/votca#926])-
- Merge votca-{tools,csg,xtp} into one package
OBS-URL: https://build.opensuse.org/request/show/1044655
OBS-URL: https://build.opensuse.org/package/show/science/votca?expand=0&rev=13
2022-12-24 14:49:56 +00:00
|
|
|
%global with_xtp 1
|
|
|
|
# libint2 used by xtp is broken on 32-bit archs
|
|
|
|
# https://github.com/evaleev/libint/issues/196
|
|
|
|
# https://github.com/votca/xtp/issues/652
|
|
|
|
%ifarch %ix86 %arm
|
|
|
|
%global with_xtp 0
|
|
|
|
%endif
|
2022-01-16 02:50:34 +00:00
|
|
|
|
2021-12-18 14:11:17 +00:00
|
|
|
Name: votca
|
2024-01-25 22:21:44 +00:00
|
|
|
Version: 2024
|
2021-12-18 14:11:17 +00:00
|
|
|
Release: 0
|
2022-01-16 02:50:34 +00:00
|
|
|
%define uversion %{version}
|
2024-01-25 22:21:44 +00:00
|
|
|
%define sover 2024
|
2021-12-18 14:11:17 +00:00
|
|
|
Summary: Versatile Object-oriented Toolkit for Coarse-graining Applications
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Productivity/Scientific/Chemistry
|
2022-12-07 23:32:15 +00:00
|
|
|
URL: https://www.votca.org
|
2021-12-18 14:11:17 +00:00
|
|
|
Source0: https://github.com/votca/votca/archive/v%{uversion}.tar.gz#/%{name}-%{uversion}.tar.gz
|
2024-06-05 03:29:45 +00:00
|
|
|
# PATCH-FIX-UPSTREAM 1032.patch -- fix build with newer boost votca/votca#1032
|
|
|
|
Patch0: 1032.patch
|
2021-12-18 14:11:17 +00:00
|
|
|
|
|
|
|
BuildRequires: cmake >= 3.13
|
|
|
|
BuildRequires: eigen3-devel
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fftw3-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gnuplot
|
Accepting request 1044655 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update to 2022.1
- fix PROJECT_VERSION in subdirs ([gh#votca/votca#951])
- make csg_resample and csg_stat spacing consistent
([gh#votca/votca#956])
- fix build on FreeBSD ([gh#votca/votca#959])
- update CI container names ([gh#votca/votca#961])
- Fix gw quadrature scheme ([gh#votca/votca#967])
- update install guide for spack ([gh#votca/votca#972],
[gh#votca/votca#974])
- drop gmx-2021 builds from CI ([gh#votca/votca#976])
- update syntax for cmake 3.23 ([gh#votca/votca#978])
- fix CI build on Ubuntu ([gh#votca/votca#981])
- fix CI builds with icpx ([gh#votca/votca#984],
[gh#votca/votca#1004])
- fix CI builds with ESPResSo 4.2.0 ([gh#votca/votca#993])
- fix localization issue ([gh#votca/votca#998],
[gh#votca/votca#1000])
- update github actions to new versions ([gh#votca/votca#1007],
[gh#votca/votca#1013])
- Disable gromacs on 32-bit arm since it is missing
- Do not requires libint when xtp is disabled
- Adjust constraints to avoid rejecting too many workers, enable
parallel builds with limit_build.
- Clean up specfile, remove obsolete __DATE__ mangling.
- only use python3-epressomd for testing on x86_64
- Update to 2022
- fix some icpc warnings ([gh#votca/votca#934])
- only check for pytest if testing is enabled
([gh#votca/votca#930])
- exclude some builds from CI ([gh#votca/votca#940],
[gh#votca/votca#942], [gh#votca/votca#944],
[gh#votca/votca#945])
- update interface documentation ([gh#votca/votca#939])
- update install guide for binary packages
([gh#votca/votca#936])
- fixed sigma plot options passing ([gh#votca/votca#943])
- Also obsoletes votca-csg-apps
- Update to 2022-rc.2
- fix iqm merge orbitals command ([gh#votca/votca#907])
- fix bug in basisset serialization that caused wrong Vxc values
in GW ([gh#votca/votca#910])
- update performance compilation info ([gh#votca/votca#911])
- license for monorepo and all license files rst -> plain text
([gh#votca/votca#912], [gh#votca/votca#913])
- use python3 in xtp-tutorials ([gh#votca/votca#917])
- bump required boost version to 1.71 ([gh#votca/votca#915],
[gh#votca/votca#916])
- clean up NOTICE files ([gh#votca/votca#919])
- rm PYTHON_INSTDIR from VOTCARC ([gh#votca/votca#924])
- update citation in xtp README ([gh#votca/votca#925])
- fix install permission of tutorials ([gh#votca/votca#926])-
- Merge votca-{tools,csg,xtp} into one package
OBS-URL: https://build.opensuse.org/request/show/1044655
OBS-URL: https://build.opensuse.org/package/show/science/votca?expand=0&rev=13
2022-12-24 14:49:56 +00:00
|
|
|
# gromacs is not available on 32-bit arm
|
|
|
|
%ifnarch %{arm}
|
2021-12-18 14:11:17 +00:00
|
|
|
BuildRequires: gromacs-devel
|
2023-01-03 12:25:05 +00:00
|
|
|
# mpi gromacs is not available on 32-bit intel
|
|
|
|
# used for testing only
|
|
|
|
%ifnarch %ix86
|
2021-12-18 14:11:17 +00:00
|
|
|
BuildRequires: gromacs-openmpi
|
Accepting request 1044655 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update to 2022.1
- fix PROJECT_VERSION in subdirs ([gh#votca/votca#951])
- make csg_resample and csg_stat spacing consistent
([gh#votca/votca#956])
- fix build on FreeBSD ([gh#votca/votca#959])
- update CI container names ([gh#votca/votca#961])
- Fix gw quadrature scheme ([gh#votca/votca#967])
- update install guide for spack ([gh#votca/votca#972],
[gh#votca/votca#974])
- drop gmx-2021 builds from CI ([gh#votca/votca#976])
- update syntax for cmake 3.23 ([gh#votca/votca#978])
- fix CI build on Ubuntu ([gh#votca/votca#981])
- fix CI builds with icpx ([gh#votca/votca#984],
[gh#votca/votca#1004])
- fix CI builds with ESPResSo 4.2.0 ([gh#votca/votca#993])
- fix localization issue ([gh#votca/votca#998],
[gh#votca/votca#1000])
- update github actions to new versions ([gh#votca/votca#1007],
[gh#votca/votca#1013])
- Disable gromacs on 32-bit arm since it is missing
- Do not requires libint when xtp is disabled
- Adjust constraints to avoid rejecting too many workers, enable
parallel builds with limit_build.
- Clean up specfile, remove obsolete __DATE__ mangling.
- only use python3-epressomd for testing on x86_64
- Update to 2022
- fix some icpc warnings ([gh#votca/votca#934])
- only check for pytest if testing is enabled
([gh#votca/votca#930])
- exclude some builds from CI ([gh#votca/votca#940],
[gh#votca/votca#942], [gh#votca/votca#944],
[gh#votca/votca#945])
- update interface documentation ([gh#votca/votca#939])
- update install guide for binary packages
([gh#votca/votca#936])
- fixed sigma plot options passing ([gh#votca/votca#943])
- Also obsoletes votca-csg-apps
- Update to 2022-rc.2
- fix iqm merge orbitals command ([gh#votca/votca#907])
- fix bug in basisset serialization that caused wrong Vxc values
in GW ([gh#votca/votca#910])
- update performance compilation info ([gh#votca/votca#911])
- license for monorepo and all license files rst -> plain text
([gh#votca/votca#912], [gh#votca/votca#913])
- use python3 in xtp-tutorials ([gh#votca/votca#917])
- bump required boost version to 1.71 ([gh#votca/votca#915],
[gh#votca/votca#916])
- clean up NOTICE files ([gh#votca/votca#919])
- rm PYTHON_INSTDIR from VOTCARC ([gh#votca/votca#924])
- update citation in xtp README ([gh#votca/votca#925])
- fix install permission of tutorials ([gh#votca/votca#926])-
- Merge votca-{tools,csg,xtp} into one package
OBS-URL: https://build.opensuse.org/request/show/1044655
OBS-URL: https://build.opensuse.org/package/show/science/votca?expand=0&rev=13
2022-12-24 14:49:56 +00:00
|
|
|
%endif
|
2023-01-03 12:25:05 +00:00
|
|
|
%endif
|
2021-12-18 14:11:17 +00:00
|
|
|
BuildRequires: hdf5-devel
|
|
|
|
BuildRequires: lammps
|
|
|
|
BuildRequires: libboost_filesystem-devel >= 1.71.0
|
|
|
|
BuildRequires: libboost_program_options-devel >= 1.71.0
|
|
|
|
BuildRequires: libboost_regex-devel >= 1.71.0
|
|
|
|
BuildRequires: libboost_serialization-devel >= 1.71.0
|
|
|
|
BuildRequires: libboost_system-devel >= 1.71.0
|
|
|
|
BuildRequires: libboost_test-devel >= 1.71.0
|
|
|
|
BuildRequires: libboost_timer-devel >= 1.71.0
|
|
|
|
BuildRequires: libecpint-devel
|
|
|
|
BuildRequires: libexpat-devel
|
Accepting request 1044655 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update to 2022.1
- fix PROJECT_VERSION in subdirs ([gh#votca/votca#951])
- make csg_resample and csg_stat spacing consistent
([gh#votca/votca#956])
- fix build on FreeBSD ([gh#votca/votca#959])
- update CI container names ([gh#votca/votca#961])
- Fix gw quadrature scheme ([gh#votca/votca#967])
- update install guide for spack ([gh#votca/votca#972],
[gh#votca/votca#974])
- drop gmx-2021 builds from CI ([gh#votca/votca#976])
- update syntax for cmake 3.23 ([gh#votca/votca#978])
- fix CI build on Ubuntu ([gh#votca/votca#981])
- fix CI builds with icpx ([gh#votca/votca#984],
[gh#votca/votca#1004])
- fix CI builds with ESPResSo 4.2.0 ([gh#votca/votca#993])
- fix localization issue ([gh#votca/votca#998],
[gh#votca/votca#1000])
- update github actions to new versions ([gh#votca/votca#1007],
[gh#votca/votca#1013])
- Disable gromacs on 32-bit arm since it is missing
- Do not requires libint when xtp is disabled
- Adjust constraints to avoid rejecting too many workers, enable
parallel builds with limit_build.
- Clean up specfile, remove obsolete __DATE__ mangling.
- only use python3-epressomd for testing on x86_64
- Update to 2022
- fix some icpc warnings ([gh#votca/votca#934])
- only check for pytest if testing is enabled
([gh#votca/votca#930])
- exclude some builds from CI ([gh#votca/votca#940],
[gh#votca/votca#942], [gh#votca/votca#944],
[gh#votca/votca#945])
- update interface documentation ([gh#votca/votca#939])
- update install guide for binary packages
([gh#votca/votca#936])
- fixed sigma plot options passing ([gh#votca/votca#943])
- Also obsoletes votca-csg-apps
- Update to 2022-rc.2
- fix iqm merge orbitals command ([gh#votca/votca#907])
- fix bug in basisset serialization that caused wrong Vxc values
in GW ([gh#votca/votca#910])
- update performance compilation info ([gh#votca/votca#911])
- license for monorepo and all license files rst -> plain text
([gh#votca/votca#912], [gh#votca/votca#913])
- use python3 in xtp-tutorials ([gh#votca/votca#917])
- bump required boost version to 1.71 ([gh#votca/votca#915],
[gh#votca/votca#916])
- clean up NOTICE files ([gh#votca/votca#919])
- rm PYTHON_INSTDIR from VOTCARC ([gh#votca/votca#924])
- update citation in xtp README ([gh#votca/votca#925])
- fix install permission of tutorials ([gh#votca/votca#926])-
- Merge votca-{tools,csg,xtp} into one package
OBS-URL: https://build.opensuse.org/request/show/1044655
OBS-URL: https://build.opensuse.org/package/show/science/votca?expand=0&rev=13
2022-12-24 14:49:56 +00:00
|
|
|
%if %{with_xtp}
|
2021-12-18 14:11:17 +00:00
|
|
|
BuildRequires: libint-devel
|
Accepting request 1044655 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update to 2022.1
- fix PROJECT_VERSION in subdirs ([gh#votca/votca#951])
- make csg_resample and csg_stat spacing consistent
([gh#votca/votca#956])
- fix build on FreeBSD ([gh#votca/votca#959])
- update CI container names ([gh#votca/votca#961])
- Fix gw quadrature scheme ([gh#votca/votca#967])
- update install guide for spack ([gh#votca/votca#972],
[gh#votca/votca#974])
- drop gmx-2021 builds from CI ([gh#votca/votca#976])
- update syntax for cmake 3.23 ([gh#votca/votca#978])
- fix CI build on Ubuntu ([gh#votca/votca#981])
- fix CI builds with icpx ([gh#votca/votca#984],
[gh#votca/votca#1004])
- fix CI builds with ESPResSo 4.2.0 ([gh#votca/votca#993])
- fix localization issue ([gh#votca/votca#998],
[gh#votca/votca#1000])
- update github actions to new versions ([gh#votca/votca#1007],
[gh#votca/votca#1013])
- Disable gromacs on 32-bit arm since it is missing
- Do not requires libint when xtp is disabled
- Adjust constraints to avoid rejecting too many workers, enable
parallel builds with limit_build.
- Clean up specfile, remove obsolete __DATE__ mangling.
- only use python3-epressomd for testing on x86_64
- Update to 2022
- fix some icpc warnings ([gh#votca/votca#934])
- only check for pytest if testing is enabled
([gh#votca/votca#930])
- exclude some builds from CI ([gh#votca/votca#940],
[gh#votca/votca#942], [gh#votca/votca#944],
[gh#votca/votca#945])
- update interface documentation ([gh#votca/votca#939])
- update install guide for binary packages
([gh#votca/votca#936])
- fixed sigma plot options passing ([gh#votca/votca#943])
- Also obsoletes votca-csg-apps
- Update to 2022-rc.2
- fix iqm merge orbitals command ([gh#votca/votca#907])
- fix bug in basisset serialization that caused wrong Vxc values
in GW ([gh#votca/votca#910])
- update performance compilation info ([gh#votca/votca#911])
- license for monorepo and all license files rst -> plain text
([gh#votca/votca#912], [gh#votca/votca#913])
- use python3 in xtp-tutorials ([gh#votca/votca#917])
- bump required boost version to 1.71 ([gh#votca/votca#915],
[gh#votca/votca#916])
- clean up NOTICE files ([gh#votca/votca#919])
- rm PYTHON_INSTDIR from VOTCARC ([gh#votca/votca#924])
- update citation in xtp README ([gh#votca/votca#925])
- fix install permission of tutorials ([gh#votca/votca#926])-
- Merge votca-{tools,csg,xtp} into one package
OBS-URL: https://build.opensuse.org/request/show/1044655
OBS-URL: https://build.opensuse.org/package/show/science/votca?expand=0&rev=13
2022-12-24 14:49:56 +00:00
|
|
|
%endif
|
2021-12-18 14:11:17 +00:00
|
|
|
BuildRequires: libxc-devel
|
2022-12-07 23:32:15 +00:00
|
|
|
BuildRequires: memory-constraints
|
2021-12-18 14:11:17 +00:00
|
|
|
BuildRequires: openmpi-macros-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: psmisc
|
|
|
|
BuildRequires: python3-cma
|
2022-12-22 08:39:40 +00:00
|
|
|
# only needed for testing
|
2021-12-18 14:11:17 +00:00
|
|
|
BuildRequires: python3-lxml
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
# for hdf5
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
Obsoletes: votca-tools <= 2022~rc1
|
|
|
|
Provides: votca-tools = %version-%release
|
|
|
|
Obsoletes: votca-csg <= 2022~rc1
|
|
|
|
Provides: votca-csg = %version-%release
|
2021-12-19 22:36:46 +00:00
|
|
|
Obsoletes: votca-csg-apps <= 2022~rc1
|
|
|
|
Provides: votca-csg-apps = %version-%release
|
2021-12-18 14:11:17 +00:00
|
|
|
Obsoletes: votca-xtp <= 2022~rc1
|
|
|
|
Provides: votca-xtp = %version-%release
|
|
|
|
|
|
|
|
%global votca_desc \
|
|
|
|
VOTCA is a software package which focuses on the analysis of molecular \
|
|
|
|
dynamics data, the development of systematic coarse-graining techniques as \
|
|
|
|
well as methods used for simulating microscopic charge (and exciton) transport \
|
|
|
|
in disordered semiconductors.
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{votca_desc}
|
|
|
|
|
|
|
|
%package -n libvotca%sover
|
|
|
|
Summary: VOTCA tools library
|
|
|
|
Group: System/Libraries
|
2022-01-16 02:50:34 +00:00
|
|
|
Obsoletes: libvotca_tools2022 <= 2022~rc1
|
|
|
|
Provides: libvotca_tools2022 = %version-%release
|
|
|
|
Obsoletes: libvotca_csg2022 <= 2022~rc1
|
|
|
|
Provides: libvotca_csg2022 = %version-%release
|
|
|
|
Obsoletes: libvotca_xtp2022 <= 2022~rc1
|
|
|
|
Provides: libvotca_xtp2022 = %version-%release
|
2021-12-18 14:11:17 +00:00
|
|
|
|
|
|
|
%description -n libvotca%sover
|
|
|
|
%{votca_desc}
|
|
|
|
|
|
|
|
This package contains the librares of VOTCA package.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development headers and libraries for votca
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: eigen3-devel
|
|
|
|
Requires: fftw3-devel
|
|
|
|
Requires: libexpat-devel
|
|
|
|
Requires: libvotca%sover = %{version}
|
|
|
|
Obsoletes: votca-tools-devel <= 2022~rc1
|
|
|
|
Provides: votca-tools-devel = %version-%release
|
|
|
|
Obsoletes: votca-csg-devel <= 2022~rc1
|
|
|
|
Provides: votca-csg-devel = %version-%release
|
|
|
|
Obsoletes: votca-xtp-devel <= 2022~rc1
|
|
|
|
Provides: votca-xtp-devel = %version-%release
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{votca_desc}
|
|
|
|
|
|
|
|
This package contains development headers and libraries for votca.
|
|
|
|
|
|
|
|
%package common
|
|
|
|
Summary: Architecture-independent data files for VOTCA
|
|
|
|
Group: Productivity/Scientific/Chemistry
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: /usr/bin/awk
|
|
|
|
Requires: bash
|
|
|
|
Requires: perl
|
|
|
|
Obsoletes: votca-csg-common <= 2022~rc1
|
|
|
|
Provides: votca-csg-common = %version-%release
|
|
|
|
Obsoletes: votca-xtp-common <= 2022~rc1
|
|
|
|
Provides: votca-xtp-common = %version-%release
|
|
|
|
|
|
|
|
%description common
|
|
|
|
%{votca_desc}
|
|
|
|
|
|
|
|
This package contains the architecture-independent data files for VOTCA.
|
|
|
|
|
|
|
|
%package tutorials
|
|
|
|
Summary: Tutorial documentation for VOTCA Coarse Graining Engine
|
|
|
|
Group: Productivity/Scientific/Chemistry
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: /bin/bash
|
|
|
|
Obsoletes: votca-csg-tutorials <= 2022~rc1
|
|
|
|
Provides: votca-csg-tutorials = %version-%release
|
|
|
|
|
|
|
|
%description tutorials
|
|
|
|
%{votca_desc}
|
|
|
|
|
|
|
|
This package contains the tutorial documentation and sample data.
|
|
|
|
|
|
|
|
%package bash
|
|
|
|
Summary: Bash completion for votca
|
|
|
|
Group: System/Shells
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: bash-completion
|
|
|
|
BuildArch: noarch
|
|
|
|
Obsoletes: votca-csg-bash <= 2022~rc1
|
|
|
|
Provides: votca-csg-bash = %version-%release
|
|
|
|
|
|
|
|
%description bash
|
|
|
|
%{votca_desc}
|
|
|
|
|
|
|
|
This package contains the bash completion support for votca.
|
|
|
|
|
|
|
|
%prep
|
2024-06-05 03:29:45 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{uversion}
|
2021-12-18 14:11:17 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%setup_openmpi
|
|
|
|
|
|
|
|
# save some memory
|
2022-12-07 23:32:15 +00:00
|
|
|
%limit_build -m 2400
|
2021-12-18 14:11:17 +00:00
|
|
|
%{cmake} -DINSTALL_RC_FILES=OFF -DCMAKE_SKIP_RPATH=OFF -DENABLE_TESTING=ON -DENABLE_REGRESSION_TESTING=ON \
|
|
|
|
-DINJECT_MARCH_NATIVE=OFF -DBUILD_CSGAPPS=ON \
|
|
|
|
-DBUILD_XTP=%{with_xtp} \
|
|
|
|
..
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
2023-11-16 06:38:08 +00:00
|
|
|
sed -i '1s@env @@' \
|
2021-12-18 14:11:17 +00:00
|
|
|
%{buildroot}/%{_datadir}/votca/scripts/inverse/{iie,cma_processor,table_smooth_at_cut_off}.py \
|
|
|
|
%{buildroot}/%{_datadir}/votca/csg-tutorials/LJ1-LJ2/imc/svd.py \
|
|
|
|
%{buildroot}/%{_datadir}/votca/csg-tutorials/spce/ibi*/spce.py
|
|
|
|
|
|
|
|
%if %{with_xtp}
|
|
|
|
sed -i '1s@env @@' %{buildroot}/%{_bindir}/xtp_* %{buildroot}/%{_datadir}/votca/xtp/benchmark/xtp_benchmark
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Move bash completion file to correct location
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/bash_completion.d
|
2023-11-16 06:38:08 +00:00
|
|
|
cp %{__builddir}/csg/scripts/csg-completion.bash %{buildroot}%{_datadir}/bash_completion.d/votca
|
2021-12-18 14:11:17 +00:00
|
|
|
|
|
|
|
%fdupes %{buildroot}%{_prefix}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%setup_openmpi
|
|
|
|
%ctest
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/{votca,csg,xtp}_*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man7/*
|
|
|
|
|
|
|
|
%post -n libvotca%sover -p /sbin/ldconfig
|
|
|
|
%postun -n libvotca%sover -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libvotca%sover
|
|
|
|
%doc NOTICE.rst README.rst CHANGELOG.rst
|
|
|
|
%license LICENSE
|
|
|
|
%{_libdir}/libvotca_*.so.%{sover}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/votca/
|
|
|
|
%{_libdir}/libvotca_*.so
|
|
|
|
%{_libdir}/cmake/VOTCA_*
|
|
|
|
|
|
|
|
%files tutorials
|
|
|
|
%{_datadir}/votca/{csg,xtp}-tutorials
|
|
|
|
|
|
|
|
%files common
|
|
|
|
%{_datadir}/votca
|
|
|
|
%exclude %{_datadir}/votca/{csg,xtp}-tutorials
|
|
|
|
|
|
|
|
%files bash
|
|
|
|
%dir %{_datadir}/bash_completion.d
|
|
|
|
%{_datadir}/bash_completion.d/votca
|
|
|
|
|
|
|
|
%changelog
|