kcolorchooser-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: kcolorchooser
  2. Summary: A color chooser
  3. Version: 4.11.1
  4. Release: 1%{?_dist_release}
  5. License: BSD
  6. Group: Applications/Accessories
  7. URL: https://projects.kde.org/projects/kde/kdegraphics/kcolorchooser
  8. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: desktop-file-utils
  11. BuildRequires: kdelibs4-devel >= %{version}
  12. # a very basic app, maybe just a dep on kdelibs is enough here -- rex
  13. Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
  14. # when split occurred
  15. Conflicts: kdegraphics < 4.6.95-10
  16. %description
  17. %{summary}.
  18. %prep
  19. %setup -q
  20. %build
  21. mkdir -p %{_target_platform}
  22. pushd %{_target_platform}
  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 %{buildroot}
  36. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  37. %check
  38. desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/%{name}.desktop
  39. %post
  40. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  41. %posttrans
  42. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  43. update-desktop-database -q &> /dev/null ||:
  44. %postun
  45. if [ $1 -eq 0 ] ; then
  46. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  47. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  48. fi
  49. %files
  50. %{_bindir}/%{name}
  51. %{_datadir}/applications/kde4/%{name}.desktop
  52. %{_datadir}/icons/hicolor/*/*/*
  53. %changelog
  54. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  55. - new upstream release
  56. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  57. - new upstream release
  58. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  59. - new upstream release
  60. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  61. - new upstream release
  62. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  63. - new upstream release
  64. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  65. - new upstream release
  66. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  67. - new upstream release
  68. * Sat Aug 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  69. - Initial build for Vine Linux
  70. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  71. - 4.7.0
  72. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  73. - 4.6.95
  74. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  75. - License: BSD
  76. - update URL
  77. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  78. - fix Source0 URL
  79. - Conflicts: kdegraphics < 7:4.6.90-10
  80. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  81. - first try