diff --git a/.gitignore b/.gitignore index 7164094..2a16f50 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /kwin-5.11.3.tar.xz /kwin-5.11.4.tar.xz /kwin-5.11.5.tar.xz +/kwin-5.11.95.tar.xz diff --git a/kwin.spec b/kwin.spec index 7e82138..9afdd1e 100644 --- a/kwin.spec +++ b/kwin.spec @@ -15,8 +15,8 @@ %endif Name: kwin -Version: 5.11.5 -Release: 2%{?dist} +Version: 5.11.95 +Release: 1%{?dist} Summary: KDE Window manager # all sources are effectively GPLv2+, except for: @@ -47,6 +47,7 @@ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-static # KWinQpaPlugin (and others?) BuildRequires: qt5-qtbase-private-devel +BuildRequires: qt5-qtsensors-devel BuildRequires: qt5-qtscript-devel BuildRequires: qt5-qttools-devel BuildRequires: qt5-qttools-static @@ -234,6 +235,18 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %endif +%post +/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + %files %{_bindir}/kwin %{_bindir}/kwin_x11 @@ -251,7 +264,6 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %{_qt5_prefix}/qml/org/kde/kwin %{_kf5_libdir}/kconf_update_bin/kwin5_update_default_rules %{_libexecdir}/kwin_killer_helper -%{_libexecdir}/kwin_killer_helper %{_libexecdir}/kwin_rules_dialog %{_libexecdir}/org_kde_kwin_xclipboard_syncer %{_datadir}/kwincompositing @@ -260,6 +272,7 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %{_kf5_datadir}/kservicetypes5/*.desktop %{_kf5_datadir}/knotifications5/kwin.notifyrc %{_kf5_datadir}/config.kcfg/kwin.kcfg +%{_kf5_datadir}/config.kcfg/kwin_colorcorrect.kcfg %{_datadir}/icons/hicolor/*/apps/kwin.* # note: these are for reference (to express config defaults), they are # not config files themselves (so don't use %%config tag) @@ -304,8 +317,8 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %changelog -* Thu Jan 11 2018 Igor Gnatenko - 5.11.5-2 -- Remove obsolete scriptlets +* Mon Jan 15 2018 Jan Grulich - 5.11.95-1 +- 5.11.95 * Tue Jan 02 2018 Rex Dieter - 5.11.5-1 - 5.11.5 diff --git a/sources b/sources index 457e738..a728585 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kwin-5.11.5.tar.xz) = fb1355a33998c5b5ddb0bac59d65862fecfa8bab8bda234bf60c75800f04fb7b96b8069d3fcdd5f2647c06ca7673ed6ef6b7fa49b160b57dcbcb65dc1a853cd2 +SHA512 (kwin-5.11.95.tar.xz) = 65679335f93e5824475cd59c5b733f82a6c4cfda4fc0e1e986a21aaa99d5fcbb583569dcfc65e70a9602536520894bffb4ed257a2fd46fa22482db193a5f6139