giggle-vl.spec 5.1 KB

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