loqui-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. %define major_ver 0.5
  2. %define minor_ver 0
  3. %define rel 2
  4. %define ver %{major_ver}.%{minor_ver}
  5. Summary: a IRC client for Gtk2
  6. Summary(ja): GTK2 を使った IRC クライアント
  7. Name: loqui
  8. Version: %{ver}
  9. Release: %{rel}%{?_dist_release}
  10. Group: Applications/Internet
  11. Source0: http://launchpad.net/loqui/%{major_ver}/%{ver}/+download/%{name}-%{ver}.tar.gz
  12. # fixed https://bugs.launchpad.net/loqui/+bug/699723
  13. Patch0: loqui-http-url.patch
  14. License: GPLv2
  15. Requires: gtk2 >= 2.2.0, gnet2 >= 2.0.0
  16. BuildRequires: gtk2-devel >= 2.2.0, gnet2-devel >= 2.0.0, gettext
  17. BuildRequires: gob2
  18. URL: https://sites.google.com/site/loquiirc
  19. BuildRoot: %{_tmppath}/%{name}-root
  20. Requires(post,postun): desktop-file-utils
  21. BuildRequires: desktop-file-utils
  22. %description
  23. Loqui is a 4-paned IRC client, which supports multiple servers.
  24. %description -l ja
  25. Loqui は、複数のサーバへの接続に対応した 4-ペインの IRC クライアントです。
  26. %prep
  27. rm -rf %{buildroot}
  28. %setup -q
  29. %patch0
  30. %build
  31. %configure
  32. make desktopdir=%{_datadir}/applications
  33. %install
  34. rm -rf %{buildroot}
  35. %makeinstall desktopdir=%{buildroot}%{_datadir}/applications
  36. %{find_lang} %{name}
  37. %check
  38. make check
  39. desktop-file-validate %{buildroot}%{_datadir}/applications/loqui.desktop
  40. %clean
  41. rm -rf %{buildroot}
  42. %post
  43. update-desktop-database %{_datadir}/applications
  44. %postun
  45. update-desktop-database %{_datadir}/applications
  46. %files -f %{name}.lang
  47. %defattr (-,root,root)
  48. %doc README COPYING* INSTALL ChangeLog AUTHORS NEWS
  49. %{_bindir}/loqui
  50. %{_datadir}/pixmaps/loqui.png
  51. %{_datadir}/applications/loqui.desktop
  52. %changelog
  53. * Sat Jan 8 2011 IWAI, Masaharu <iwai@alib.jp> 0.5.0-2
  54. - add HTTP URL patch (patch0)
  55. * Sun Dec 12 2010 IWAI, Masaharu <iwai@alib.jp> 0.5.0-1
  56. - new upstream release
  57. - update URL: upstream moved
  58. - update Source0 URL: upstream moved
  59. - add BuildRequires: gob2
  60. - drop unnecessary patches:
  61. - default application patch (Patch0)
  62. - desktopfile patch (Patch1)
  63. - update License value: sync Vine policy
  64. - replace PreReq tag to Requires tag
  65. * Tue Dec 07 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.4-5
  66. - rebuilt with new environment
  67. * Mon Apr 13 2009 IWAI, Masaharu <iwai@alib.jp> 0.4.4-4
  68. - fix changelog 0.4.4-4: update installed patch -> update installed path
  69. * Sun Mar 8 2009 IWAI, Masaharu <iwai@alib.jp> 0.4.4-3
  70. - update loqui.desktop (Patch1)
  71. - update installed path for loqui.desktop
  72. - validate desktop file in %%check
  73. - add BuildRequires: desktop-file-utils
  74. - update desktop database in %%post and %%postun
  75. - add PreReq: desktop-file-utils
  76. * Wed Feb 18 2009 IWAI, Masaharu <iwai@alib.jp> 0.4.4-2
  77. - using paplay for notification command in default setting (Patch0)
  78. - update default-browser.patch for only default web browser
  79. * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.4-1vl5
  80. - applied new versioning policy, spec in utf-8
  81. * Thu Jan 18 2007 IWAI, Masaharu <iwai@alib.jp> 0.4.4-0vl2
  82. - add default browser patch (Patch0): firefox
  83. * Thu Apr 6 2006 IWAI, Masaharu <iwai@alib.jp> 0.4.4-0vl1
  84. - new upstream release
  85. * Fri Oct 22 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.9-0vl2
  86. - add Japanese summary and description
  87. * Wed Sep 22 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.9-0vl1
  88. - new upstream release
  89. * Wed Sep 1 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.8-0vl1
  90. - new upstream release
  91. * Fri Jul 2 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.7-0vl1
  92. - new upstream release
  93. * Sun May 30 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.5-0vl1
  94. - new upstream release
  95. * Wed May 5 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.3-0vl1
  96. - new upstream release
  97. * Sun May 2 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.2-0vl1
  98. - new upstream release
  99. * Tue Apr 20 2004 IWAI, Masaharu <iwai@alib.jp> 0.3.1-0vl1
  100. - new upstream release
  101. - add loqui.png and loqui.desktop in %%files
  102. - add COPYING.LIB in %%doc directory
  103. * Sun Mar 7 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.5-0vl1
  104. - new upstream release
  105. * Fri Feb 27 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.4-0vl1
  106. - new upstream release
  107. * Mon Feb 9 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.3-0vl1
  108. - new upstream release
  109. * Sun Jan 25 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.2-0vl1
  110. - new upstream release
  111. * Wed Jan 21 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.1-0vl1
  112. - build for VineSeed Plus
  113. * Sat Jun 7 2003 Yoichi Imai <yoichi@silver-forest.com>
  114. - created spec.in