SHA256
1
0
forked from pool/discover
Hrvoje Senjan 2016-03-06 18:06:50 +00:00 committed by Git OBS Bridge
parent 8ac9187ed5
commit 3565e6b10d

View File

@ -16,6 +16,7 @@
# #
%bcond_without lang
Name: discover Name: discover
Version: 5.5.95 Version: 5.5.95
Release: 0 Release: 0
@ -79,6 +80,7 @@ This is the systray plasmoid to notify the user that updates are available
%suse_update_desktop_file -r org.kde.discover Qt KDE System PackageManager %suse_update_desktop_file -r org.kde.discover Qt KDE System PackageManager
%suse_update_desktop_file -r plasma-discover-updater Qt KDE System PackageManager %suse_update_desktop_file -r plasma-discover-updater Qt KDE System PackageManager
%if %{with lang}
%find_lang libdiscover %{name}.lang %find_lang libdiscover %{name}.lang
%find_lang plasma-discover-exporter %{name}.lang %find_lang plasma-discover-exporter %{name}.lang
%find_lang plasma-discover-notifier %{name}.lang %find_lang plasma-discover-notifier %{name}.lang
@ -86,6 +88,9 @@ This is the systray plasmoid to notify the user that updates are available
%find_lang plasma-discover-updater %{name}.lang %find_lang plasma-discover-updater %{name}.lang
%find_lang plasma_applet_org.kde.muonnotifier plasma.lang %find_lang plasma_applet_org.kde.muonnotifier plasma.lang
%else
touch plasma.lang
%endif
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -106,8 +111,10 @@ This is the systray plasmoid to notify the user that updates are available
%{_datadir}/libdiscover/ %{_datadir}/libdiscover/
%{_datadir}/plasmadiscover/ %{_datadir}/plasmadiscover/
%if %{with lang}
%files lang -f %{name}.lang %files lang -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%endif
%files plasmoid -f plasma.lang %files plasmoid -f plasma.lang
%defattr(-,root,root) %defattr(-,root,root)