2017-09-12 14:34:53 +00:00
|
|
|
#
|
2017-09-27 07:33:00 +00:00
|
|
|
# spec file for package suse-hpc
|
2017-09-12 14:34:53 +00:00
|
|
|
#
|
2024-02-03 12:05:44 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2017-09-12 14:34:53 +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.
|
|
|
|
|
2019-02-06 17:56:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-09-12 14:34:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Summary: SUSE HPC Environment
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Productivity/Clustering/Computing
|
|
|
|
Name: suse-hpc
|
2024-02-03 12:05:44 +00:00
|
|
|
Version: 0.5.20240203.a16bd5e
|
2017-09-12 14:34:53 +00:00
|
|
|
Release: 0
|
2017-10-06 08:32:55 +00:00
|
|
|
Source0: macros.hpc
|
|
|
|
Source1: dlinfo.c
|
|
|
|
Source2: hpc_elf.pl
|
|
|
|
Source3: hpc_elf.attr
|
|
|
|
Source4: hpc_elflib.attr
|
2017-09-13 22:51:52 +00:00
|
|
|
Source5: LICENSE
|
2020-04-27 13:41:38 +00:00
|
|
|
URL: http://www.suse.com/hpc
|
2017-09-12 14:34:53 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Provide rpm macros for building and installing SUSE HPC
|
|
|
|
packages.
|
|
|
|
|
|
|
|
%prep
|
2017-09-13 22:51:52 +00:00
|
|
|
cp %{S:1} .
|
2017-09-12 14:34:53 +00:00
|
|
|
|
|
|
|
%build
|
2017-09-13 22:51:52 +00:00
|
|
|
gcc -o dlinfo dlinfo.c -ldl
|
2017-09-12 14:34:53 +00:00
|
|
|
|
|
|
|
%install
|
2018-12-19 08:20:49 +00:00
|
|
|
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
|
|
|
|
install -m 644 %{S:0} %{buildroot}%{_rpmconfigdir}/macros.d
|
2017-09-13 22:51:52 +00:00
|
|
|
mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
|
|
|
|
install -m 755 %{S:2} dlinfo %{buildroot}%{_rpmconfigdir}
|
|
|
|
install -m 644 %{S:3} %{S:4} %{buildroot}%{_rpmconfigdir}/fileattrs
|
|
|
|
cp %{S:5} .
|
2017-09-12 14:34:53 +00:00
|
|
|
|
2018-06-19 07:07:13 +00:00
|
|
|
%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320
|
|
|
|
%define mylicense %license
|
|
|
|
%else
|
|
|
|
%define mylicense %doc
|
2018-06-19 06:11:03 +00:00
|
|
|
%endif
|
|
|
|
|
2017-09-12 14:34:53 +00:00
|
|
|
%files
|
2018-06-19 06:11:03 +00:00
|
|
|
%mylicense LICENSE
|
2018-12-19 08:20:49 +00:00
|
|
|
%{_rpmconfigdir}/macros.d/macros.hpc
|
2017-09-13 22:51:52 +00:00
|
|
|
%{_rpmconfigdir}/dlinfo
|
|
|
|
%{_rpmconfigdir}/hpc_elf.pl
|
|
|
|
%{_rpmconfigdir}/fileattrs/*
|
|
|
|
|
2017-09-12 14:34:53 +00:00
|
|
|
%changelog
|