[packages/ka6-kwave] - updated to 24.12.0
witekfl
witekfl at pld-linux.org
Thu Dec 12 21:36:22 CET 2024
commit 408bdd631c9a5c68060841d476dcf927debdf454
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Dec 12 21:27:54 2024 +0100
- updated to 24.12.0
ka6-kwave.spec | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 155 insertions(+)
---
diff --git a/ka6-kwave.spec b/ka6-kwave.spec
new file mode 100644
index 0000000..d43a893
--- /dev/null
+++ b/ka6-kwave.spec
@@ -0,0 +1,155 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 24.12.0
+%define kframever 5.94.0
+%define qtver 5.15.2
+%define kaname kwave
+Summary: Sound editor
+Name: ka6-%{kaname}
+Version: 24.12.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Applications
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: f8ce5032b18d644c642dbde0cbe85860
+URL: http://www.kde.org/
+BuildRequires: ImageMagick
+BuildRequires: ImageMagick-coder-svg
+BuildRequires: Qt6Concurrent-devel
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel >= 5.11.1
+BuildRequires: Qt6Multimedia-devel
+BuildRequires: Qt6Network-devel >= 5.11.1
+BuildRequires: Qt6Widgets-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: audiofile-devel >= 0.3.0
+BuildRequires: cmake >= 3.20
+BuildRequires: fftw3-devel
+BuildRequires: flac-c++-devel
+BuildRequires: flac-devel
+BuildRequires: gettext-devel
+BuildRequires: id3lib-devel
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-karchive-devel >= %{kframever}
+BuildRequires: kf6-kcompletion-devel >= %{kframever}
+BuildRequires: kf6-kconfig-devel >= %{kframever}
+BuildRequires: kf6-kconfigwidgets-devel >= %{kframever}
+BuildRequires: kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires: kf6-kcrash-devel >= %{kframever}
+BuildRequires: kf6-kdbusaddons-devel >= %{kframever}
+BuildRequires: kf6-kdoctools-devel >= %{kframever}
+BuildRequires: kf6-ki18n-devel >= %{kframever}
+BuildRequires: kf6-kiconthemes-devel >= %{kframever}
+BuildRequires: kf6-kio-devel >= %{kframever}
+BuildRequires: kf6-kservice-devel >= %{kframever}
+BuildRequires: kf6-ktextwidgets-devel >= %{kframever}
+BuildRequires: kf6-kwidgetsaddons-devel >= %{kframever}
+BuildRequires: kf6-kxmlgui-devel >= %{kframever}
+BuildRequires: libmad-devel
+BuildRequires: libsamplerate-devel >= 0.1.3
+BuildRequires: ninja
+BuildRequires: opus-devel
+BuildRequires: pulseaudio-devel
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: %{name}-data = %{version}-%{release}
+Obsoletes: ka5-%{kaname} < %{version}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kwave is a sound editor built on the KDE Frameworks 5.
+
+%description -l pl.UTF-8
+Kwave to edytor dźwięku zbudowany na bazie KDE Frameworks 5.
+
+%package data
+Summary: Data files for %{kaname}
+Summary(pl.UTF-8): Dane dla %{kaname}
+Group: X11/Applications
+Obsoletes: ka5-%{kaname}-data < %{version}
+BuildArch: noarch
+
+%description data
+Data files for %{kaname}.
+
+%description data -l pl.UTF-8
+Dane dla %{kaname}.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DQT_MAJOR_VERSION=6
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kwave
+%ghost %{_libdir}/libkwave.so.2?
+%attr(755,root,root) %{_libdir}/libkwave.so.*.*
+%ghost %{_libdir}/libkwavegui.so.2?
+%attr(755,root,root) %{_libdir}/libkwavegui.so.*.*
+%dir %{_libdir}/qt6/plugins/kwave
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/about.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/amplifyfree.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/band_pass.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/codec_ascii.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/codec_audiofile.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/codec_flac.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/codec_mp3.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/codec_ogg.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/codec_wav.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/debug.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/export_k3b.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/fileinfo.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/goto.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/insert_at.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/lowpass.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/newsignal.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/noise.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/normalize.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/notch_filter.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/pitch_shift.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/playback.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/record.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/reverse.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/samplerate.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/saveblocks.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/selectrange.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/sonagram.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/stringenter.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/volume.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kwave/zero.so
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
+%{_desktopdir}/org.kde.kwave.desktop
+%{_iconsdir}/hicolor/scalable/apps/kwave.svgz
+%{_datadir}/kwave
+%{_datadir}/metainfo/org.kde.kwave.appdata.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kwave.git/commitdiff/408bdd631c9a5c68060841d476dcf927debdf454
More information about the pld-cvs-commit
mailing list