meld-vl.spec 9.6 KB

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