meld-vl.spec 10 KB

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