This commit is contained in:
parent
febe25a21c
commit
fdffa97f5d
@ -73,6 +73,7 @@ BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5WebKitWidgets) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
|
||||
Recommends: %{name}-lang
|
||||
Conflicts: plasmate
|
||||
Provides: plasmate5 = %{version}
|
||||
Obsoletes: plasmate5 <= %{version}
|
||||
@ -93,6 +94,7 @@ Conflicts: plasmate
|
||||
Plasmaengineexplorer is a graphical tool allowing developers to
|
||||
test Plasma data engines without writing a Plasma applet.
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q -n plasma-sdk-%{version}
|
||||
|
||||
@ -104,10 +106,22 @@ test Plasma data engines without writing a Plasma applet.
|
||||
%kf5_makeinstall -C build
|
||||
#sed -i '/^Icon=/d' %%{buildroot}%%{_kf5_applicationsdir}/plasmate.desktop
|
||||
|
||||
if [ -e po ]; then
|
||||
%find_lang remote-widgets-browser %{name}.lang
|
||||
%find_lang plasmoidviewer %{name}.lang
|
||||
%find_lang plasmawallpaperviewer %{name}.lang
|
||||
%find_lang plasmate %{name}.lang
|
||||
%find_lang plasmaengineexplorer %{name}.lang
|
||||
else
|
||||
touch %{name}.lang
|
||||
fi
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING*
|
||||
|
Loading…
x
Reference in New Issue
Block a user