2017-09-12 16:34:53 +02:00
|
|
|
#
|
2017-09-27 09:33:00 +02:00
|
|
|
# spec file for package suse-hpc
|
2017-09-12 16:34:53 +02:00
|
|
|
#
|
2018-01-30 11:09:11 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-09-12 16:34:53 +02: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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Summary: SUSE HPC Environment
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Productivity/Clustering/Computing
|
|
|
|
Name: suse-hpc
|
2018-06-16 21:49:12 +02:00
|
|
|
Version: 0.2
|
2017-09-12 16:34:53 +02:00
|
|
|
Release: 0
|
2017-10-06 10:32:55 +02:00
|
|
|
Source0: macros.hpc
|
|
|
|
Source1: dlinfo.c
|
|
|
|
Source2: hpc_elf.pl
|
|
|
|
Source3: hpc_elf.attr
|
|
|
|
Source4: hpc_elflib.attr
|
2017-09-14 00:51:52 +02:00
|
|
|
Source5: LICENSE
|
2017-09-27 09:33:00 +02:00
|
|
|
Url: http://www.suse.com/hpc
|
2017-09-12 16:34:53 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Provide rpm macros for building and installing SUSE HPC
|
|
|
|
packages.
|
|
|
|
|
|
|
|
%prep
|
2017-09-14 00:51:52 +02:00
|
|
|
cp %{S:1} .
|
2017-09-12 16:34:53 +02:00
|
|
|
|
|
|
|
%build
|
2017-09-14 00:51:52 +02:00
|
|
|
gcc -o dlinfo dlinfo.c -ldl
|
2017-09-12 16:34:53 +02:00
|
|
|
|
|
|
|
%install
|
2017-09-14 00:51:52 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
|
|
|
install -m 644 %{S:0} %{buildroot}%{_sysconfdir}/rpm
|
|
|
|
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 16:34:53 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE
|
|
|
|
%config %{_sysconfdir}/rpm/macros.hpc
|
2017-09-14 00:51:52 +02:00
|
|
|
%{_rpmconfigdir}/dlinfo
|
|
|
|
%{_rpmconfigdir}/hpc_elf.pl
|
|
|
|
%{_rpmconfigdir}/fileattrs/*
|
|
|
|
|
2017-09-12 16:34:53 +02:00
|
|
|
%changelog
|