]> git.pld-linux.org Git - packages/kde4-kgamma.git/blob - kde4-kgamma.spec
- fix cmake deps
[packages/kde4-kgamma.git] / kde4-kgamma.spec
1 %define         _state          stable
2 %define         orgname         kgamma
3 %define         qtver           4.8.1
4
5 Summary:        A monitor calibration tool
6 Summary(pl.UTF-8):      Narzędzie do kalibracji monitora
7 Name:           kde4-kgamma
8 Version:        4.14.3
9 Release:        4
10 License:        GPL
11 Group:          X11/Applications/Graphics
12 Source0:        http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5:  e21627473d1c21e0d2ba129c01d1216d
14 Patch0:         cmake.patch
15 URL:            http://www.kde.org/
16 BuildRequires:  cmake >= 2.8.0
17 BuildRequires:  kde4-kdelibs-devel >= %{version}
18 Obsoletes:      kde4-kdegraphics-kgamma < 4.6.99
19 Obsoletes:      kgamma < 4.8.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 A monitor calibration tool.
24
25 %description -l pl.UTF-8
26 Narzędzie do kalibracji monitora.
27
28 %prep
29 %setup -q -n %{orgname}-%{version}
30 %patch0 -p1
31
32 %build
33 install -d build
34 cd build
35 %cmake \
36         ../
37
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} -C build/ install \
44         DESTDIR=$RPM_BUILD_ROOT \
45         kde_htmldir=%{_kdedocdir}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/xf86gammacfg
53 %attr(755,root,root) %{_libdir}/kde4/kcm_kgamma.so
54 %{_datadir}/apps/kgamma
55 %{_datadir}/kde4/services/kgamma.desktop
56 %{_kdedocdir}/en/kcontrol/kgamma
This page took 0.046969 seconds and 4 git commands to generate.