kcolorchooser-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Name: kcolorchooser
  2. Summary: A color chooser
  3. Version: 4.12.5
  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. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. %{summary}.
  20. %prep
  21. %setup -q
  22. %build
  23. mkdir -p %{_target_platform}
  24. pushd %{_target_platform}
  25. %cmake \
  26. -DCMAKE_BUILD_TYPE=release \
  27. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  28. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  29. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  30. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  31. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  32. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  33. ..
  34. popd
  35. make %{?_smp_mflags} -C %{_target_platform}
  36. %install
  37. rm -rf %{buildroot}
  38. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  39. %check
  40. desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/%{name}.desktop
  41. %post
  42. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  43. %posttrans
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  45. update-desktop-database -q &> /dev/null ||:
  46. %postun
  47. if [ $1 -eq 0 ] ; then
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  50. fi
  51. %files
  52. %{_bindir}/%{name}
  53. %{_datadir}/applications/kde4/%{name}.desktop
  54. %{_datadir}/icons/hicolor/*/*/*
  55. %changelog
  56. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  57. - new upstream release
  58. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  59. - new upstream release
  60. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  61. - new upstream release
  62. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  63. - new upstream release
  64. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  65. - new upstream release
  66. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  67. - new upstream release
  68. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  69. - new upstream release
  70. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  71. - new upstream release
  72. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  73. - new upstream release
  74. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  75. - new upstream release
  76. * Sat Aug 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  77. - Initial build for Vine Linux
  78. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  79. - 4.7.0
  80. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  81. - 4.6.95
  82. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  83. - License: BSD
  84. - update URL
  85. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  86. - fix Source0 URL
  87. - Conflicts: kdegraphics < 7:4.6.90-10
  88. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  89. - first try