kompare-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Name: kompare
  2. Summary: File comparison tool for KDE
  3. Summary(ja): KDE 用ファイル比較ツール
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Development
  8. URL: http://www.kde.org/
  9. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: kdelibs-devel >= %{version}
  13. BuildRequires: libkomparediff2-devel
  14. BuildRequires: soprano-devel
  15. Requires(posttrans,postun): desktop-file-utils
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. Kompare is a program to view the differences between files.
  21. %package devel
  22. Summary: Development files for %{name}
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: kdelibs-devel
  26. Requires: libkomparediff2-devel
  27. %description devel
  28. Development files for %{name}.
  29. %prep
  30. %setup -q
  31. %build
  32. mkdir -p %{_target_platform}
  33. pushd %{_target_platform}
  34. %cmake \
  35. -DCMAKE_BUILD_TYPE=release \
  36. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  37. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  38. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  39. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  40. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  41. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  42. ..
  43. popd
  44. make %{?_smp_mflags} -C %{_target_platform}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  52. %posttrans
  53. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  54. update-desktop-database -q &> /dev/null ||:
  55. %postun
  56. if [ $1 -eq 0 ] ; then
  57. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  58. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  59. update-desktop-database -q &> /dev/null ||:
  60. fi
  61. %files
  62. %defattr(-,root,root,-)
  63. %doc COPYING COPYING.DOC ChangeLog README
  64. %{_bindir}/%{name}
  65. %{_libdir}/libkomparedialogpages.so.*
  66. %{_libdir}/libkompareinterface.so.*
  67. %{_libdir}/kde4/komparenavtreepart.so
  68. %{_libdir}/kde4/komparepart.so
  69. %{_datadir}/applications/kde4/%{name}.desktop
  70. %{_datadir}/icons/hicolor/*/*/*
  71. %{_datadir}/kde4/apps/%{name}
  72. %{_datadir}/kde4/services/komparenavtreepart.desktop
  73. %{_datadir}/kde4/services/komparepart.desktop
  74. %{_datadir}/kde4/servicetypes/komparenavigationpart.desktop
  75. %{_datadir}/kde4/servicetypes/kompareviewpart.desktop
  76. %{_docdir}/HTML/en/%{name}
  77. %files devel
  78. %defattr(-,root,root,-)
  79. %{_includedir}/kde4/%{name}
  80. %{_libdir}/libkomparedialogpages.so
  81. %{_libdir}/libkompareinterface.so
  82. %changelog
  83. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  84. - rebuild with gcc-5.4.0
  85. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  86. - new upstream release
  87. * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  88. - new upstream release
  89. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  90. - new upstream release
  91. - add BuildRequires: libkomparediff2-devel
  92. * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  93. - new upstream release
  94. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  95. - initial build