diff --git a/kwave.spec b/kwave.spec index 41141cc..f9577f2 100644 --- a/kwave.spec +++ b/kwave.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: kwave Version: 17.03.90 Release: 0 @@ -73,6 +75,10 @@ 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. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -85,6 +91,10 @@ perl -pi -e "s|X-SuSE-translate=true||" kwave/org.kde.kwave.desktop.in %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %suse_update_desktop_file -r org.kde.%{name} Qt KDE AudioVideoEditing %post -p /sbin/ldconfig @@ -103,4 +113,8 @@ perl -pi -e "s|X-SuSE-translate=true||" kwave/org.kde.kwave.desktop.in %dir %{_kf5_appstreamdir} %{_kf5_appstreamdir}/org.kde.kwave.appdata.xml +%if %{with lang} +%files lang -f %{name}.lang +%endif + %changelog