kgamma-vl.spec 1.8 KB

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