File mpi-rpm-macros.spec of Package mpi-rpm-macros

#
# spec file for package mpi-rpm-macros
#
# Copyright (c) 2022 SUSE LLC
#
# 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/
#


Name:           mpi-rpm-macros
Version:        8
Release:        0
Summary:        RPM dependency generator hooks for MPI packages
License:        MIT
URL:            https://packages.fedoraproject.org/pkgs/rpm-mpi-hooks/rpm-mpi-hooks/
Source:         rpm-mpi-hooks-%{version}.tar.xz
BuildArch:      noarch

%description

%prep
%autosetup -n rpm-mpi-hooks-%{version}

%build
# nothing

%install
install -Dpm 0644 mpi.attr %{buildroot}%{_rpmconfigdir}/fileattrs/mpi.attr
install -Dpm 0644 mpilibsymlink.attr %{buildroot}%{_rpmconfigdir}/fileattrs/mpilibsymlink.attr
install -Dpm 0755 mpi.prov %{buildroot}%{_rpmconfigdir}/mpi.prov
install -Dpm 0755 mpi.req %{buildroot}%{_rpmconfigdir}/mpi.req

%files
%license LICENSE
%doc
%{_rpmconfigdir}/mpi.*
%{_rpmconfigdir}/fileattrs/mpi*

%changelog
openSUSE Build Service is sponsored by