Name: kscreen
Epoch: 1
Version: 5.14.90
Release: 3%{?dist}
Summary: KDE Display Management software
# KDE e.V. may determine that future GPL versions are accepted
License: GPLv2 or GPLv3
URL: https://cgit.kde.org/%{name}.git
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global majmin_ver %(echo %{version} | cut -d. -f1,2).50
%global stable unstable
%else
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
# filter plugin provides
%global __provides_exclude_from ^(%{_kf5_qtplugindir}/.*\\.so)$
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: libkscreen-qt5-devel >= %{majmin_ver}
Requires: libkscreen-qt5%{?_isa} >= %{majmin_ver}
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-kconfigwidgets-devel
BuildRequires: kf5-kdbusaddons-devel
BuildRequires: kf5-kxmlgui-devel
BuildRequires: kf5-kglobalaccel-devel
BuildRequires: cmake(KF5Declarative)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5Plasma)
Requires: qt5-qtgraphicaleffects
%description
KCM and KDED modules for managing displays in KDE.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --with-kde --all-name
%files -f %{name}.lang
%license COPYING
%{_bindir}/kscreen-console
%{_kf5_qtplugindir}/plasma/applets/plasma_applet_kscreen.so
%{_kf5_qtplugindir}/kcm_kscreen.so
%{_kf5_plugindir}/kded/kscreen.so
%{_datadir}/kservices5/plasma-applet-org.kde.kscreen.desktop
%{_datadir}/metainfo/org.kde.kscreen.appdata.xml
%{_datadir}/plasma/plasmoids/org.kde.kscreen/contents/ui/PresentationModeItem.qml
%{_datadir}/plasma/plasmoids/org.kde.kscreen/contents/ui/ScreenLayoutSelection.qml
%{_datadir}/plasma/plasmoids/org.kde.kscreen/contents/ui/main.qml
%{_datadir}/plasma/plasmoids/org.kde.kscreen/metadata.desktop
%{_datadir}/plasma/plasmoids/org.kde.kscreen/metadata.json
%{_datadir}/kcm_kscreen/
%{_kf5_datadir}/kded_kscreen/qml/Osd.qml
%{_kf5_datadir}/kded_kscreen/qml/OsdItem.qml
%{_kf5_datadir}/kded_kscreen/qml/OsdSelector.qml
%{_kf5_datadir}/kded_kscreen/qml/OutputIdentifier.qml
%{_kf5_datadir}/kservices5/kcm_kscreen.desktop
%{_datadir}/icons/hicolor/*/actions/*
%{_sysconfdir}/xdg/kscreen.categories
%changelog
* Mon Feb 04 2019 Rex Dieter <rdieter@fedoraproject.org> - 1:5.14.90-3
- Add versioned runtime dep for libkscreen-qt5
- use %%make_build
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.14.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jan 20 2019 Martin Kyral <martin.kyral@gmail.com> - 5.14.90-1
- 5.14.90
* Tue Nov 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.14.4-1
- 5.14.4
* Thu Nov 08 2018 Martin Kyral <martin.kyral@gmail.com> - 5.14.3-1
- 5.14.3
* Wed Oct 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.14.2-1
- 5.14.2
* Tue Oct 16 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.14.1-1
- 5.14.1
* Fri Oct 05 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.14.0-1
- 5.14.0
* Fri Sep 14 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.90-1
- 5.13.90
* Tue Sep 04 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.13.5-1
- 5.13.5
* Thu Aug 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.13.4-1
- 5.13.4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.13.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.3-1
- 5.13.3
* Mon Jul 09 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.2-1
- 5.13.2
* Tue Jun 19 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.1-1
- 5.13.1
* Sat Jun 09 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.13.0-1
- 5.13.0
* Fri May 18 2018 Martin Kyral <martin.kyral@gmail.com> - 5.12.90-1
- 5.12.90
* Tue May 01 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.12.5-1
- 5.12.5
* Tue Mar 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.12.4-1
- 5.12.4
* Tue Mar 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.12.3-1
- 5.12.3
* Wed Feb 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.12.2-1
- 5.12.2
* Tue Feb 13 2018 Jan Grulich <jgrulich@redhat.com> - 5.12.1-1
- 5.12.1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 02 2018 Jan Grulich <jgrulich@redhat.com> - 5.12.0-1
- 5.12.0
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:5.11.95-2
- Remove obsolete scriptlets
* Mon Jan 15 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.95-1
- 5.11.95
* Tue Jan 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 1:5.11.5-1
- 5.11.5
* Thu Nov 30 2017 Martin Kyral <martin.kyral@gmail.com> - 5.11.4-1
- 5.11.4
* Wed Nov 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.11.3-1
- 5.11.3
* Wed Oct 25 2017 Martin Kyral <martin.kyral@gmail.com> - 5.11.2-1
- 5.11.2
* Tue Oct 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.11.1-1
- 5.11.1
* Wed Oct 11 2017 Martin Kyral <martin.kyral@gmail.com> - 5.11.0-1
- 5.11.0
* Thu Aug 24 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.10.5-1
- 5.10.5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.10.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.10.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jul 21 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.10.4-1
- 5.10.4
* Tue Jun 27 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.10.3-1
- 5.10.3
* Thu Jun 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.10.2-1
- 5.10.2
* Tue Jun 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.10.1-1
- 5.10.1
* Wed May 31 2017 Jan Grulich <jgrulich@redhat.com> - 5.10.0-1
- 5.10.0
* Wed Apr 26 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.9.5-1
- 5.9.5
* Thu Mar 23 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.9.4-1
- 5.9.4
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.9.3-2
- rebuild
* Wed Mar 01 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
- 5.9.3
* Tue Feb 21 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.6-1
- 5.8.6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.8.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Jan 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.5-2
- filter plugin provides
* Wed Dec 28 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.5-1
- 5.8.5
* Tue Nov 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.4-1
- 5.8.4
* Tue Nov 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.3-1
- 5.8.3
* Tue Oct 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.2-1
- 5.8.2
* Tue Oct 11 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.1-1
- 5.8.1
* Thu Sep 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.0-1
- 5.8.0
* Thu Sep 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.95-1
- 5.7.95
* Tue Sep 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.5-1
- 5.7.5
* Tue Aug 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.4-1
- 5.7.4
* Tue Aug 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.3-1
- 5.7.3
* Tue Jul 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.2-1
- 5.7.2
* Tue Jul 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
- rebuild (qt5)
* Tue Jul 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.1-1
- 5.7.1
* Thu Jun 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.0-1
- 5.7.0
* Sat Jun 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.95-1
- 5.6.95
* Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.5-1
- 5.6.5
* Sat May 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.4-1
- 5.6.4
* Tue Apr 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.3-1
- 5.6.3
* Sun Apr 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.2-1.1
- rebuild
* Sat Apr 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.2-1
- 5.6.2
* Fri Apr 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.1-1
- 5.6.1
* Tue Mar 01 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.5-1
- Plasma 5.5.5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jan 27 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.4-1
- Plasma 5.5.4
* Thu Jan 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.3-1
- Plasma 5.5.3
* Thu Dec 31 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.5.2-1
- 5.5.2
* Fri Dec 18 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.1-1
- Plasma 5.5.1
* Thu Dec 03 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.0-1
- Plasma 5.5.0
* Wed Nov 25 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.95-1
- Plasma 5.4.95
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
- Plasma 5.4.3
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.4.2-1
- 5.4.2
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.4.1-1
- 5.4.1
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
- Plasma 5.4.0
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
- Plasma 5.3.95
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
- Plasma 5.3.2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
- Plasma 5.3.1
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
- Plasma 5.3.0
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
- Plasma 5.2.95
* Wed Apr 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-2
- add upstream fix for RHBZ#1211881
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
- Plasma 5.2.2
* Thu Mar 05 2015 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-3
- Requires: qt5-qtgraphicaleffects (#1199084)
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
- Rebuild (GCC 5)
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
- Plasma 5.2.1
* Wed Jan 28 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-2
- BR libkscreen-qt5-devel (it Provides kf5-kscreen-devel, but lets use the correct name)
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
- Plasma 5.2.0
* Wed Jan 14 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-2.beta.20150112git7a8460a
- BR kf5-kscreen-devel (renamed from libkscreen)
* Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta.20150112git7a8460a
- Update to latest git snapshot
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2.20150108git0d70c77
- Update to latest git snapshot
* Wed Dec 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2
- Plasma 5.1.2
* Fri Nov 28 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1.20141128gitccf52c4
- Update to latest git snapshot
* Fri Nov 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1.20141107git88b2a3f
- Plasma 5.1.1
* Thu Oct 23 2014 Daniel Vrátil <dvratil@redhat.com> 1:5.0.92-20141023git
- kscreen 5.0.92 (git)
* Fri Nov 22 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0.2.1-1
- kscreen 1:1.0.2.1-1
* Wed Nov 20 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0.2-1
- kscreen 1:1.0.2-1
* Thu Aug 01 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0.1-1
- kscreen 1:1.0.1-1
* Mon Jun 17 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0-1
- kscreen 1:1.0-1
* Thu May 02 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.92-1
- update to 1:0.0.92-1
* Tue Apr 23 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.82.git20130424-1
- dev git build
* Mon Apr 08 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.81-2
- Explicitely depend on the same version of libkscreen
* Wed Mar 27 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.81-1
- Update to 1:0.0.81-1
* Mon Jan 28 2013 Rex Dieter <rdieter@fedoraproject.org> 1:0.0.71-3
- drop Provides: kde-display-management, Conflicts: kded_randrmonitor
* Thu Jan 24 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.71-2
- add Provides and Conflicts fields so make sure radrmonitor and
kscreen never run side by side
* Sun Jan 20 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.71-1
- update to 0.0.71 - first official release
- install kscreen-console, which has been moved from libkscreen
- the KCM is now called kcm_kscreen
* Wed Jan 09 2013 Dan Vrátil <dvratil@redhat.com> 0.9.0-5.20121228git
- Update description, we don't ship the Plasma applet yet
- Provides kde-display-management, a metapackage for KScreen and kded_randrmonitor
- Conflicts with kded_randrmonitor
* Wed Jan 09 2013 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-4.20121228git
- BR: qjson-devel >= 0.8.1
- License: GPLv2 or GPLv3
- tighten %%files
* Wed Jan 02 2013 Dan Vrátil <dvratil@redhat.com> 0.9.0-3.20121228git
- Added qjson-devel to BuildRequires
* Fri Dec 28 2012 Dan Vrátil <dvratil@redhat.com> 0.9.0-2.20121228git
- Fixed URL
* Fri Dec 28 2012 Dan Vrátil <dvratil@redhat.com> 0.9.0-1.20121228git
- Fixed versioning
- Added instructions how to obtain sources
- Removed 'rm -rf $RPM_BUILD_ROOT'
* Wed Dec 26 2012 Dan Vrátil <dvratil@redhat.com> 20121226gitb31ab08-1
- Initial SPEC