[4665] | 1 | Name: kgamma |
---|
| 2 | Summary: A monitor calibration tool |
---|
| 3 | Summary(ja): モニタ調整ツール |
---|
| 4 | Version: 4.7.0 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: Applications/Accessories |
---|
| 9 | URL: https://projects.kde.org/projects/kde/kdegraphics/kgamma |
---|
| 10 | |
---|
| 11 | Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
| 12 | |
---|
| 13 | BuildRequires: kdelibs4-devel >= %{version} |
---|
| 14 | BuildRequires: libXxf86vm-devel |
---|
| 15 | |
---|
| 16 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
| 17 | |
---|
| 18 | # when split occurred |
---|
| 19 | Conflicts: kdegraphics < 4.6.95-10 |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | %{summary}. |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q |
---|
| 27 | |
---|
| 28 | %build |
---|
| 29 | mkdir -p %{_target_platform} |
---|
| 30 | pushd %{_target_platform} |
---|
| 31 | unset 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 | .. |
---|
| 41 | popd |
---|
| 42 | |
---|
| 43 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -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 |
---|