File uyuni-setup-reportdb.spec of Package uyuni-setup-reportdb

#
# spec file for package uyuni-setup-reportdb
#
# 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:           uyuni-setup-reportdb
Version:        5.1.3
Release:        0
Summary:        Tools to setup PostgreSQL database as reporting DB for Uyuni and SUSE Manager
License:        GPL-2.0-only
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group:          Applications/System
URL:            https://github.com/uyuni-project/uyuni
Source0: uyuni-setup-reportdb-git-293.266ae4d.tar.gz
Requires:       lsof
Requires:       susemanager-schema-utility
Requires:       uyuni-reportdb-schema
BuildArch:      noarch

%description
Script, which will setup PostgreSQL database as reporting DB for Uyuni and SUSE Manager Server

%prep
%setup -q -n uyuni-setup-reportdb-git-293.266ae4d

%build

%install
install -d -m 755 %{buildroot}%{_bindir}
install -m 0755 bin/* %{buildroot}%{_bindir}

%files
%defattr(-,root,root,-)
%license LICENSE
%attr(755,root,root) %{_bindir}/uyuni-setup-reportdb-user
%attr(755,root,root) %{_bindir}/uyuni-sort-pg_hba
#%{_mandir}/man1/*

%changelog
openSUSE Build Service is sponsored by