File klingelrec.spec of Package klingelrec
#
# spec file for package SAPHanaSR
#
# Copyright (c) 2020-2025 Fabian Herschel
#
# 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: klingelrec
License: GPL-2.0
Group: Productivity
AutoReqProv: on
Summary: Klingel Receiver - Play sound when triggered by incoming network request
Version: 1.0
Release: 1
Url: http://www.suse.com
BuildArch: noarch
Source0: %{name}-%{version}.tar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Klingel Receiver - Play sound when triggered by incoming network request
Authors:
--------
Fabian Herschel
%prep
tar xf %{S:0}
%if 0%{?sle_version} >= 120100
%define crmscr_path /usr/share/crmsh/scripts/
%endif
%build
#gzip man/*
%install
#mkdir -p %{buildroot}/var/adm/fillup-templates
mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}/usr/share/%{name}
mkdir -p %{buildroot}/etc/
mkdir -p %{buildroot}/lib/systemd/system/
# /var/adm/fillup-templates/sysconfig.<pkgname>
#cp -a ay %{buildroot}/usr/share/%{name}/
#cp -a kvm %{buildroot}/usr/share/%{name}/
set -x
cp -a sbin/* %{buildroot}/usr/sbin
cp -a etc/* %{buildroot}/etc
cp -a service/* %{buildroot}/lib/systemd/system/
set +x
%files
%defattr(-,root,root)
%dir /etc
/etc/*
/usr/sbin/*
%dir /lib/systemd/system/
/lib/systemd/system/klingelrec.service
/usr/share/%{name}
%changelog