pidgin-libnotify-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. %global pidgin_version 2.0.0
  2. Name: pidgin-libnotify
  3. Version: 0.14
  4. Release: 2%{?_dist_release}
  5. Summary: Libnotify Pidgin plugin
  6. Group: Applications/Internet
  7. License: GPLv2+
  8. URL: http://gaim-libnotify.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/gaim-libnotify/%{name}-%{version}.tar.gz
  10. Source1: pidgin-libnotify-0.14-ja.po
  11. Patch0: pidgin-libnotify-fix-show-button.patch
  12. Patch1: pidgin-libnotify-0.14-libnotify-0.7.0.patch
  13. BuildRequires: gettext
  14. BuildRequires: libnotify-devel >= 0.3.2
  15. BuildRequires: perl(XML::Parser)
  16. BuildRequires: pidgin-devel >= %{pidgin_version}
  17. BuildRequires: intltool
  18. Requires: pidgin >= %{pidgin_version}
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  20. Packager: kazutaka
  21. %description
  22. This is a plugin for the open-source Pidgin instant messaging client that uses
  23. libnotify to display graphic notifications of new messages and other events
  24. such as a buddy signing on or off.
  25. %prep
  26. %setup -q -n "%{name}-%{version}"
  27. %patch0 -p1
  28. %patch1 -p1
  29. %build
  30. %configure --disable-static --disable-deprecated
  31. #%{__make} %{?_smp_mflags}
  32. %{__make}
  33. %install
  34. %{__rm} -rf %{buildroot}
  35. %{__make} install DESTDIR=%{buildroot}
  36. #install japanese massage catalog
  37. %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES
  38. msgfmt %{SOURCE1} -o ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES/%{name}.mo
  39. %find_lang %{name}
  40. %clean
  41. %{__rm} -rf %{buildroot}
  42. %files -f %{name}.lang
  43. %defattr(-,root,root,-)
  44. %doc AUTHORS ChangeLog COPYING NEWS TODO
  45. %exclude %{_libdir}/purple-2/*.la
  46. %{_libdir}/purple-2/%{name}.so
  47. %changelog
  48. * Fri Jul 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-2
  49. - rebuild with VineSeed environment
  50. - add Patch0,1 from fedora
  51. * Tue Mar 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.14-1
  52. - initial build for Vine Linux based on fedora development
  53. - add Source1 for japanese translation
  54. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  56. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  58. * Sat Dec 20 2008 Erik van Pienbroek <erik-fedora@vanpienbroek.nl> - 0.14-1
  59. - Update to version 0.14 (BZ #477267)
  60. - Add BR: intltool
  61. * Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.13-4
  62. - fix license tag
  63. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.13-3
  64. - Autorebuild for GCC 4.3
  65. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.13-2
  66. - Rebuild for selinux ppc32 issue.
  67. * Sun Jul 01 2007 Peter Gordon <peter@thecodergeek.com> - 0.13-1
  68. - Update to new upstream release (0.13).
  69. - Drop renamed-to-pidgin patch (fixed upstream):
  70. - renamed-to-pidgin.patch
  71. - Alphabetize BuildRequires (aesthetic-only change).
  72. * Fri May 18 2007 Peter Gordon <peter@thecodergeek.com> - 0.12-7
  73. - Make Provides/Obsoletes tags use macros for the Version/Release of the
  74. upgrade.
  75. * Fri May 18 2007 Peter Gordon <peter@thecodergeek.com> - 0.12-6
  76. - Package renamed to pidgin-libnotify.
  77. - Reword earlier %%changelog entry.
  78. * Fri May 18 2007 Warren Togami <wtogami@redhat.com> - 0.12-5
  79. - buildreq gettext (#240604)
  80. * Sat May 12 2007 Peter Gordon <peter@thecodergeek.com> - 0.12-4
  81. - Gaim has been renamed to Pidgin: adjust the sources accordingly.
  82. - Add patch based on the Arch Linux packaging to make the sources and build
  83. scripts properly use the new Pidgin/Libpurple nomenclature of what was
  84. formerly called Gaim.
  85. + renamed-to-pidgin.patch
  86. - Drop gtk2-devel build dependency (pulled in by libnotify-devel).
  87. - Update Source0 to point to simpler SourceForge URL.
  88. * Sun Dec 10 2006 Peter Gordon <peter@thecodergeek.com> - 0.12-3
  89. - Bump EVR to fix CVS tagging issue
  90. * Sun Dec 10 2006 Peter Gordon <peter@thecodergeek.com> - 0.12-2
  91. - Shorten line lengths in %%description (and rewrite it a bit)
  92. - Add gaim runtime requirement so that the parent directory of the plugin in
  93. %%{_libdir}/gaim is properly owned
  94. - Removed unnecessary perl(XML::Parser) and gettext BuildRequires
  95. - Add TODO to %%doc
  96. * Sat Dec 09 2006 Peter Gordon <peter@thecodergeek.com> - 0.12-1
  97. - Initial packaging for Fedora Extras