1 %define kdeplasmaver 5.24.3
8 License: GPL v2+/LGPL v2.1+
10 Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11 # Source0-md5: 85557e4f5afa8bc0a105ffc44b16edae
12 URL: http://www.kde.org/
13 BuildRequires: Qt5Core-devel >= %{qtver}
14 BuildRequires: Qt5Gui-devel >= %{qtver}
15 BuildRequires: Qt5Widgets-devel >= %{qtver}
16 BuildRequires: Qt5X11Extras-devel >= %{qtver}
17 BuildRequires: cmake >= 2.8.12
18 BuildRequires: gettext-devel
19 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
20 BuildRequires: kf5-kdelibs4support-devel
21 BuildRequires: kf5-kdoctools-devel
23 BuildRequires: qt5-build >= %{qtver}
24 BuildRequires: rpmbuild(macros) >= 1.164
25 BuildRequires: tar >= 1:1.22
26 BuildRequires: xorg-lib-libX11-devel
27 BuildRequires: xorg-lib-libXxf86vm-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This module is a tool for monitor gamma correction. With proper gamma
33 settings, your display (websites, images, etc.) will look the same on
34 your monitor as on other monitors. It allows you to alter the
35 monitor's gamma correction of the X-Server. But that's not all to do.
38 %setup -q -n %{kpname}-%{version}
44 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
45 -DHTML_INSTALL_DIR=%{_kdedocdir} \
50 rm -rf $RPM_BUILD_ROOT
51 %ninja_install -C build
53 %find_lang %{kpname} --all-name --with-kde
56 rm -rf $RPM_BUILD_ROOT
58 %files -f %{kpname}.lang
59 %defattr(644,root,root,755)
60 %{_libdir}/qt5/plugins/plasma/kcminit/kcm_kgamma_init.so
61 %{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_kgamma.so