kgamma-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Name: kgamma
  2. Summary: A monitor calibration tool
  3. Summary(ja): モニタ調整ツール
  4. Version: 4.14.3
  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/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. Patch0: kgamma-4.14.3-cmake.patch
  11. BuildRequires: kdelibs4-devel >= %{version}
  12. BuildRequires: libXxf86vm-devel
  13. Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
  14. # when split occurred
  15. Conflicts: kdegraphics < 4.6.95-10
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. %{summary}.
  20. %prep
  21. %setup -q
  22. %patch0 -p1 -b .cmake
  23. %build
  24. mkdir -p %{_target_platform}
  25. pushd %{_target_platform}
  26. %cmake \
  27. -DCMAKE_BUILD_TYPE=release \
  28. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  29. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  30. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  31. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  32. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  33. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  34. ..
  35. popd
  36. make %{?_smp_mflags} -C %{_target_platform}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %doc AUTHORS ChangeLog
  44. %{_bindir}/xf86gammacfg
  45. %{_datadir}/kde4/apps/%{name}/
  46. %{_datadir}/kde4/services/%{name}.desktop
  47. %{_libdir}/kde4/kcm_%{name}.so
  48. %{_docdir}/HTML/en/kcontrol/%{name}/
  49. %changelog
  50. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  51. - rebuild with gcc-5.4.0
  52. - add Patch0 (kgamma-4.14.3-cmake.patch)
  53. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  54. - new upstream release
  55. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  56. - new upstream release
  57. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  58. - new upstream release
  59. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  60. - new upstream release
  61. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  62. - new upstream release
  63. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  64. - new upstream release
  65. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  66. - new upstream release
  67. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  68. - new upstream release
  69. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  70. - new upstream release
  71. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  72. - new upstream release
  73. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  74. - new upstream release
  75. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  76. - Initial build for Vine Linux
  77. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  78. - 4.7.0
  79. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  80. - 4.6.95
  81. - fix URL
  82. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  83. - fix Source0 URL
  84. - Conflicts: kdegraphics < 7:4.6.90-10
  85. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  86. - first try