source: projects/specs/trunk/k/kgamma/kgamma-vl.spec @ 4665

Revision 4665, 1.8 KB checked in by inagaki, 13 years ago (diff)

NEW: kdegraphics-4.7.0

Line 
1Name:    kgamma
2Summary: A monitor calibration tool
3Summary(ja): モニタ調整ツール
4Version: 4.7.0
5Release: 2%{?_dist_release}
6
7License: GPLv2
8Group:   Applications/Accessories
9URL:     https://projects.kde.org/projects/kde/kdegraphics/kgamma
10
11Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
12
13BuildRequires: kdelibs4-devel >= %{version}
14BuildRequires: libXxf86vm-devel
15
16Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
17
18# when split occurred
19Conflicts: kdegraphics < 4.6.95-10
20
21%description
22%{summary}.
23
24
25%prep
26%setup -q
27
28%build
29mkdir -p %{_target_platform}
30pushd %{_target_platform}
31unset QTDIR || : ; . /etc/profile.d/qt4.sh
32%cmake \
33    -DCMAKE_BUILD_TYPE=release \
34    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
35    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
36    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
37    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
38    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
39    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
40    ..
41popd
42
43make %{?_smp_mflags} -C %{_target_platform}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53
54%files
55%doc AUTHORS ChangeLog
56%{_bindir}/xf86gammacfg
57%{_datadir}/kde4/apps/%{name}/
58%{_datadir}/kde4/services/%{name}.desktop
59%{_libdir}/kde4/kcm_%{name}.so
60%{_docdir}/HTML/en/kcontrol/%{name}/
61
62
63%changelog
64* Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
65- Initial build for Vine Linux
66
67* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
68- 4.7.0
69
70* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
71- 4.6.95
72- fix URL
73
74* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
75- fix Source0 URL
76- Conflicts: kdegraphics < 7:4.6.90-10
77
78* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
79- first try
Note: See TracBrowser for help on using the repository browser.