kgamma-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: kgamma
  2. Summary: A monitor calibration tool
  3. Summary(ja): モニタ調整ツール
  4. Version: 4.9.2
  5. Release: 1%{?_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/stable/%{version}/src/%{name}-%{version}.tar.xz
  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. %cmake \
  23. -DCMAKE_BUILD_TYPE=release \
  24. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  25. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  26. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  27. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  28. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  29. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  30. ..
  31. popd
  32. make %{?_smp_mflags} -C %{_target_platform}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %doc AUTHORS ChangeLog
  40. %{_bindir}/xf86gammacfg
  41. %{_datadir}/kde4/apps/%{name}/
  42. %{_datadir}/kde4/services/%{name}.desktop
  43. %{_libdir}/kde4/kcm_%{name}.so
  44. %{_docdir}/HTML/en/kcontrol/%{name}/
  45. %changelog
  46. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  47. - new upstream release
  48. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  49. - new upstream release
  50. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  51. - new upstream release
  52. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  53. - Initial build for Vine Linux
  54. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  55. - 4.7.0
  56. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  57. - 4.6.95
  58. - fix URL
  59. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  60. - fix Source0 URL
  61. - Conflicts: kdegraphics < 7:4.6.90-10
  62. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  63. - first try