]> git.pld-linux.org Git - packages/ka5-kwave.git/blobdiff - ka5-kwave.spec
- updated to 23.08.5
[packages/ka5-kwave.git] / ka5-kwave.spec
index 7ef4f6757e8b500510e271991640c8a8b9af17e9..e70f6a8ce024d1f73447f959e7cf722cd292e185 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeappsver      22.08.1
+%define                kdeappsver      23.08.5
 %define                kframever       5.94.0
 %define                qtver           5.15.2
 %define                kaname          kwave
 Summary:       Sound editor
 Name:          ka5-%{kaname}
-Version:       22.08.1
+Version:       23.08.5
 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: 652ce574d546869582db51993ea9ae67
+# Source0-md5: a1a4ae6e687440a40e0a504d2b90df45
 URL:           http://www.kde.org/
 BuildRequires: ImageMagick
 BuildRequires: ImageMagick-coder-svg
@@ -24,7 +24,7 @@ BuildRequires:        Qt5Network-devel >= 5.11.1
 BuildRequires: Qt5Widgets-devel
 BuildRequires: alsa-lib-devel
 BuildRequires: audiofile-devel >= 0.3.0
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
 BuildRequires: fftw3-devel
 BuildRequires: flac-devel
 BuildRequires: flac-c++-devel
@@ -55,6 +55,7 @@ BuildRequires:        rpmbuild(macros) >= 1.164
 BuildRequires: shared-mime-info
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
+Requires:      %{name}-data = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -63,22 +64,32 @@ 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
+BuildArch:     noarch
+
+%description data
+Data files for %{kaname}.
+
+%description data -l pl.UTF-8
+Dane dla %{kaname}.
+
 %prep
 %setup -q -n %{kaname}-%{version}
 
 %build
-install -d build
-cd build
 %cmake \
+       -B build \
        -G Ninja \
        %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       ..
-%ninja_build
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
 
 %if %{with tests}
-ctest
+ctest --test-dir build
 %endif
 
 
@@ -94,12 +105,12 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%files -f %{kaname}.lang
+%files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kwave
-%ghost %{_libdir}/libkwave.so.22
+%ghost %{_libdir}/libkwave.so.23
 %attr(755,root,root) %{_libdir}/libkwave.so.*.*.*
-%ghost %{_libdir}/libkwavegui.so.22
+%ghost %{_libdir}/libkwavegui.so.23
 %attr(755,root,root) %{_libdir}/libkwavegui.so.*.*.*
 %dir %{_libdir}/qt5/plugins/kwave
 %attr(755,root,root) %{_libdir}/qt5/plugins/kwave/kwaveplugin_about.so
@@ -132,6 +143,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/qt5/plugins/kwave/kwaveplugin_stringenter.so
 %attr(755,root,root) %{_libdir}/qt5/plugins/kwave/kwaveplugin_volume.so
 %attr(755,root,root) %{_libdir}/qt5/plugins/kwave/kwaveplugin_zero.so
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
 %{_desktopdir}/org.kde.kwave.desktop
 %{_iconsdir}/hicolor/scalable/actions/kwave_player_end.svgz
 %{_iconsdir}/hicolor/scalable/actions/kwave_player_fwd.svgz
@@ -149,6 +163,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/scalable/actions/kwave_zoom_original.svgz
 %{_iconsdir}/hicolor/scalable/actions/kwave_zoom_out.svgz
 %{_iconsdir}/hicolor/scalable/apps/kwave.svgz
-%{_datadir}/kservicetypes5/kwave-plugin.desktop
 %{_datadir}/kwave
 %{_datadir}/metainfo/org.kde.kwave.appdata.xml
This page took 0.131264 seconds and 4 git commands to generate.