* EFL passes CFEngine 3.10.2 * Add note for testing howto * Improve test output * Full vagrant testing * All tests now run in vagrant * Fix efl_service_recurse * Fix typo in efl_copy_files class * Tests for 3.10 beta passed * WIP 3.10 beta testing OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/evolve_cfengine_freelib?expand=0&rev=5
83 lines
2.3 KiB
RPMSpec
83 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package evolve_cfengine_freelib
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: evolve_cfengine_freelib
|
|
Summary: Evolve Thinking's free Cfengine promise library
|
|
License: GPL-3.0+
|
|
Group: System
|
|
Version: 3.6.5+git20170811.d9d8bc814a70
|
|
Release: 0
|
|
Url: https://github.com/evolvethinking/evolve_cfengine_freelib
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
Source1: %{name}-rpmlintrc
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%if 0%{?suse_version} > 1010
|
|
BuildRequires: fdupes
|
|
%endif
|
|
%if (0%{?fedora_version} == 20) || (0%{?rhel_version} >= 700)
|
|
BuildRequires: perl-Exporter
|
|
%endif
|
|
|
|
Requires: cfengine-masterfiles >= 3.5
|
|
Requires: perl
|
|
|
|
%description
|
|
The bundles contained in this CFEngine library primarily focus on data
|
|
driven policy. Each such bundle takes csv type delimited parameter file
|
|
as shown in the common bundle efl_c. A record consists of a single line
|
|
and the required fields.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
|
|
%install
|
|
|
|
%{__install} -d %{buildroot}%{_bindir}
|
|
%{__install} bin/* %{buildroot}%{_bindir}
|
|
%{__install} -d %{buildroot}/var/cfengine
|
|
cp -a masterfiles %{buildroot}/var/cfengine
|
|
cp -a modules %{buildroot}/var/cfengine
|
|
%{__install} -d %{buildroot}%{_docdir}/%{name}
|
|
cp -a examples %{buildroot}%{_docdir}/%{name}
|
|
|
|
%if 0%{?suse_version} > 1010
|
|
%fdupes %{buildroot}/%{_docdir}/%{name}
|
|
%endif
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README.md doc/efl_update.md
|
|
%dir %{_docdir}/%{name}/examples
|
|
%{_docdir}/%{name}/examples
|
|
%{_bindir}/*
|
|
%dir /var/cfengine
|
|
%dir /var/cfengine/masterfiles
|
|
/var/cfengine/masterfiles/*
|
|
%dir /var/cfengine/modules
|
|
/var/cfengine/modules/*
|
|
|
|
%changelog
|