kolourpaint-vl.spec 3.8 KB

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