meld-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. Name: meld
  2. Version: 1.3.1
  3. Release: 2%{?_dist_release}
  4. Summary: Graphical tool to diff and merge files
  5. Summary(ja): ファイルの差分表示とマージのためのグラフィカルなツール
  6. Group: Development/Tools
  7. License: GPLv2+
  8. URL: http://meld.sourceforge.net/
  9. Source0: http://ftp.gnome.org/pub/gnome/sources/meld/1.2/meld-%{version}.tar.bz2
  10. Source1: meld-1.3.1-ja.po
  11. Patch0: %{name}-desktop.patch
  12. Patch1: %{name}-scrollkeeper.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: gettext
  16. BuildRequires: intltool
  17. BuildRequires: scrollkeeper
  18. BuildRequires: perl(XML::Parser)
  19. Requires: pygtk2 >= 2.14.0
  20. Requires: pygtk2-libglade
  21. Requires: pygobject >= 2.14.0
  22. Requires(post): scrollkeeper
  23. Requires(postun): scrollkeeper
  24. BuildArch: noarch
  25. %description
  26. Meld is a tool which allows the user to see the changes in, and
  27. merge between, either two files, two directories, or two files
  28. with a common ancestor.
  29. %description -l ja
  30. Meld は、ユーザが二つのファイル、二つのディレクトリ、または共通の祖先を
  31. 持つ二つのファイルの差分表示およびマージを行うことことができます。
  32. %prep
  33. %setup -q
  34. %patch0 -p1 -b .desktop
  35. %patch1 -p1 -b .scrollkeeper
  36. # copy updated japanese translation
  37. %{__cp} %{SOURCE1} po/ja.po
  38. %build
  39. make prefix=%{_prefix} libdir=%{_datadir}
  40. %install
  41. rm -rf ${RPM_BUILD_ROOT}
  42. make prefix=%{_prefix} libdir=%{_datadir} \
  43. DESTDIR=${RPM_BUILD_ROOT} install
  44. desktop-file-install --vendor vine \
  45. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  46. --delete-original ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  47. %find_lang %{name}
  48. %post
  49. scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
  50. %postun
  51. scrollkeeper-update -q || :
  52. %clean
  53. rm -rf ${RPM_BUILD_ROOT}
  54. %files -f %{name}.lang
  55. %defattr(-,root,root,-)
  56. %doc AUTHORS COPYING
  57. %{_bindir}/%{name}
  58. %{_datadir}/%{name}/
  59. %{_datadir}/applications/vine-%{name}.desktop
  60. #%{_datadir}/application-registry/%{name}*
  61. %{_datadir}/pixmaps/%{name}.png
  62. %{_datadir}/gnome/help/%{name}/
  63. %{_datadir}/omf/%{name}/
  64. %changelog
  65. * Wed Sep 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.1-2
  66. - add Source1: updated japanese translations
  67. * Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.1-1
  68. - new upstream release
  69. * Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-2
  70. - remove Requires: gnome-python-* which are not needed anymore.
  71. * Fri May 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.0-1
  72. - Update to 1.3.0
  73. - spec in UTF-8
  74. * Sat Apr 04 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.1-1
  75. - Update to 1.2.1
  76. - fixed release tag
  77. - Updated Patch0
  78. * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2-1
  79. - initial build for Vine Linux
  80. * Tue Aug 26 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.2-2
  81. - Change require to gnome-python2-gnome. (#460010)
  82. * Sun Aug 3 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.2-1
  83. - Update to 1.2.
  84. - Drop git patch. fixed upstream.
  85. - Update scrollkeeper patch.
  86. * Tue Jun 3 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-5
  87. - Backport git support (#449250).
  88. * Wed Nov 14 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-4
  89. - Add Requires on gnome-python2-gtksourceview to enable syntax coloring. (#382041)
  90. * Sun Aug 5 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-3
  91. - Update license tag.
  92. * Sun Jun 10 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-2
  93. - Drop requires on yelp.
  94. * Sat Jun 9 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-1
  95. - Update to 1.1.5.
  96. - Drop gettext patch. fixed upstream.
  97. * Sat Jun 9 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-7
  98. - Add requires on yelp.
  99. * Sat Dec 9 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-6
  100. - Drop X-Fedora category from desktop file.
  101. - Add patch to fix rejects from new version of gettext.
  102. * Fri Dec 8 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-5
  103. - Rebuild against new python.
  104. * Wed Sep 6 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-4
  105. - Don't ghost *.pyo files.
  106. - Add BR for intltool and perl(XML::Parser).
  107. - Rebuild for FC6.
  108. * Sun Jun 11 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.4-3
  109. - Update to 1.1.4.
  110. * Thu Feb 16 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.3-4
  111. - Remove unnecessary BR (intltool).
  112. * Mon Feb 13 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.3-3
  113. - rebuilt for new gcc4.1 snapshot and glibc changes
  114. * Sun Feb 5 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.3-2
  115. - Update to 1.1.3.
  116. - Update scrollkeeper scriptlet.
  117. - Update versions required for pygtk2 & gnome-python2.
  118. - Add patch to disable scrollkeeper in Makefile.
  119. - Ghost the *.pyo.
  120. * Sun Nov 13 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.1.2-1
  121. - Update to 1.1.2.
  122. * Mon Jul 25 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.0-1
  123. - Update to 1.0.0.
  124. - Include fix for upstream bug #309408.
  125. * Wed Jun 8 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.6-1
  126. - Remove unused meld shell script from src.rpm.
  127. - Add scriptlets for scrollkeeper-update.
  128. - Use %%find_lang macro.
  129. - Simplify %%install (let included Makefile do the installation).
  130. - Update to 0.9.6 (fixes manual).
  131. - BR scrollkeeper (#156235).
  132. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.5-2
  133. - rebuilt
  134. * Sun Feb 06 2005 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.9.5-1
  135. - 0.9.5.
  136. * Thu Nov 11 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.9.4.1-0.fdr.3
  137. - Clean up spec/Bump release.
  138. * Sat Jul 31 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.4.1-0.fdr.2
  139. - Group now Development/Tools.
  140. * Wed Jul 21 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.4.1-0.fdr.1
  141. - Updated to 0.9.4.1.
  142. * Fri May 28 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.3-0.fdr.1
  143. - Updated to 0.9.3.
  144. * Wed Apr 07 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.2.1-0.fdr.2
  145. - BuildReqs intltool & gettext (#1459).
  146. * Tue Apr 06 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.2.1-0.fdr.1
  147. - Updated to 0.9.2.1.
  148. * Thu Dec 04 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.1-0.fdr.2
  149. - Include translations.
  150. * Sat Nov 22 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.1-0.fdr.1
  151. - Updated to 0.9.1.
  152. * Thu Oct 23 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.0-0.fdr.2
  153. - Reuire pygtk2 >= 0:1.99.15.
  154. * Sun Oct 12 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.0-0.fdr.1
  155. - Updated to 0.9.0.
  156. * Mon Sep 01 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.5-0.fdr.1
  157. - Updated to 0.8.5.
  158. * Wed Aug 13 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.4-0.fdr.3
  159. - dropped tidyxml.py.
  160. * Mon Aug 11 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.4-0.fdr.2
  161. - Moved manual so the help feature will work.
  162. * Thu Jul 31 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.4-0.fdr.1
  163. - Updated to 0.8.4.
  164. - now install files under %%{_datadir} rather than %%{_libdir}.
  165. * Wed May 28 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.1-0.fdr.3
  166. - Package now contains verifiable source.
  167. * Tue May 27 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.1-0.fdr.2
  168. - Cleaned out libdir/meld.
  169. - fixed file permissions.
  170. * Sun May 25 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.1-0.fdr.1
  171. - Updated to 0.8.1.
  172. - buildroot -> RPM_BUILD_ROOT.
  173. * Wed Apr 16 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.7.1-0.fdr.1
  174. - Updated to 0.7.1.
  175. * Wed Apr 09 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.7.0-0.fdr.3
  176. - Updated Requires.
  177. * Tue Apr 01 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.7.0-0.fdr.2
  178. - Changed category to X-Fedora-Extra.
  179. - Added desktop-file-utils to BuildRequires.
  180. - Added missing Requires fields.
  181. - Added Epoch:0.
  182. * Thu Mar 27 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.7.0-0.fdr.1
  183. - Initial RPM release.