2016-12-03 12:58:47 +00:00
|
|
|
#
|
|
|
|
# spec file for package kwave
|
|
|
|
#
|
2024-02-23 20:08:44 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-12-03 12:58:47 +00: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.
|
|
|
|
|
2018-10-12 08:46:51 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-03 12:58:47 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-01-06 12:45:03 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:45:18 +00:00
|
|
|
Name: kwave
|
2024-03-21 13:55:14 +00:00
|
|
|
Version: 24.02.1
|
2018-11-24 23:45:18 +00:00
|
|
|
Release: 0
|
2021-04-19 13:31:10 +00:00
|
|
|
Summary: Sound editor by KDE
|
2018-03-10 12:11:29 +00:00
|
|
|
License: GPL-2.0-or-later
|
2021-04-19 13:31:10 +00:00
|
|
|
URL: https://apps.kde.org/kwave
|
2024-02-26 10:29:39 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-01-06 12:45:03 +00:00
|
|
|
%if %{with released}
|
2024-02-26 10:29:39 +00:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2021-04-19 13:31:10 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 12:58:47 +00:00
|
|
|
BuildRequires: alsa-devel
|
|
|
|
BuildRequires: audiofile-devel
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: fftw3-devel
|
|
|
|
BuildRequires: flac-devel
|
2017-10-17 12:14:22 +00:00
|
|
|
BuildRequires: id3lib-devel
|
2016-12-03 12:58:47 +00:00
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libopus-devel
|
|
|
|
BuildRequires: libpulse-devel
|
|
|
|
BuildRequires: libsamplerate-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: pkgconfig
|
2017-08-11 23:00:08 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 11:40:24 +00:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Service)
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Multimedia)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2017-08-29 20:32:13 +00:00
|
|
|
BuildRequires: pkgconfig(mad)
|
2016-12-03 12:58:47 +00:00
|
|
|
Recommends: lame
|
|
|
|
Recommends: toolame
|
|
|
|
Recommends: twolame
|
2020-03-28 13:58:22 +00:00
|
|
|
BuildRequires: rsvg-convert
|
2016-12-03 12:58:47 +00:00
|
|
|
|
|
|
|
%description
|
2021-04-19 13:31:10 +00:00
|
|
|
Kwave is a sound editor by KDE.
|
2016-12-03 12:58:47 +00:00
|
|
|
|
|
|
|
With Kwave you can edit many sorts of wav-files including multi-channel files.
|
|
|
|
You are able to alter and play back each channel on its own. Kwave also
|
|
|
|
includes many plugins (most are still under development) to transform the
|
|
|
|
wave-file in several ways and presents a graphical view with a complete zoom-
|
|
|
|
and scroll capability.
|
|
|
|
|
2017-04-15 13:28:53 +00:00
|
|
|
%lang_package
|
|
|
|
|
2016-12-03 12:58:47 +00:00
|
|
|
%prep
|
2021-04-19 13:31:10 +00:00
|
|
|
%autosetup -p1
|
2016-12-03 12:58:47 +00:00
|
|
|
|
|
|
|
# Remove "X-SuSE-translate=true" from desktop file (will be added again using "suse_update_desktop_file") - Fixes package build error
|
|
|
|
perl -pi -e "s|X-SuSE-translate=true||" kwave/org.kde.kwave.desktop.in
|
|
|
|
|
|
|
|
%build
|
2022-11-17 22:58:49 +00:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2016-12-03 12:58:47 +00:00
|
|
|
|
|
|
|
%install
|
2022-11-17 22:58:49 +00:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
|
|
|
|
%suse_update_desktop_file -r org.kde.%{name} Qt KDE AudioVideo Audio Recorder AudioVideoEditing
|
2016-12-03 12:58:47 +00:00
|
|
|
|
2023-03-02 14:21:42 +00:00
|
|
|
%ldconfig_scriptlets
|
2016-12-03 12:58:47 +00:00
|
|
|
|
|
|
|
%files
|
2018-11-24 23:58:21 +00:00
|
|
|
%license GNU-LICENSE
|
2017-08-11 23:00:08 +00:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kwave/
|
2016-12-03 12:58:47 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kwave.desktop
|
2017-08-11 23:00:08 +00:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kwave.appdata.xml
|
|
|
|
%{_kf5_bindir}/kwave
|
2016-12-03 12:58:47 +00:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/*.svgz
|
2017-08-11 23:00:08 +00:00
|
|
|
%{_kf5_libdir}/libkwave*.so.*
|
|
|
|
%{_kf5_plugindir}/kwave/
|
|
|
|
%{_kf5_sharedir}/kwave/
|
2016-12-03 12:58:47 +00:00
|
|
|
|
2017-04-15 13:28:53 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2016-12-03 12:58:47 +00:00
|
|
|
%changelog
|