kolourpaint-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Name: kolourpaint
  2. Summary: An easy-to-use paint program
  3. Summary(ja): 簡単に使えるペイントツール
  4. Version: 4.11.1
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: Applications/Graphics
  8. URL: https://projects.kde.org/projects/kde/kdegraphics/kolourpaint
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRequires: desktop-file-utils
  11. BuildRequires: kdelibs4-devel >= %{version}
  12. BuildRequires: qimageblitz-devel
  13. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  14. Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
  15. # when split occurred
  16. Conflicts: kdegraphics < 4.6.95-10
  17. %description
  18. %{summary}.
  19. %package libs
  20. Summary: Runtime libraries for %{name}
  21. Summary(ja): %{name} のランタイムライブラリ
  22. Requires: %{name} = %{version}-%{release}
  23. License: LGPLv2
  24. %description libs
  25. %{summary}.
  26. %prep
  27. %setup -q
  28. %build
  29. mkdir -p %{_target_platform}
  30. pushd %{_target_platform}
  31. %cmake \
  32. -DCMAKE_BUILD_TYPE=release \
  33. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  34. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  35. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  36. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  37. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  38. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  39. ..
  40. popd
  41. make %{?_smp_mflags} -C %{_target_platform}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  45. ## unpackaged files
  46. rm -fv $RPM_BUILD_ROOT%{_libdir}/libkolourpaint_lgpl.so
  47. %check
  48. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/%{name}.desktop
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post
  52. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  53. %posttrans
  54. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  55. update-desktop-database -q &> /dev/null ||:
  56. %postun
  57. if [ $1 -eq 0 ] ; then
  58. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  59. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  60. fi
  61. %post libs -p /sbin/ldconfig
  62. %postun libs -p /sbin/ldconfig
  63. %files
  64. %doc AUTHORS BUGS ChangeLog COPYING NEWS README
  65. %{_bindir}/%{name}
  66. %{_datadir}/kde4/apps/%{name}/
  67. %{_datadir}/applications/kde4/%{name}.desktop
  68. %{_datadir}/icons/hicolor/*/*/*
  69. %{_docdir}/HTML/en/%{name}/
  70. %files libs
  71. %{_libdir}/libkolourpaint_lgpl.so.4*
  72. %changelog
  73. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  74. - new upstream release
  75. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  76. - new upstream release
  77. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  78. - new upstream release
  79. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  80. - new upstream release
  81. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  82. - new upstream release
  83. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  84. - new upstream release
  85. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  86. - new upstream release
  87. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  88. - Initial build for Vine Linux
  89. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  90. - 4.7.0
  91. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  92. - 4.6.95
  93. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  94. - License: BSD, -libs: License: LGPLv2
  95. - fix URL
  96. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  97. - fix Source0 URL
  98. - Conflicts: kdegraphics < 7:4.6.90-10
  99. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  100. - first try