Hrvoje Senjan 2016-05-07 19:21:28 +00:00 committed by Git OBS Bridge
parent d9e2279de5
commit 93c9cf821d

View File

@ -16,7 +16,6 @@
#
%bcond_without lang
%define lname libKF5Style5
%define _tar_path 5.22
Name: frameworkintegration
@ -58,10 +57,8 @@ Applications do not need to link to this directly.
%package -n %lname
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
Group: System/GUI/KDE
Obsoletes: %lname-lang < %{version}
Obsoletes: libKF5Style4
%if %{with lang}
Recommends: %lname-lang = %{version}
%endif
%description -n %lname
Framework Integration is a set of plugins responsible for better
@ -74,6 +71,7 @@ Applications do not need to link to this directly.
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
Group: System/GUI/KDE
Conflicts: %lname < 5.6.0
Requires: plasma5-integration-plugin
%description plugin
Framework Integration is a set of plugins responsible for better
@ -97,7 +95,6 @@ KDE Plasma workspace.
Applications do not need to link to this directly. Development files
%lang_package -n %lname
%prep
%setup -q
@ -109,20 +106,10 @@ Applications do not need to link to this directly. Development files
%kf5_makeinstall -C build
%fdupes %{buildroot}
#rm -rfv %{buildroot}%{_kf5_plugindir}/platformthemes
%if %{with lang}
%find_lang %{name}5
%endif
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%if %{with lang}
%files -n %lname-lang -f %{name}5.lang
%endif
%files -n %lname
%defattr(-,root,root)
%doc COPYING* README*