File multibuild.spec of Package multibuild
#
# spec file for package multibuild
#
# Copyright (c) 2024 Boian Berberov
#
# 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: multibuild
Version: 0.0.3
Release: 2%{?dist}
Summary: Tools for simplifying software builds for various distributions
License: EUPL-1.2
URL: https://gitlab.com/clu-os/3rd/multibuild
Source0: %{url}/-/archive/core/%{name}-core.tar.gz
BuildRequires: make
# _rpmmacrodir was added in rpm-4.14.0
%if 0%{?rhel_version} < 800 || 0%{?centos_version} < 800
%global _rpmmacrodir %{_rpmconfigdir}/macros.d
%else
BuildRequires: rpm >= 4.14.0
%endif
BuildArch: noarch
%description
Tools for simplifying software builds for various distributions
%prep
%setup -q -n %{name}-core
%build
echo 'Nothing to build'
%install
%make_install
%files
%{_rpmmacrodir}/macros.%{name}
%changelog