]> git.pld-linux.org Git - packages/kp5-kgamma5.git/blame - kp5-kgamma5.spec
- updated to 5.22.1
[packages/kp5-kgamma5.git] / kp5-kgamma5.spec
CommitLineData
f3d2da77 1%define kdeplasmaver 5.22.1
06d26a1c 2%define qtver 5.9.0
48e98fd6
WF
3%define kpname kgamma5
4Summary: kgamma5
5Name: kp5-%{kpname}
f3d2da77 6Version: 5.22.1
48e98fd6
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
f3d2da77 11# Source0-md5: 94086410aff644ef8c8bb07079fea822
48e98fd6
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5Gui-devel >= %{qtver}
15BuildRequires: Qt5Widgets-devel >= %{qtver}
16BuildRequires: Qt5X11Extras-devel >= %{qtver}
17BuildRequires: cmake >= 2.8.12
18BuildRequires: gettext-devel
19BuildRequires: kf5-extra-cmake-modules >= 1.4.0
20BuildRequires: kf5-kdelibs4support-devel
21BuildRequires: kf5-kdoctools-devel
5b26e980 22BuildRequires: ninja
48e98fd6
WF
23BuildRequires: qt5-build >= %{qtver}
24BuildRequires: rpmbuild(macros) >= 1.164
25BuildRequires: tar >= 1:1.22
26BuildRequires: xorg-lib-libX11-devel
27BuildRequires: xz
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
06d26a1c
WF
31This module is a tool for monitor gamma correction. With proper gamma
32settings, your display (websites, images, etc.) will look the same on
33your monitor as on other monitors. It allows you to alter the
34monitor's gamma correction of the X-Server. But that's not all to do.
48e98fd6
WF
35
36%prep
37%setup -q -n %{kpname}-%{version}
38
39%build
40install -d build
41cd build
5b26e980 42%cmake -G Ninja \
48e98fd6 43 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
aa039462 44 -DHTML_INSTALL_DIR=%{_kdedocdir} \
48e98fd6 45 ..
5b26e980 46%ninja_build
48e98fd6
WF
47
48%install
49rm -rf $RPM_BUILD_ROOT
5b26e980 50%ninja_install -C build
48e98fd6
WF
51
52%find_lang %{kpname} --all-name --with-kde
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files -f %{kpname}.lang
58%defattr(644,root,root,755)
59%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kgamma.so
72275b86 60%{_datadir}/kgamma
48e98fd6 61%{_datadir}/kservices5/kgamma.desktop
This page took 0.136108 seconds and 4 git commands to generate.