kolourpaint-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. Name: kolourpaint
  2. Summary: An easy-to-use paint program
  3. Summary(ja): 簡単に使えるペイントツール
  4. Version: 4.14.3
  5. Release: 2%{?_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}/appdata/kolourpaint.appdata.xml
  70. %{_datadir}/applications/kde4/%{name}.desktop
  71. %{_datadir}/icons/hicolor/*/*/*
  72. %{_docdir}/HTML/en/%{name}/
  73. %files libs
  74. %{_libdir}/libkolourpaint_lgpl.so.4*
  75. %changelog
  76. * Thu Jul 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  77. - rebuild with gcc-5.4.0
  78. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  79. - new upstream release
  80. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  81. - new upstream release
  82. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  83. - new upstream release
  84. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  85. - new upstream release
  86. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  87. - new upstream release
  88. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  89. - new upstream release
  90. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  91. - new upstream release
  92. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  93. - new upstream release
  94. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  95. - new upstream release
  96. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  97. - new upstream release
  98. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  99. - new upstream release
  100. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  101. - Initial build for Vine Linux
  102. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  103. - 4.7.0
  104. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  105. - 4.6.95
  106. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  107. - License: BSD, -libs: License: LGPLv2
  108. - fix URL
  109. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  110. - fix Source0 URL
  111. - Conflicts: kdegraphics < 7:4.6.90-10
  112. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  113. - first try