This repository was archived by the owner on Apr 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathopencattus.spec
More file actions
64 lines (57 loc) · 2.24 KB
/
opencattus.spec
File metadata and controls
64 lines (57 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Name: opencattus-installer
Version: 1.0
Release: 4
Summary: OpenCATTUS Installer
License: Apache 2.0
URL: https://versatushpc.com.br/opencattus/
Source0: opencattus-%{VERSION}.tar.gz
BuildRequires: make,cmake,cppcheck,ninja-build,newt-devel,gcc-toolset-14,gcc-toolset-14-libubsan-devel,gcc-toolset-14-libasan-devel
Requires: newt
# Disable debug package for now
%global _enable_debug_package 0
%global debug_package %{nil}
%description
Use OpenCATTUS installer to setup a HPC cluster from scratch.
%prep
echo "PREP: $PWD"
%autosetup -n opencattus-%{VERSION}
bash -c '
source rhel-gcc-toolset-14.sh;
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
'
%build
echo "BUILD: $PWD"
cmake --build build
%install
echo "INSTALL: $PWD"
mkdir -p %{buildroot}/usr/bin
mkdir -p %{buildroot}/opt/cloysterhpc/conf/repos/
install -m 755 build/src/cloysterhpc %{buildroot}/usr/bin/cloysterhpc
install -m 644 repos/repos.conf %{buildroot}/opt/cloysterhpc/conf/repos/repos.conf
install -m 644 repos/alma.conf %{buildroot}/opt/cloysterhpc/conf/repos/alma.conf
install -m 644 repos/rhel.conf %{buildroot}/opt/cloysterhpc/conf/repos/rhel.conf
install -m 644 repos/oracle.conf %{buildroot}/opt/cloysterhpc/conf/repos/oracle.conf
install -m 644 repos/rocky-upstream.conf %{buildroot}/opt/cloysterhpc/conf/repos/rocky-upstream.conf
install -m 644 repos/rocky-vault.conf %{buildroot}/opt/cloysterhpc/conf/repos/rocky-vault.conf
%files
/usr/bin/cloysterhpc
/opt/cloysterhpc/conf/repos/repos.conf
/opt/cloysterhpc/conf/repos/alma.conf
/opt/cloysterhpc/conf/repos/rhel.conf
/opt/cloysterhpc/conf/repos/oracle.conf
/opt/cloysterhpc/conf/repos/rocky-upstream.conf
/opt/cloysterhpc/conf/repos/rocky-vault.conf
%changelog
* Thu Aug 14 2025 Daniel Hilst <daniel@versatushpc.com.br> - 1.0-4 - Bugfix
- Update OFED
- Dump configuration
- Add support for Rocky Linux 9.6
* Wed Jul 16 2025 Daniel Hilst <daniel@versatushpc.com.br> - 1.0-3 - Add ansible roles
- Add ansible roles implementation
- Fix dnssec configuration generation in xCAT plugin
- Make ofed group optional in the configuration file
* Tue Jun 10 2025 Daniel Hilst <daniel@versatushpc.com.br> - 1.0-2 - Repositories revamped
- NFS fixed
- Doca OFED support added
* Tue Feb 25 2025 Daniel Hilst <daniel@versatushpc.com.br> - 1.0-1
- Initial release