gnome-nettool-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. %define gtk2_version 2.22.0
  2. %define gconf2_version 2.32.0
  3. Summary: GNOME interface for various networking tools
  4. Summary(ja): さまざまなネットワークツールのGNOMEインターフェース
  5. Name: gnome-nettool
  6. Version: 2.32.0
  7. Release: 1%{?_dist_release}
  8. Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-nettool/2.32/%{name}-%{version}.tar.bz2
  9. Group: Applications/System
  10. URL: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-nettool
  11. License: GPL
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk2-devel >= %{gtk2_version}
  14. BuildRequires: GConf2-devel >= %{gconf2_version}
  15. BuildRequires: libgtop2-devel
  16. BuildRequires: desktop-file-utils
  17. BuildRequires: perl(XML::Parser)
  18. BuildRequires: gettext
  19. BuildRequires: gnome-doc-utils
  20. BuildRequires: docbook-utils
  21. Requires(post): desktop-file-utils
  22. Requires(post): scrollkeeper
  23. Requires(postun): desktop-file-utils
  24. Requires(postun): scrollkeeper
  25. %description
  26. GNOME Nettool is a set of front-ends to various networking command-line
  27. tools, like ping, netstat, ifconfig, whois, traceroute, finger.
  28. %description -l ja
  29. GNOME Nettoolは、ping、netstat、ifconfig、whois、traceroute、fingerといった
  30. さまざまなネットワーク関連コマンドラインツールのフロントエンドのセットです。
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --disable-scrollkeeper
  35. %__make %{_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. %makeinstall
  39. desktop-file-install --vendor gnome --delete-original \
  40. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  41. --remove-category Network \
  42. --add-category GNOME \
  43. --add-category System \
  44. --add-category Utility \
  45. $RPM_BUILD_ROOT%{_datadir}/applications/gnome-nettool.desktop
  46. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  47. %{find_lang} %{name}
  48. %post
  49. scrollkeeper-update -q ||:
  50. update-desktop-database -q ||:
  51. touch --no-create %{_datadir}/icons/hicolor
  52. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  53. gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  54. fi
  55. %postun
  56. scrollkeeper-update -q ||:
  57. update-desktop-database -q ||:
  58. touch --no-create %{_datadir}/icons/hicolor
  59. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  60. gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  61. fi
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %files -f %{name}.lang
  65. %defattr(-,root,root)
  66. %{_bindir}/*
  67. %{_datadir}/applications/*.desktop
  68. %{_datadir}/gnome-nettool
  69. %{_datadir}/gnome/help/gnome-nettool/
  70. %{_datadir}/omf/gnome-nettool/
  71. %{_datadir}/icons/hicolor/*/apps/*.png
  72. %{_datadir}/icons/hicolor/*/apps/*.svg
  73. %changelog
  74. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  75. - new upstream release
  76. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  77. - new upstream release
  78. - add BuildRequires: docbook-utils
  79. * Mon Nov 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-1
  80. - new upstream release
  81. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  82. - new upstream release
  83. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  84. - new upstream release
  85. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  86. - new upstream release
  87. * Fri Aug 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.0-1
  88. - new upstream release
  89. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  90. - new upstream release
  91. * Sat Apr 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  92. - new upstream release
  93. * Wed Oct 5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.1-0vl1
  94. - new upstream relase
  95. * Thu Dec 16 2004 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  96. - 0.99.3-0vl1
  97. - Add patch.
  98. * Wed Dec 15 2004 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  99. - 0.99.3-0vl1