cervisia-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Name: cervisia
  2. Summary: CVS frontend for KDE
  3. Summary(ja): KDE 用 CVS フロントエンド
  4. Version: 4.11.4
  5. Release: 1%{?_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: soprano-devel
  14. Requires(posttrans,postun): desktop-file-utils
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. Cervisia is a user friendly version control system front-end.
  20. The aim is to support CVS and other version control system programs
  21. in a unified interface, featuring conflict resolution, difference
  22. and history viewers, status for the working copy files, and support
  23. for most version control functions.
  24. %prep
  25. %setup -q
  26. %build
  27. mkdir -p %{_target_platform}
  28. pushd %{_target_platform}
  29. %cmake \
  30. -DCMAKE_BUILD_TYPE=release \
  31. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  32. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  33. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  34. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  35. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  36. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  37. ..
  38. popd
  39. make %{?_smp_mflags} -C %{_target_platform}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post
  46. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  47. %posttrans
  48. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  49. update-desktop-database -q &> /dev/null ||:
  50. %postun
  51. if [ $1 -eq 0 ] ; then
  52. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  53. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  54. update-desktop-database -q &> /dev/null ||:
  55. fi
  56. %files
  57. %defattr(-,root,root,-)
  58. %doc COPYING COPYING.DOC COPYING.LIB ChangeLog README
  59. %{_bindir}/%{name}
  60. %{_bindir}/cvsaskpass
  61. %{_bindir}/cvsservice
  62. %{_libdir}/libkdeinit4_cervisia.so
  63. %{_libdir}/libkdeinit4_cvsaskpass.so
  64. %{_libdir}/libkdeinit4_cvsservice.so
  65. %{_libdir}/kde4/cervisiapart.so
  66. %{_datadir}/applications/kde4/%{name}.desktop
  67. %{_datadir}/config.kcfg/cervisiapart.kcfg
  68. %{_datadir}/dbus-1/interfaces/*.xml
  69. %{_datadir}/icons/hicolor/*/*/*
  70. %{_datadir}/kde4/apps/cervisia/
  71. %{_datadir}/kde4/apps/cervisiapart/
  72. %{_datadir}/kde4/services/cervisiapart.desktop
  73. %{_datadir}/kde4/services/cvsservice.desktop
  74. %{_docdir}/HTML/en/%{name}
  75. %{_mandir}/man1/%{name}.1.gz
  76. %changelog
  77. * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  78. - new upstream release
  79. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  80. - initial build