loqui-vl.spec 3.5 KB

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