File millisecond.spec of Package millisecond
#
# spec file for package millisecond
#
# Copyright (c) 2025 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: millisecond
Version: 0.1.1
Release: 0
Summary: Optimize your system for low latency audio
License: GPL-3.0
URL: https://github.com/gaheldev/Millisecond
Source0: %{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
Requires: pkgconfig(gtk4)
Requires: pkgconfig(libadwaita-1)
%description
Millisecond is a gtk app based on rtcqs.
It provides system diagnostics and offers tips to improve low latency
performance for audio production, with links to detailed documentation
from linuxaudio wiki.
In future releases, I intend to allow running fixes from the app whenever
possible.
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
sed -i -e 's/env //' %{buildroot}%{_datadir}/%{name}/%{name}/rtcqs.py
chmod 755 %{buildroot}%{_datadir}/%{name}/%{name}/rtcqs.py
%check
%meson_test
%files
%license COPYING
%doc README.md
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/dbus-1/services/*
%{_datadir}/glib-2.0/schemas/*
%{_datadir}/metainfo/*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/scalable/apps/*
%{_datadir}/icons/hicolor/symbolic/apps/*
%changelog