From 35fe1f7b07ba2f1937a2c4560132db41558997a56f2e294ff37c7fd98f057470 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:24 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kio_audiocd?expand=0&rev=44 --- kio_audiocd.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kio_audiocd.spec b/kio_audiocd.spec index ba6814d..37eb84c 100644 --- a/kio_audiocd.spec +++ b/kio_audiocd.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kio_audiocd Version: 17.03.90 @@ -53,6 +54,10 @@ Requires: %{name} = %{version} %description devel This package contains the development files for the audiocd kio slave +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n audiocd-kio-%{version} @@ -62,6 +67,10 @@ This package contains the development files for the audiocd kio slave %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -92,4 +101,9 @@ This package contains the development files for the audiocd kio slave %{_includedir}/audiocdplugins_export.h %{_libdir}/libaudiocdplugins.so +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog