giggle-vl.spec 5.3 KB

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