48b3013
Name:           kwave
9faffc3
Version:        20.04.3
f251d21
Release:        1%{?dist}
48b3013
Summary:        Sound Editor for KDE
48b3013
Summary(de):    Sound-Editor für KDE
48b3013
48b3013
# See the file LICENSES for the licensing scenario
48b3013
License:        GPLv2+ and BSD and CC-BY-SA
48b3013
URL:            http://kwave.sourceforge.net
48b3013
%global revision %(echo %{version} | cut -d. -f3)
48b3013
%if %{revision} >= 50
48b3013
%global stable unstable
48b3013
%else
48b3013
%global stable stable
48b3013
%endif
dc47fdb
Source0:        http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
48b3013
48b3013
BuildRequires:  extra-cmake-modules
48b3013
BuildRequires:  cmake(Qt5Multimedia)
48b3013
BuildRequires:  cmake(KF5Archive)
48b3013
BuildRequires:  cmake(KF5CoreAddons)
48b3013
BuildRequires:  cmake(KF5WidgetsAddons)
48b3013
BuildRequires:  cmake(KF5I18n)
48b3013
BuildRequires:  cmake(KF5Completion)
48b3013
BuildRequires:  cmake(KF5KIO)
48b3013
BuildRequires:  cmake(KF5IconThemes)
48b3013
BuildRequires:  cmake(KF5Crash)
48b3013
BuildRequires:  cmake(KF5DBusAddons)
48b3013
BuildRequires:  cmake(KF5TextWidgets)
48b3013
BuildRequires:  cmake(KF5DocTools)
48b3013
BuildRequires:  alsa-lib-devel
48b3013
BuildRequires:  audiofile-devel >= 0.3.0
48b3013
BuildRequires:  desktop-file-utils
48b3013
BuildRequires:  fdupes
48b3013
BuildRequires:  fftw-devel >= 3.0
48b3013
BuildRequires:  flac-devel
48b3013
BuildRequires:  gettext
48b3013
BuildRequires:  id3lib-devel >= 3.8.1
48b3013
BuildRequires:  ImageMagick
48b3013
BuildRequires:  libappstream-glib
48b3013
BuildRequires:  libmad-devel
48b3013
BuildRequires:  libsamplerate-devel
48b3013
BuildRequires:  libvorbis-devel
48b3013
BuildRequires:  opus-devel
48b3013
BuildRequires:  poxml
48b3013
BuildRequires:  pulseaudio-libs-devel >= 0.9.16
48b3013
48b3013
Requires:       %{name}-doc = %{version}-%{release}
48b3013
48b3013
%description
48b3013
With Kwave you can record, play back, import and edit many sorts of audio files
48b3013
including multi-channel files. Kwave includes some plugins to transform audio
48b3013
files in several ways and presents a graphical view with a complete zoom- and
48b3013
scroll capability.
48b3013
48b3013
%description -l de
48b3013
Mit Kwave können Sie ein- oder mehrkanalige Audio-Dateien aufnehmen, wieder-
48b3013
geben, importieren und bearbeiten. Kwave verfügt über Plugins zum Umwandeln
48b3013
von Audio-Dateien auf verschiedene Weise. Die grafische Oberfläche bietet
48b3013
alle Möglichkeiten für Änderungen der Ansichtsgröße und zum Rollen.
48b3013
48b3013
%package doc
48b3013
Summary:        User manuals for %{name}
48b3013
Summary(de):    Benutzerhandbücher für %{name}
48b3013
License:        GFDL
48b3013
BuildArch:      noarch
48b3013
48b3013
48b3013
%description doc
48b3013
This package contains arch-independent files for %{name}, especially the
48b3013
HTML documentation.
48b3013
48b3013
%description doc -l de
48b3013
Dieses Paket enthält architekturunabhängige Dateien für %{name},
48b3013
speziell die HTML-Dokumentation.
48b3013
48b3013
%prep
48b3013
%autosetup -p1
48b3013
48b3013
%build
48b3013
mkdir -p %{_target_platform}
48b3013
pushd %{_target_platform}
a99a1c4
%{cmake_kf5} -DWITH_MP3=ON ..
48b3013
%make_build
48b3013
popd
48b3013
48b3013
%install
48b3013
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
87348df
gzip -dS z %{buildroot}%{_datadir}/icons/hicolor/scalable/actions/*.svgz
87348df
gzip -dS z %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/kwave.svgz
48b3013
48b3013
%find_lang %{name}
48b3013
48b3013
%check
48b3013
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml
48b3013
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop
48b3013
48b3013
%files -f %{name}.lang
48b3013
%doc AUTHORS CHANGES README TODO
48b3013
%license GNU-LICENSE LICENSES
48b3013
%{_kf5_bindir}/%{name}
48b3013
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
48b3013
%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml
48b3013
%{_kf5_datadir}/icons/hicolor/*/apps/%{name}.*
48b3013
%{_kf5_datadir}/icons/hicolor/*/actions/%{name}*
48b3013
%{_kf5_datadir}/%{name}/
48b3013
%{_kf5_datadir}/kservicetypes5/%{name}-plugin.desktop
48b3013
%{_kf5_qtplugindir}/%{name}/
48b3013
%{_kf5_libdir}/lib%{name}.so.*
48b3013
%{_kf5_libdir}/lib%{name}gui.so.*
48b3013
48b3013
%files doc
48b3013
%{_kf5_docdir}/HTML/*/%{name}
48b3013
48b3013
%changelog
9faffc3
* Sun Jul 12 2020 Marie Loise Nolden <loise@kde.org> - 20.04.3-1
9faffc3
- Update kwave to 20.04.3
9faffc3
4987861
* Fri Jun 12 2020 Marie Loise Nolden <loise@kde.org> - 20.04.2-1
4987861
- Update kwave to 20.04.2
4987861
3009163
* Tue May 26 2020 Sérgio Basto <sergio@serjux.com> - 20.04.1-1
3009163
- Update kwave to 20.04.1
3009163
f251d21
* Thu Mar 26 2020 Sérgio Basto <sergio@serjux.com> - 19.12.3-1
f251d21
- Update kwave to 19.12.3
f251d21
15c5c63
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.12.1-2
15c5c63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
15c5c63
dc47fdb
* Tue Jan 21 2020 Sérgio Basto <sergio@serjux.com> - 19.12.1-1
dc47fdb
- Update kwave to 19.12.1
dc47fdb
3698dd1
* Wed Sep 25 2019 Sérgio Basto <sergio@serjux.com> - 19.08.1-1
3698dd1
- Update kwave to 19.08.1
3698dd1
47bfdc1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.12.3-2
47bfdc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
47bfdc1
5686059
* Tue May 07 2019 Sérgio Basto <sergio@serjux.com> - 18.12.3-1
5686059
- Update kwave to 18.12.3
5686059
3230643
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.08.1-2
3230643
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3230643
66343d5
* Sun Sep 16 2018 Sérgio Basto <sergio@serjux.com> - 18.08.1-1
66343d5
- Update kwave to 18.08.1
3616b26
- Reenable doc package.
66343d5
87348df
* Thu Aug 02 2018 Sérgio Basto <sergio@serjux.com> - 18.04.3-2
87348df
- Decompressicons, icons should not be gzipped
87348df
48b3013
* Fri Jul 27 2018 Sérgio Basto <sergio@serjux.com> - 18.04.3-1
48b3013
- Update kwave to 18.04.3
f425b95
- Disable doc as workaround.
48b3013
48b3013
* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 17.12.3-2
48b3013
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
48b3013
48b3013
* Sun Mar 11 2018 Sérgio Basto <sergio@serjux.com> - 17.12.3-1
48b3013
- Update kwave to 17.12.3
48b3013
48b3013
* Thu Feb 22 2018 Sérgio Basto <sergio@serjux.com> - 17.12.2-1
48b3013
- Update kwave to 17.12.2
48b3013
48b3013
* Tue Jan 30 2018 Sérgio Basto <sergio@serjux.com> - 17.12.1-1
48b3013
- Update kwave to 17.12.1
48b3013
48b3013
* Tue Jan 02 2018 Sérgio Basto <sergio@serjux.com> - 17.12.0-2
48b3013
- Use _kf5_metainfodir to fix appdata directory issue
48b3013
48b3013
* Fri Dec 29 2017 Sérgio Basto <sergio@serjux.com> - 17.12.0-1
48b3013
- Update kwave to 17.12.0
48b3013
48b3013
* Sun Oct 08 2017 Sérgio Basto <sergio@serjux.com> - 17.08.1-1
48b3013
- Update kwave to 17.08.1
48b3013
48b3013
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 17.04.2-2
48b3013
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
48b3013
48b3013
* Wed Jul 12 2017 Leigh Scott <leigh123linux@googlemail.com> - 17.04.2-1
48b3013
- Update to 17.04.2
48b3013
48b3013
* Sun Mar 19 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 16.12.2-2
48b3013
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
48b3013
48b3013
* Sat Feb 18 2017 Leigh Scott <leigh123linux@googlemail.com> - 16.12.2-1
48b3013
- Initial port to kf5
48b3013
48b3013
* Sun Feb 15 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 0.8.99-7
48b3013
- Add BSD license
48b3013
48b3013
* Sat Feb 07 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 0.8.99-6
48b3013
- Add mp3 support via libmad
48b3013
48b3013
* Tue Feb 03 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 0.8.99-5
48b3013
- Remove gcc-c++ from BR
48b3013
- Fix %%post and %%postun
48b3013
- Move lsm file to the -doc subpackage
48b3013
48b3013
* Mon Feb 02 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 0.8.99-4
48b3013
- Move the documentation to a noarch subpackage
48b3013
48b3013
* Sat Jan 31 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 0.8.99-3
48b3013
- Add update-desktop-database scriptlet
48b3013
48b3013
* Wed Jan 28 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 0.8.99-2
48b3013
- Generate png icons
48b3013
48b3013
* Fri Jan 16 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 0.8.99-1
48b3013
- Initial package