Files
cfengine-masterfiles/cfengine-masterfiles.spec

66 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package cfengine-masterfiles
#
# Copyright (c) 2023 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/
#
# Yes, its not FHS conformant but in sync with cfengine documentation
%define basedir %{_localstatedir}/cfengine
%define workdir %{basedir}
%define srcname masterfiles
Name: cfengine-masterfiles
Version: 3.21.0
Release: 0
Summary: CFEngine promises master files
License: LGPL-3.0-or-later AND MIT
Group: Productivity/Networking/System
URL: https://cfengine.com/
Source: https://github.com/cfengine/masterfiles/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cfengine
BuildRequires: findutils
Requires: cfengine
BuildArch: noarch
- Update to 3.7.0 Added * Support for user specified overring of framework defaults without modifying policy supplied by the framework itself (see example_def.json) * Support for def.json class augmentation in update policy * Run vacuum operation on postgresql every night as a part of maintenance. * Add measure_promise_time action body to lib (3.5, 3.6, 3.7, 3.8) * New negative class guard cfengine_internal_disable_agent_email so that agent email can be easily disabled by augmenting def.json Changed * Relocate def.cf to controls/VER/ * Relocate update_def to controls/VER * Relocate all controls to controls/VER * Only load cf_hub and reports.cf on CFEngine Enterprise installs * Relocate acls related to report collection from bundle server access_rules to controls/VER/reports.cf into bundle server report_access_rules * Re-organize cfe_internal splitting core from enterprise specific policies and loading the appropriate inputs only when necessary * Moved update directory into cfe_internal as it is not generally intended to be modified * services/autorun.cf moved to lib/VER/ as it is not generally intended to be modified * To improve predictibility autorun bundles are activated in lexicographical order * Relocate services/file_change.cf to cfe_internal/enterprise. This policy is most useful for a good OOTB experience with CFEngine Enterprise Mission Portal. * Relocate service_catalogue from promsies.cf to services/main.cf. It is intended to be a user entry. This name change correlates with the main OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine-masterfiles?expand=0&rev=32
2015-07-30 10:24:55 +00:00
%if 0%{?fedora_version} == 20 || 0%{?rhel_version} >= 700
BuildRequires: perl-Exporter
%endif
%description
Masterfiles are the pristine version of the CFEngine promises. These
will be available in %{basedir}/masterfiles and are copied to
%{basedir}/inputs by CFEngine.
%prep
%setup -q -n %{srcname}-%{version}
%build
# EXPLICIT_VERSION must be set in the environment else creation of
# configure will fail
export EXPLICIT_VERSION="%{version}"
autoreconf -fiv
%configure --prefix=%{basedir}
%install
%make_install
%files
%license LICENSE
%doc README.md CONTRIBUTING.md
%{basedir}/masterfiles
%changelog