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