File pipewire-dspsettings.spec of Package pipewire-dspsettings

# spec file for package pipewire-dspsettings
#
# Copyright (c) 2019 Jo Boschetti
# Copyright (c) 2019 SUSE LINUX 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:           pipewire-dspsettings
Version:        1.3
Release:        0
Summary:        Gui Tool to force Pipewire metadata quantum and sample rate
License:        GPL-3.0+
Group:          System/GUI/Other
Url:            https://geekosdaw.tuxfamily.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source1:        pipewire-dspsettings
Source2:        pipewire-dspsettings.desktop
Source3:        pipewire-logo.png
Requires:       yad
Requires:       mawk
BuildArch:      noarch

%description
Gui Tool to force Pipewire metadata quantum and sample rate

%prep

%build

%install
mkdir -p %{buildroot}%{_datadir}/{pixmaps,applications/packages}/
install -m 655 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/
install -m 655 %{SOURCE2} %{buildroot}%{_datadir}/applications/
mkdir -p %{buildroot}/%{_bindir}/
install %{SOURCE1} -m 655 %{buildroot}/%{_bindir}/

%files
%defattr(-,root,root)
%{_bindir}/pipewire-dspsettings
%{_datadir}/applications/*
%{_datadir}/pixmaps/*

%changelog
openSUSE Build Service is sponsored by