File hugo-compress-site.spec of Package hugo-compress-site

#
# spec file for package hugo-compress-site
#
# Copyright (c) 2024 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:           hugo-compress-site
Version:        1.0.8
Release:        0
Summary:        Precompress file for the webserver
License:        AGPL-3.0
URL:            https://nordisch.org/
Source0:        hugo-compress-site
Source1:        hugo-deployer
Requires:       brotli
Requires:       ruby
Requires:       gzip
Requires:       zstd
BuildArch:      noarch
%description
nginx can handle precompressed files to save bandwidth and cpu resources.

%prep

%build

%install
install -D -m 755 -t %{buildroot}%{_bindir}/ %{SOURCE0} %{SOURCE1}

%files
%{_bindir}/hugo-compress-site
%{_bindir}/hugo-deployer

%changelog
openSUSE Build Service is sponsored by