2023-10-16 13:16:46 +02:00
|
|
|
#
|
|
|
|
# spec file for package decibels
|
|
|
|
#
|
2024-04-11 11:41:11 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2023-10-16 13:16:46 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2024-04-11 11:41:11 +02:00
|
|
|
%define lname org.gnome.Decibels
|
2023-10-16 15:48:41 +02:00
|
|
|
%define sname gi-typescript-definitions
|
2024-04-11 11:41:11 +02:00
|
|
|
%define scommit 94acb6307e8d467cd9b3e340a18431496636b8f6
|
2023-10-16 13:16:46 +02:00
|
|
|
Name: decibels
|
2024-04-11 11:41:11 +02:00
|
|
|
Version: 46.0
|
2023-10-16 13:16:46 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Play audio files with a waveform
|
|
|
|
License: GPL-3.0-or-later
|
2024-04-11 11:41:11 +02:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/Incubator/decibels
|
|
|
|
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
2023-10-16 15:50:49 +02:00
|
|
|
Source1: https://gitlab.gnome.org/BrainBlasted/%{sname}/-/archive/%{scommit}/%{sname}-%{scommit}.tar.bz2
|
2023-10-16 13:16:46 +02:00
|
|
|
BuildRequires: appstream-glib
|
2024-04-11 11:41:11 +02:00
|
|
|
BuildRequires: blueprint-compiler
|
2023-10-16 13:16:46 +02:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: hicolor-icon-theme
|
2023-12-03 04:56:58 +01:00
|
|
|
BuildRequires: meson >= 0.62.0
|
2023-10-16 13:16:46 +02:00
|
|
|
BuildRequires: typescript
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(gjs-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk4)
|
2024-04-11 11:41:11 +02:00
|
|
|
BuildRequires: typelib(Adw)
|
2023-10-16 13:16:46 +02:00
|
|
|
Requires: typelib(GstPlay)
|
|
|
|
Provides: bundled(gi-types)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
App that lets you play audio files.
|
|
|
|
It has a modern and adaptive interface, with a waveform, simple playback controls,
|
|
|
|
and the ability to control the speed at which the audio is played.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2023-10-16 15:48:41 +02:00
|
|
|
%setup -q
|
|
|
|
tar -xf %{SOURCE1} --strip-components 1 -C gi-types
|
2023-10-16 13:16:46 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
2023-12-03 04:56:58 +01:00
|
|
|
%find_lang %{lname}
|
2023-10-16 13:16:46 +02:00
|
|
|
|
2024-04-11 11:41:11 +02:00
|
|
|
%check
|
|
|
|
|
2023-10-16 13:16:46 +02:00
|
|
|
%files
|
|
|
|
%license LICENCE
|
|
|
|
%doc README*
|
|
|
|
%{_bindir}/%{lname}
|
|
|
|
%dir %{_datadir}/%{lname}
|
|
|
|
%{_datadir}/%{lname}/%{lname}*
|
|
|
|
%{_datadir}/applications/%{lname}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/*/%{lname}*
|
|
|
|
%{_datadir}/metainfo/%{lname}.metainfo.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/%{lname}.gschema.xml
|
|
|
|
%{_datadir}/dbus-1/services/%{lname}.service
|
|
|
|
|
2023-12-03 04:56:58 +01:00
|
|
|
%files lang -f %{lname}.lang
|
2023-10-16 13:16:46 +02:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
|