Rex Dieter a2ede2c
Name:    kscreen
Rex Dieter a2ede2c
Epoch:   1
Rex Dieter a7366ea
Version: 5.9.4
Rex Dieter a7366ea
Release: 1%{?dist}
Rex Dieter a2ede2c
Summary: KDE Display Management software
Dan Vrátil e0b0f44
Rex Dieter 5e5ff97
# KDE e.V. may determine that future GPL versions are accepted
Rex Dieter a2ede2c
License: GPLv2 or GPLv3
Rex Dieter a2ede2c
URL:     https://quickgit.kde.org/?p=%{name}.git
Dan Vrátil c74853d
Dan Vrátil a3bac0e
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil a3bac0e
%if %{revision} >= 50
Rex Dieter 3e0bffd
%global majmin_ver %(echo %{version} | cut -d. -f1,2).50
Dan Vrátil a3bac0e
%global stable unstable
Dan Vrátil a3bac0e
%else
Rex Dieter 3e0bffd
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
Dan Vrátil a3bac0e
%global stable stable
Dan Vrátil a3bac0e
%endif
Rex Dieter a2ede2c
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
Dan Vrátil a3bac0e
Rex Dieter 9de13b1
# filter plugin provides
Rex Dieter 9de13b1
%global __provides_exclude_from ^(%{_kf5_qtplugindir}/.*\\.so)$
Rex Dieter 9de13b1
Dan Vrátil c74853d
BuildRequires:  extra-cmake-modules
Dan Vrátil c74853d
BuildRequires:  kf5-rpm-macros
Dan Vrátil c74853d
BuildRequires:  qt5-qtbase-devel
Dan Vrátil c74853d
BuildRequires:  qt5-qtx11extras-devel
Dan Vrátil c74853d
BuildRequires:  qt5-qtdeclarative-devel
Dan Vrátil e0b0f44
Rex Dieter 03f0763
BuildRequires:  libkscreen-qt5-devel >= %{majmin_ver}
Dan Vrátil 674dd7b
Dan Vrátil c74853d
BuildRequires:  kf5-ki18n-devel
Dan Vrátil c74853d
BuildRequires:  kf5-kcoreaddons-devel
Dan Vrátil c74853d
BuildRequires:  kf5-kconfigwidgets-devel
Dan Vrátil c74853d
BuildRequires:  kf5-kdbusaddons-devel
Dan Vrátil c74853d
BuildRequires:  kf5-kxmlgui-devel
Dan Vrátil c74853d
BuildRequires:  kf5-kglobalaccel-devel
Dan Vrátil c74853d
Dan Vrátil c74853d
Requires:       kf5-filesystem
Rex Dieter dbcef6d
Requires:       qt5-qtgraphicaleffects
Dan Vrátil e0b0f44
Dan Vrátil e0b0f44
%description
Dan Vrátil 0317c0e
KCM and KDED modules for managing displays in KDE.
Dan Vrátil e0b0f44
Rex Dieter 8d2a3ab
Dan Vrátil e0b0f44
%prep
Dan Vrátil 4c6e35b
%autosetup -p1 -n %{name}-%{version}
Dan Vrátil e0b0f44
Rex Dieter 8d2a3ab
Dan Vrátil e0b0f44
%build
Rex Dieter 8d2a3ab
mkdir %{_target_platform}
Dan Vrátil e0b0f44
pushd %{_target_platform}
Dan Vrátil c74853d
%{cmake_kf5} ..
Dan Vrátil e0b0f44
popd
Dan Vrátil e0b0f44
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil e0b0f44
Rex Dieter 8d2a3ab
Dan Vrátil e0b0f44
%install
Rex Dieter 5e5ff97
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil 2f56033
%find_lang %{name} --with-kde --with-qt --all-name
Dan Vrátil e0b0f44
Dan Vrátil e0b0f44
Dan Vrátil c74853d
%post
Dan Vrátil c74853d
touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || :
Dan Vrátil c74853d
Dan Vrátil c74853d
%posttrans
Dan Vrátil c74853d
gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || :
Dan Vrátil c74853d
Dan Vrátil c74853d
%postun
Dan Vrátil c74853d
if [ $1 -eq 0 ] ; then
Dan Vrátil c74853d
touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || :
Dan Vrátil c74853d
gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || :
Dan Vrátil c74853d
fi
Dan Vrátil c74853d
Dan Vrátil 2f56033
%files -f %{name}.lang
Rex Dieter a2ede2c
%license COPYING
Dan Vrátil c74853d
%{_bindir}/kscreen-console
Dan Vrátil c74853d
%{_kf5_qtplugindir}/kcm_kscreen.so
Dan Vrátil e9425c6
%{_kf5_plugindir}/kded/kscreen.so
Dan Vrátil c74853d
%{_datadir}/kcm_kscreen/
Dan Vrátil c74853d
%{_kf5_datadir}/kservices5/kcm_kscreen.desktop
Dan Vrátil c74853d
%{_datadir}/icons/hicolor/*/actions/*
Dan Vrátil e0b0f44
Rex Dieter 8d2a3ab
Dan Vrátil e0b0f44
%changelog
Rex Dieter a7366ea
* Thu Mar 23 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.9.4-1
Rex Dieter a7366ea
- 5.9.4
Rex Dieter a7366ea
Rex Dieter 9970da7
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.9.3-2
Rex Dieter 9970da7
- rebuild
Rex Dieter 9970da7
2f0063e
* Wed Mar 01 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
2f0063e
- 5.9.3
2f0063e
Rex Dieter d3fe5e8
* Tue Feb 21 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.6-1
Rex Dieter d3fe5e8
- 5.8.6
Rex Dieter d3fe5e8
06514b1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.8.5-3
06514b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
06514b1
Rex Dieter 9de13b1
* Mon Jan 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.5-2
Rex Dieter 9de13b1
- filter plugin provides
Rex Dieter 9de13b1
Rex Dieter b783d60
* Wed Dec 28 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.5-1
Rex Dieter b783d60
- 5.8.5
Rex Dieter b783d60
Rex Dieter 3e150c8
* Tue Nov 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.4-1
Rex Dieter 3e150c8
- 5.8.4
Rex Dieter 3e150c8
Rex Dieter 4aaa69c
* Tue Nov 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.3-1
Rex Dieter 4aaa69c
- 5.8.3
Rex Dieter 4aaa69c
Rex Dieter 03a9ce3
* Tue Oct 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.2-1
Rex Dieter 03a9ce3
- 5.8.2
Rex Dieter 03a9ce3
Rex Dieter 6c0a1ef
* Tue Oct 11 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.1-1
Rex Dieter 6c0a1ef
- 5.8.1
Rex Dieter 6c0a1ef
Rex Dieter a6cb6cf
* Thu Sep 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.8.0-1
Rex Dieter a6cb6cf
- 5.8.0
Rex Dieter a6cb6cf
Rex Dieter 3e0bffd
* Thu Sep 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.95-1
Rex Dieter 3e0bffd
- 5.7.95
Rex Dieter 3e0bffd
Rex Dieter 72e938c
* Tue Sep 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.5-1
Rex Dieter 72e938c
- 5.7.5
Rex Dieter 72e938c
Rex Dieter 7e45545
* Tue Aug 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.4-1
Rex Dieter 7e45545
- 5.7.4
Rex Dieter 7e45545
Rex Dieter 93ad7cb
* Tue Aug 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.3-1
Rex Dieter 93ad7cb
- 5.7.3
Rex Dieter 93ad7cb
Rex Dieter cc0b082
* Tue Jul 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.2-1
Rex Dieter cc0b082
- 5.7.2
Rex Dieter cc0b082
Rex Dieter 38594be
* Tue Jul 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
Rex Dieter 38594be
- rebuild (qt5)
Rex Dieter 38594be
Rex Dieter df58851
* Tue Jul 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.1-1
Rex Dieter df58851
- 5.7.1
Rex Dieter df58851
Rex Dieter 3e32bf8
* Thu Jun 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.7.0-1
Rex Dieter 3e32bf8
- 5.7.0
Rex Dieter 3e32bf8
Rex Dieter ff05ccc
* Sat Jun 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.95-1
Rex Dieter ff05ccc
- 5.6.95
Rex Dieter ff05ccc
Rex Dieter 264efd5
* Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.5-1
Rex Dieter 264efd5
- 5.6.5
Rex Dieter 264efd5
Rex Dieter 125cfb0
* Sat May 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.4-1
Rex Dieter 125cfb0
- 5.6.4
Rex Dieter 125cfb0
Rex Dieter e71afdd
* Tue Apr 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.3-1
Rex Dieter e71afdd
- 5.6.3
Rex Dieter e71afdd
Rex Dieter 27d6bab
* Sun Apr 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.2-1.1
Rex Dieter 27d6bab
- rebuild
Rex Dieter 27d6bab
Rex Dieter fa6eb72
* Sat Apr 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.2-1
Rex Dieter fa6eb72
- 5.6.2
Rex Dieter fa6eb72
Rex Dieter a2ede2c
* Fri Apr 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 1:5.6.1-1
Rex Dieter a2ede2c
- 5.6.1
Rex Dieter a2ede2c
b2838f3
* Tue Mar 01 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.5-1
b2838f3
- Plasma 5.5.5
b2838f3
570cbe7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.5.4-2
570cbe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
570cbe7
41152c3
* Wed Jan 27 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.4-1
41152c3
- Plasma 5.5.4
41152c3
7e78698
* Thu Jan 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.3-1
7e78698
- Plasma 5.5.3
7e78698
Rex Dieter aec9765
* Thu Dec 31 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.5.2-1
Rex Dieter aec9765
- 5.5.2
Rex Dieter aec9765
Dan Vrátil 94e4789
* Fri Dec 18 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.1-1
Dan Vrátil 94e4789
- Plasma 5.5.1
Dan Vrátil 94e4789
Dan Vrátil 5c50656
* Thu Dec 03 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.0-1
Dan Vrátil 5c50656
- Plasma 5.5.0
Dan Vrátil 5c50656
Dan Vrátil e9425c6
* Wed Nov 25 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.95-1
Dan Vrátil e9425c6
- Plasma 5.4.95
Dan Vrátil e9425c6
ce559f3
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
ce559f3
- Plasma 5.4.3
ce559f3
Rex Dieter e06ef9f
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.4.2-1
Rex Dieter e06ef9f
- 5.4.2
Rex Dieter e06ef9f
Rex Dieter 5395f79
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.4.1-1
Rex Dieter 5395f79
- 5.4.1
Rex Dieter 5395f79
Dan Vrátil 32bd0c8
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 32bd0c8
- Plasma 5.4.0
Dan Vrátil 32bd0c8
Dan Vrátil 32bd0c8
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
Dan Vrátil 32bd0c8
- Plasma 5.3.95
Dan Vrátil 32bd0c8
Dan Vrátil 9385a1b
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
Dan Vrátil 9385a1b
- Plasma 5.3.2
Dan Vrátil 9385a1b
0d38705
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.3.1-2
0d38705
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0d38705
Dan Vrátil 8a0b273
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
Dan Vrátil 8a0b273
- Plasma 5.3.1
Dan Vrátil 8a0b273
Dan Vrátil 18a5ca0
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 18a5ca0
- Plasma 5.3.0
Dan Vrátil 18a5ca0
Dan Vrátil 01ae75b
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
Dan Vrátil 01ae75b
- Plasma 5.2.95
Dan Vrátil 01ae75b
Dan Vrátil 4c6e35b
* Wed Apr 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-2
Dan Vrátil 4c6e35b
- add upstream fix for RHBZ#1211881
Dan Vrátil 4c6e35b
Dan Vrátil 89d640a
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
Dan Vrátil 89d640a
- Plasma 5.2.2
Dan Vrátil 89d640a
Rex Dieter dbcef6d
* Thu Mar 05 2015 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-3
Rex Dieter dbcef6d
- Requires: qt5-qtgraphicaleffects (#1199084)
Rex Dieter dbcef6d
Dan Vrátil 2d0debe
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
Dan Vrátil 2d0debe
- Rebuild (GCC 5)
Dan Vrátil 2d0debe
Dan Vrátil 4217d78
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
Dan Vrátil 4217d78
- Plasma 5.2.1
Dan Vrátil 4217d78
Dan Vrátil 95f27fc
* Wed Jan 28 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-2
Dan Vrátil 95f27fc
- BR libkscreen-qt5-devel (it Provides kf5-kscreen-devel, but lets use the correct name)
Dan Vrátil 95f27fc
Dan Vrátil a3bac0e
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil a3bac0e
- Plasma 5.2.0
Dan Vrátil a3bac0e
Dan Vrátil c74853d
* Wed Jan 14 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-2.beta.20150112git7a8460a
Dan Vrátil c74853d
- BR kf5-kscreen-devel (renamed from libkscreen)
Dan Vrátil c74853d
Dan Vrátil c74853d
* Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta.20150112git7a8460a
Dan Vrátil c74853d
- Update to latest git snapshot
Dan Vrátil c74853d
Dan Vrátil c74853d
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2.20150108git0d70c77
Dan Vrátil c74853d
- Update to latest git snapshot
6c13eb2
Dan Vrátil c74853d
* Wed Dec 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2
Dan Vrátil c74853d
- Plasma 5.1.2
448e86e
Dan Vrátil c74853d
* Fri Nov 28 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1.20141128gitccf52c4
Dan Vrátil c74853d
- Update to latest git snapshot
Rex Dieter 9000f30
Dan Vrátil c74853d
* Fri Nov 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1.20141107git88b2a3f
Dan Vrátil c74853d
- Plasma 5.1.1
Rex Dieter 4a8ea50
Dan Vrátil c74853d
* Thu Oct 23 2014 Daniel Vrátil <dvratil@redhat.com> 1:5.0.92-20141023git
Dan Vrátil c74853d
 - kscreen 5.0.92 (git)
Dan Vrátil 3c21709
Dan Vrátil 2f41ba9
* Fri Nov 22 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0.2.1-1
Dan Vrátil 2f41ba9
 - kscreen 1:1.0.2.1-1
Dan Vrátil 2f41ba9
Dan Vrátil 6e81a5e
* Wed Nov 20 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0.2-1
Dan Vrátil 6e81a5e
 - kscreen 1:1.0.2-1
Dan Vrátil 6e81a5e
Dan Vrátil 69a2c8d
* Thu Aug 01 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0.1-1
Dan Vrátil 69a2c8d
 - kscreen 1:1.0.1-1
Dan Vrátil 69a2c8d
Dan Vrátil 681296e
* Mon Jun 17 2013 Dan Vrátil <dvratil@redhat.com> 1:1.0-1
Dan Vrátil 681296e
 - kscreen 1:1.0-1
Dan Vrátil 681296e
Dan Vrátil e8aa7be
* Thu May 02 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.92-1
Dan Vrátil e8aa7be
 - update to 1:0.0.92-1
2f0063e
Dan Vrátil e8aa7be
* Tue Apr 23 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.82.git20130424-1
Dan Vrátil e8aa7be
 - dev git build
Dan Vrátil e8aa7be
Dan Vrátil 674dd7b
* Mon Apr 08 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.81-2
Dan Vrátil 674dd7b
 - Explicitely depend on the same version of libkscreen
Dan Vrátil 674dd7b
Dan Vrátil ade35b2
* Wed Mar 27 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.81-1
Dan Vrátil ade35b2
 - Update to 1:0.0.81-1
Dan Vrátil ade35b2
Rex Dieter 9601c97
* Mon Jan 28 2013 Rex Dieter <rdieter@fedoraproject.org> 1:0.0.71-3
Rex Dieter 9601c97
- drop Provides: kde-display-management, Conflicts: kded_randrmonitor
Rex Dieter 9601c97
Dan Vrátil daa9278
* Thu Jan 24 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.71-2
Dan Vrátil daa9278
 - add Provides and Conflicts fields so make sure radrmonitor and
Dan Vrátil daa9278
   kscreen never run side by side
Dan Vrátil daa9278
Dan Vrátil 094644e
* Sun Jan 20 2013 Dan Vrátil <dvratil@redhat.com> 1:0.0.71-1
Dan Vrátil 094644e
 - update to 0.0.71 - first official release
Dan Vrátil 094644e
 - install kscreen-console, which has been moved from libkscreen
Dan Vrátil 094644e
 - the KCM is now called kcm_kscreen
Dan Vrátil 094644e
Dan Vrátil 64fff00
* Wed Jan 09 2013 Dan Vrátil <dvratil@redhat.com> 0.9.0-5.20121228git
Dan Vrátil 0317c0e
 - Update description, we don't ship the Plasma applet yet
Dan Vrátil 0317c0e
 - Provides kde-display-management, a metapackage for KScreen and kded_randrmonitor
Dan Vrátil 0317c0e
 - Conflicts with kded_randrmonitor
Dan Vrátil 0317c0e
Dan Vrátil 64fff00
* Wed Jan 09 2013 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-4.20121228git
Rex Dieter 5e5ff97
- BR: qjson-devel >= 0.8.1
Rex Dieter 5e5ff97
- License: GPLv2 or GPLv3
Rex Dieter 5e5ff97
- tighten %%files
Rex Dieter 5e5ff97
Dan Vrátil c74853d
* Wed Jan 02 2013 Dan Vrátil <dvratil@redhat.com> 0.9.0-3.20121228git
Dan Vrátil 540fde3
 - Added qjson-devel to BuildRequires
Dan Vrátil 540fde3
Dan Vrátil e0b0f44
* Fri Dec 28 2012 Dan Vrátil <dvratil@redhat.com> 0.9.0-2.20121228git
Dan Vrátil e0b0f44
 - Fixed URL
Dan Vrátil e0b0f44
Dan Vrátil e0b0f44
* Fri Dec 28 2012 Dan Vrátil <dvratil@redhat.com> 0.9.0-1.20121228git
Dan Vrátil e0b0f44
 - Fixed versioning
Dan Vrátil e0b0f44
 - Added instructions how to obtain sources
Dan Vrátil e0b0f44
 - Removed 'rm -rf $RPM_BUILD_ROOT'
Dan Vrátil e0b0f44
Dan Vrátil e0b0f44
* Wed Dec 26 2012 Dan Vrátil <dvratil@redhat.com> 20121226gitb31ab08-1
Dan Vrátil e0b0f44
 - Initial SPEC