diffuse-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Name: diffuse
  2. Version: 0.4.3
  3. Release: 1%{?_dist_release}
  4. Summary: Graphical tool for comparing and merging text files
  5. Summary(ja): テキストファイルをマージして比較するためのグラフィックツール
  6. Group: Development/Tools
  7. License: GPLv2+
  8. URL: http://%{name}.sourceforge.net/
  9. Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
  10. BuildRequires: desktop-file-utils gettext scrollkeeper
  11. Requires: python >= 2.4 pygtk2 >= 2.10
  12. Requires(post): scrollkeeper
  13. Requires(postun): scrollkeeper
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. %description
  17. Diffuse is a graphical tool for merging and comparing text files. Diffuse is
  18. able to compare an arbitrary number of files side-by-side and gives users the
  19. ability to manually adjust line matching and directly edit files. Diffuse can
  20. also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
  21. Monotone, Subversion, and SVK repositories for comparison and merging.
  22. %prep
  23. %setup -q
  24. %build
  25. %install
  26. rm -rf %{buildroot}
  27. python install.py --destdir=%{buildroot} --prefix=/usr
  28. desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
  29. %find_lang %{name}
  30. %clean
  31. rm -rf %{buildroot}
  32. %post
  33. scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
  34. update-desktop-database &> /dev/null || :
  35. %postun
  36. scrollkeeper-update -q || :
  37. update-desktop-database &> /dev/null || :
  38. %files -f %{name}.lang
  39. %defattr(-,root,root,-)
  40. %{_bindir}/%{name}
  41. %{_datadir}/%{name}/
  42. %{_datadir}/applications/%{name}.desktop
  43. %{_datadir}/gnome/help/%{name}/C/diffuse.xml
  44. %{_datadir}/omf/%{name}/%{name}-C.omf
  45. %{_datadir}/pixmaps/%{name}.png
  46. %config(noreplace) %{_sysconfdir}/diffuserc
  47. %{_mandir}/man*/*
  48. %dir %{_datadir}/gnome/help/%{name}
  49. %dir %{_datadir}/gnome/help/%{name}/C
  50. %dir %{_datadir}/omf/%{name}
  51. %doc AUTHORS ChangeLog COPYING README
  52. %changelog
  53. * Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.3-1
  54. - initial build for VineSeed
  55. * Tue Aug 10 2010 Jon Levell <fedora@coralbark.net> - 0.4.3-1
  56. - Update to 0.4.3 upstream release
  57. * Thu Sep 17 2009 Jon Levell <fedora@coralbark.net> - 0.4.0-1
  58. - Update to new upstream release
  59. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Sat Jul 4 2009 Jon Levell <fedora@coralbark.net> - 0.3.4-1
  62. - Update to new upstream release (patch no longer needed)
  63. * Tue Jun 30 2009 Jon Levell <fedora@coralbark.net> - 0.3.3-1
  64. - Update to latest upstream release
  65. - Add patch provided by upstream
  66. * Tue Mar 10 2009 Jon Levell <fedora@coralbark.net> - 0.3.1-1
  67. - Update to latest upstream release
  68. * Wed Feb 11 2009 Jon Levell <fedora@coralbark.net> - 0.2.15-4
  69. - Validate the .desktop file
  70. - Use the prescribed forms for scrollkeeper/update-desktop-database
  71. - Clean up the unowned directories
  72. * Sat Jan 24 2009 Jon Levell <fedora@coralbark.net> - 0.2.15-3
  73. - Fix typos in formatting of changelog
  74. - Fix buildroot in line with packaging guidelines
  75. - Updated defattr with default directory permissions
  76. * Wed Jan 21 2009 Jon Levell <fedora@coralbark.net> - 0.2.15-2
  77. - Use macros in file paths
  78. - patch .desktop file to add trailing semi-colons
  79. - updated URL/source/group
  80. * Tue Jan 20 2009 Jon Levell <fedora@coralbark.net> - 0.2.15-1
  81. - clean buildroot on install
  82. - conditional use scrollkeeper/update-desktop-database
  83. - updated release/license as per Fedora guidelines
  84. - first version submitted to Fedora
  85. * Sun Apr 27 2008 Derrick Moser <derrick_moser@yahoo.com>
  86. - created initial diffuse package