gnubiff-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. Summary: A mail notification program
  2. Summary(ja): Gnome 対応のメールチェッカー
  3. Name: gnubiff
  4. Version: 2.2.13
  5. Release: 1%{?_dist_release}
  6. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  7. Patch0: gnubiff-2.2.13-dsofix.patch
  8. License: GPLv3+
  9. Group: Applications/Internet
  10. URL: http://gnubiff.sourceforge.net/
  11. Requires: gamin
  12. Requires: gtk2
  13. Requires: libglade2
  14. Requires: gnome-desktop
  15. Requires: gnome-desktop-libs
  16. Requires: expat
  17. Requires: libexpat
  18. Requires: perl-XML-Parser
  19. Requires: popt
  20. Requires: openssl
  21. BuildRequires: gamin-devel
  22. BuildRequires: gtk2-devel
  23. BuildRequires: libglade2-devel
  24. BuildRequires: gnome-desktop-devel
  25. BuildRequires: expat-devel
  26. BuildRequires: perl-XML-Parser
  27. BuildRequires: popt-devel
  28. BuildRequires: openssl-devel
  29. BuildRequires: libSM-devel
  30. BuildRequires: libgnomeui-devel
  31. BuildRequires: gnome-panel-devel
  32. BuildRequires: intltool
  33. BuildRequires: desktop-file-utils
  34. Requires(post): info
  35. Requires(preun): info
  36. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  37. %description
  38. Gnubiff is a mail notification program that checks for mail,
  39. displays headers when new mail has arrived and allow to read
  40. first lines of new messages. Supported protocols are POP3, APOP,
  41. IMAP4, MH, Qmail, and Mail File.
  42. %description -l ja
  43. Gnubiff はメールサーバーに問い合わせをして、
  44. 新着メールがあったときにヘッダーを表示したり、
  45. 新着メッセージの最初の数行を読めるメール通知プログラムです。
  46. 対応プロトコルは、POP3, APOP, IMAP4, MH, Qmail と
  47. メールファイル・フォルダです。
  48. %prep
  49. %setup -q
  50. %patch0 -p1 -b .dsofix
  51. %build
  52. ./configure \
  53. --prefix=%{_prefix} \
  54. --libdir=%{_libdir} \
  55. --enable-fam \
  56. --enable-gnome \
  57. --with-password \
  58. --with-password-string
  59. %__make %{?_smp_mflags}
  60. %install
  61. %__rm -rf ${RPM_BUILD_ROOT}
  62. %__make DESTDIR=${RPM_BUILD_ROOT} install
  63. %__rm -rf %{buildroot}%{_infodir}/dir
  64. desktop-file-install \
  65. --dir=%{buildroot}%{_datadir}/applications \
  66. %{buildroot}%{_datadir}/applications/%{name}.desktop
  67. %find_lang %{name}
  68. %post
  69. /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
  70. %preun
  71. if [ $1 = 0 ]; then
  72. /sbin/install-info --delete %{_infodir}/%{name}.info \
  73. %{_infodir}/dir >/dev/null 2>&1 || :
  74. fi
  75. %clean
  76. %__rm -rf ${RPM_BUILD_ROOT}
  77. %files -f %{name}.lang
  78. %defattr(-,root,root,-)
  79. %doc AUTHORS COPYING LICENSE NEWS README THANKS TODO
  80. %{_infodir}/%{name}.info*
  81. %{_mandir}/man*/%{name}*.*
  82. %{_bindir}/%{name}
  83. %{_datadir}/%{name}/
  84. %{_datadir}/applications/%{name}.desktop
  85. %{_datadir}/pixmaps/%{name}.png
  86. %{_datadir}/gnome-2.0/ui/GNOME_gnubiffApplet.xml
  87. %{_libdir}/bonobo/servers/GNOME_gnubiffApplet.server
  88. %changelog
  89. * Wed Nov 03 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.2.13-1
  90. - new upstream release
  91. - applied gnubiff-2.2.13-dsofix.patch from Fedra Rawhide
  92. - Add patch to fix DSO linking. (rhbz#564648)
  93. - added BuildRequires:
  94. - libSM-devel
  95. - libgnomeui-devel
  96. - gnome-panel-devel
  97. - intltool
  98. - desktop-file-utils
  99. * Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.2.11-1
  100. - new upstream release
  101. - added gnubiff-2.2.10-extradeps.patch from Fedora
  102. - added %%post, %%preun for gnubiff.info
  103. * Sat Dec 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.2.10-2
  104. - fixed typo in spec
  105. * Sun Sep 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.2.10-1
  106. - apply new versioning policy
  107. - spec in utf-8
  108. - source update
  109. - rename BuildRequires: popt-devel
  110. * Fri Feb 15 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.2.9-0vl1
  111. - source update
  112. * Sun Jan 06 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.8-0vl3
  113. - added libdir to configure
  114. * Mon Sep 17 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.2.8-0vl1
  115. - source update
  116. * Thu Jul 26 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.2.7-0vl2
  117. - rebuild for VineSeed
  118. * Thu Jul 26 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.2.7-0vl1
  119. - source update
  120. * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.2.6-0vl2
  121. - rebuild for VineSeed
  122. * Fri Apr 27 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.2.6-0vl1
  123. - source update
  124. * Wed Mar 14 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.2.5-0vl1
  125. - initial build for Vine Linux 4.1
  126. #* Sun Feb 25 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.2.5-0vlmp1
  127. #- initial build for Vine Linux 4.0
  128. # end of file