gnome-nettool-vl.spec 3.5 KB

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