giggle-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. Name: giggle
  2. Version: 0.6.2
  3. Release: 2%{?_dist_release}
  4. Summary: A Gtk frontend to git
  5. Group: Development/Tools
  6. License: GPLv2+
  7. URL: http://live.gnome.org/giggle
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/giggle/0.6/%{name}-%{version}.tar.xz
  9. Patch0: giggle-0.6.2-vte291.patch
  10. Patch1: giggle-0.6.2-gtksourcebuffer.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: gettext
  13. BuildRequires: gtksourceview3-devel
  14. BuildRequires: gtk3-devel
  15. BuildRequires: git-core
  16. BuildRequires: evolution-data-server-devel
  17. BuildRequires: vte3-devel
  18. BuildRequires: yelp-tools
  19. Requires(postun,posttrans): glib2
  20. Requires(postun,posttrans): desktop-file-utils
  21. Requires: git
  22. %description
  23. Giggle is a graphical frontend for the git directory tracker (think of gitk on
  24. GTK+).
  25. %package devel
  26. Summary: Headers for Giggle plugin development
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. %description devel
  30. Headers for developing plugins for Giggle.
  31. %prep
  32. %setup -q
  33. %patch0 -p1 -b .vte
  34. %patch1 -p1 -b .gsv3
  35. sed -i "s|vte-2.90|vte-2.91|g" configure
  36. %build
  37. %configure --disable-static
  38. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  39. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  45. %find_lang %{name}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post
  49. /sbin/ldconfig
  50. touch --no-create %{_datadir}/icons/hicolor
  51. %postun
  52. /sbin/ldconfig
  53. if [ $1 -eq 0 ]; then
  54. touch --no-create %{_datadir}/icons/hicolor
  55. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  56. update-desktop-database -q &> /dev/null || :
  57. fi
  58. %posttrans
  59. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  60. update-desktop-database -q &> /dev/null || :
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %doc AUTHORS COPYING README
  64. %{_bindir}/giggle
  65. %{_libdir}/*.so.*
  66. %{_libdir}/giggle/plugins/%{version}/*.so*
  67. %{_libdir}/giggle/plugins/%{version}/*.xml
  68. %dir %{_datadir}/giggle
  69. %dir %{_datadir}/giggle/glade
  70. %{_datadir}/giggle/glade/main-window.ui
  71. %{_datadir}/applications/giggle.desktop
  72. %{_datadir}/icons/hicolor/16x16/apps/*.png
  73. %{_datadir}/icons/hicolor/22x22/apps/*.png
  74. %{_datadir}/icons/hicolor/24x24/apps/*.png
  75. %{_datadir}/icons/hicolor/32x32/apps/*.png
  76. %{_datadir}/icons/hicolor/48x48/apps/*.png
  77. %{_datadir}/icons/hicolor/scalable/apps/*.svg
  78. %{_datadir}/help
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %{_includedir}/giggle/
  82. %{_libdir}/*.so
  83. %changelog
  84. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.2-2
  85. - rebuild with vte3-0.38.2
  86. - add Patch0 (giggle-0.6.2-vte291.patch)
  87. - add Patch1 (giggle-0.6.2-gtksourcebuffer.patch)
  88. * Tue Nov 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.2-1
  89. - new upstream release
  90. * Tue Oct 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
  91. - new upstream release
  92. * Sun Oct 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
  93. - new upstream release
  94. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-4
  95. - rebuild with evolution-data-server-3.1.90
  96. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-3
  97. - rebuild with evolution-data-server-3.1.4
  98. * Sun Oct 17 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1
  99. - initial build for Vine Linux
  100. * Sat Jun 26 2010 Caolán McNamara <caolanm@redhat.com> 0.5-3
  101. - bump for dependencies
  102. * Fri Jun 11 2010 Mike McGrath <mmcgrath@redhat.com> 0.5-2
  103. - Release bump for rebuild to fix broken libedataserver dep
  104. * Wed May 05 2010 James Bowes <jbowes@redhat.com> 0.5-1
  105. - Update to 0.5
  106. * Fri Feb 12 2010 Tomas Bzatek <tbzatek@redhat.com> - 0.4.96-1
  107. - Update to 0.4.96
  108. * Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.4.91-3
  109. - Use bzipped upstream tarball.
  110. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.91-2
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  112. * Fri Apr 10 2009 Lennart Poettering <lpoetter@redhat.com> - 0.4.91-1
  113. - Update to 0.4.91
  114. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.90-3
  115. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  116. * Fri Feb 13 2009 Lennart Poettering <lpoetter@redhat.com> - 0.4.90-2
  117. - Add missing dep
  118. * Fri Feb 13 2009 Lennart Poettering <lpoetter@redhat.com> - 0.4.90-1
  119. - Update to 0.4.90
  120. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4-2
  121. - Autorebuild for GCC 4.3
  122. * Wed Dec 12 2007 James Bowes <jbowes@redhat.com> - 0.4-1
  123. - Update to 0.4
  124. * Sun Oct 14 2007 James Bowes <jbowes@redhat.com> 0.3-5
  125. - Update gtksourceview2 patch to build against current code.
  126. * Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.3-4
  127. - Add BR for gtksourceview2-devel
  128. * Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.3-3
  129. - Mark license as GPLv2+
  130. * Fri Jul 6 2007 Jeremy Katz <katzj@redhat.com> - 0.3-2
  131. - fix to build against gtksourceview2
  132. * Wed May 09 2007 James Bowes <jbowes@redhat.com> - 0.3-1
  133. - Update to 0.3
  134. * Thu Mar 29 2007 James Bowes <jbowes@redhat.com> - 0.2-2
  135. - Add buildrequires for git-core
  136. * Thu Mar 29 2007 James Bowes <jbowes@redhat.com> - 0.2-1
  137. - Update to 0.2
  138. * Sat Mar 17 2007 James Bowes <jbowes@redhat.com> - 0.1-3
  139. - Minor specfile fixes from the initial review.
  140. * Fri Mar 09 2007 James Bowes <jbowes@redhat.com> - 0.1-2
  141. - Use desktop-file-install for the desktop file.
  142. * Wed Mar 07 2007 James Bowes <jbowes@redhat.com> - 0.1-1
  143. - Initial packaging.