]> git.pld-linux.org Git - packages/kp5-kgamma5.git/blob - kp5-kgamma5.spec
7b78ce00bfff480d1bb1470137261df6452a9a94
[packages/kp5-kgamma5.git] / kp5-kgamma5.spec
1 %define         kdeplasmaver    5.14.5
2 %define         qtver           5.9.0
3 %define         kpname          kgamma5
4 Summary:        kgamma5
5 Name:           kp5-%{kpname}
6 Version:        5.14.5
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11 # Source0-md5:  409923fbb5c1a3cbfc896d242d68e08c
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
22 BuildRequires:  qt5-build >= %{qtver}
23 BuildRequires:  rpmbuild(macros) >= 1.164
24 BuildRequires:  tar >= 1:1.22
25 BuildRequires:  xorg-lib-libX11-devel
26 BuildRequires:  xz
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This module is a tool for monitor gamma correction. With proper gamma
31 settings, your display (websites, images, etc.) will look the same on
32 your monitor as on other monitors. It allows you to alter the
33 monitor's gamma correction of the X-Server. But that's not all to do.
34
35 %prep
36 %setup -q -n %{kpname}-%{version}
37
38 %build
39 install -d build
40 cd build
41 %cmake \
42         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
43         ..
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} -C build install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{kpname} --all-name --with-kde
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{kpname}.lang
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kgamma.so
59 %{_datadir}/kgamma
60 %{_datadir}/kservices5/kgamma.desktop
This page took 0.069077 seconds and 2 git commands to generate.