plasma-breeze force qt4 dependencies (#1640944)

use %make_build %ldconfig_scriptlets
drop extraneous kf5-filesystem dep
epel9
Rex Dieter 6 years ago
parent 7dbb79d7a7
commit 76316da3f9

@ -7,7 +7,7 @@
Name: plasma-breeze
Version: 5.14.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Artwork, styles and assets for the Breeze visual style for the Plasma Desktop
License: GPLv2+
@ -57,8 +57,6 @@ BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5X11Extras)
Requires: kf5-filesystem
Requires: %{name}-common = %{version}-%{release}
# since we provide a cmake dev-like file
@ -111,7 +109,7 @@ pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%if 0%{?build_kde4:1}
@ -120,13 +118,14 @@ pushd %{_target_platform}_kde4
%{cmake_kde4} -DUSE_KDE4=TRUE ..
popd
make %{?_smp_mflags} -C %{_target_platform}_kde4
%make_build -C %{_target_platform}_kde4
%endif
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang breeze --with-qt --all-name
%find_lang breeze --all-name
%if 0%{?build_kde4:1}
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}_kde4
@ -138,6 +137,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}_kde4
mv %{buildroot}%{_kf5_datadir}/kconf_update/kde4breeze.upd \
%{buildroot}%{_kf5_datadir}/kconf_update/kde4breeze.upd.BAK
%ldconfig_scriptlets
%files
%license COPYING
%{_kf5_qtplugindir}/org.kde.kdecoration2/breezedecoration.so
@ -146,8 +148,8 @@ mv %{buildroot}%{_kf5_datadir}/kconf_update/kde4breeze.upd \
%{_kf5_qtplugindir}/kstyle_breeze_config.so
%{_kf5_datadir}/kconf_update/kde4breeze.upd*
%{_kf5_libdir}/kconf_update_bin/kde4breeze
%{_libdir}/libbreezecommon4.so*
%{_libdir}/libbreezecommon5.so*
# used by breezedecoration
%{_libdir}/libbreezecommon5.so.5*
%{_kf5_qmldir}/QtQuick/Controls/Styles/Breeze
%{_bindir}/breeze-settings5
%{_datadir}/icons/hicolor/*/apps/breeze-settings.*
@ -170,7 +172,10 @@ mv %{buildroot}%{_kf5_datadir}/kconf_update/kde4breeze.upd \
%{_datadir}/wallpapers/Next/
%if 0%{?build_kde4:1}
%ldconfig_scriptlets -n kde-style-breeze
%files -n kde-style-breeze
%{_libdir}/libbreezecommon4.so.5*
%{_kde4_libdir}/kde4/plugins/styles/breeze.so
%{_kde4_libdir}/kde4/kstyle_breeze_config.so
%{_kde4_appsdir}/kstyle/themes/breeze.themerc
@ -187,6 +192,11 @@ mv %{buildroot}%{_kf5_datadir}/kconf_update/kde4breeze.upd \
%changelog
* Fri Oct 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.14.1-2
- plasma-breeze force qt4 dependencies (#1640944)
- use %%make_build %%ldconfig_scriptlets
- drop extraneous kf5-filesystem dep
* Tue Oct 16 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.14.1-1
- 5.14.1

Loading…
Cancel
Save