pidgin-libnotify-vl.spec 3.9 KB

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