2014-03-18 09:59:57 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package cfengine-masterfiles
|
|
|
|
|
#
|
2023-02-14 16:19:48 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-03-18 09:59:57 +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.
|
|
|
|
|
|
2021-04-19 12:00:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-03-18 09:59:57 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Yes, its not FHS conformant but in sync with cfengine documentation
|
2021-04-19 12:00:27 +00:00
|
|
|
%define basedir %{_localstatedir}/cfengine
|
|
|
|
|
%define workdir %{basedir}
|
2014-03-18 09:59:57 +00:00
|
|
|
|
2021-04-19 12:00:27 +00:00
|
|
|
%define srcname masterfiles
|
|
|
|
|
Name: cfengine-masterfiles
|
2023-02-14 16:19:48 +00:00
|
|
|
Version: 3.21.0
|
2021-04-19 12:00:27 +00:00
|
|
|
Release: 0
|
2014-03-18 09:59:57 +00:00
|
|
|
Summary: CFEngine promises master files
|
2023-02-14 16:19:48 +00:00
|
|
|
License: LGPL-3.0-or-later AND MIT
|
2014-03-18 09:59:57 +00:00
|
|
|
Group: Productivity/Networking/System
|
2021-04-19 12:00:27 +00:00
|
|
|
URL: https://cfengine.com/
|
2017-03-31 07:45:08 +00:00
|
|
|
Source: https://github.com/cfengine/masterfiles/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
2014-07-30 14:56:22 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
2015-08-03 08:22:31 +00:00
|
|
|
BuildRequires: cfengine
|
2014-03-19 18:12:51 +00:00
|
|
|
BuildRequires: findutils
|
2021-04-19 12:00:27 +00:00
|
|
|
Requires: cfengine
|
|
|
|
|
BuildArch: noarch
|
2015-07-30 10:24:55 +00:00
|
|
|
%if 0%{?fedora_version} == 20 || 0%{?rhel_version} >= 700
|
2015-06-18 15:39:21 +00:00
|
|
|
BuildRequires: perl-Exporter
|
|
|
|
|
%endif
|
2014-03-19 18:12:51 +00:00
|
|
|
|
2014-03-18 09:59:57 +00:00
|
|
|
%description
|
|
|
|
|
Masterfiles are the pristine version of the CFEngine promises. These
|
2021-04-19 12:00:27 +00:00
|
|
|
will be available in %{basedir}/masterfiles and are copied to
|
|
|
|
|
%{basedir}/inputs by CFEngine.
|
2014-03-18 09:59:57 +00:00
|
|
|
|
|
|
|
|
%prep
|
2017-03-31 07:45:08 +00:00
|
|
|
%setup -q -n %{srcname}-%{version}
|
2014-03-18 09:59:57 +00:00
|
|
|
|
|
|
|
|
%build
|
2016-07-28 14:01:27 +00:00
|
|
|
# EXPLICIT_VERSION must be set in the environment else creation of
|
|
|
|
|
# configure will fail
|
2021-04-19 12:00:27 +00:00
|
|
|
export EXPLICIT_VERSION="%{version}"
|
2016-07-28 14:01:27 +00:00
|
|
|
autoreconf -fiv
|
|
|
|
|
%configure --prefix=%{basedir}
|
2014-03-18 09:59:57 +00:00
|
|
|
|
|
|
|
|
%install
|
2021-04-19 12:00:27 +00:00
|
|
|
%make_install
|
2014-03-18 09:59:57 +00:00
|
|
|
|
|
|
|
|
%files
|
2018-07-02 11:40:06 +00:00
|
|
|
%license LICENSE
|
2021-04-19 12:00:27 +00:00
|
|
|
%doc README.md CONTRIBUTING.md
|
|
|
|
|
%{basedir}/masterfiles
|
2014-03-18 09:59:57 +00:00
|
|
|
|
|
|
|
|
%changelog
|