gnome-nettool-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. %define gtk3_version 3.0.9
  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: 3.0.0
  7. Release: 1%{?_dist_release}
  8. Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-nettool/3.0/%{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: gtk3-devel >= %{gtk3_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. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. GNOME Nettool is a set of front-ends to various networking command-line
  30. tools, like ping, netstat, ifconfig, whois, traceroute, finger.
  31. %description -l ja
  32. GNOME Nettoolは、ping、netstat、ifconfig、whois、traceroute、fingerといった
  33. さまざまなネットワーク関連コマンドラインツールのフロントエンドのセットです。
  34. %prep
  35. %setup -q
  36. %build
  37. %configure --disable-scrollkeeper
  38. %__make %{_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. desktop-file-install --vendor gnome --delete-original \
  43. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  44. --remove-category Network \
  45. --add-category GNOME \
  46. --add-category System \
  47. --add-category Utility \
  48. $RPM_BUILD_ROOT%{_datadir}/applications/gnome-nettool.desktop
  49. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  50. %{find_lang} %{name}
  51. %post
  52. scrollkeeper-update -q ||:
  53. update-desktop-database -q ||:
  54. touch --no-create %{_datadir}/icons/hicolor
  55. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  56. gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  57. fi
  58. %postun
  59. scrollkeeper-update -q ||:
  60. update-desktop-database -q ||:
  61. touch --no-create %{_datadir}/icons/hicolor
  62. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  63. gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  64. fi
  65. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  66. %posttrans
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %files -f %{name}.lang
  71. %defattr(-,root,root)
  72. %{_bindir}/*
  73. %{_datadir}/applications/*.desktop
  74. %{_datadir}/glib-2.0/schemas/org.gnome.gnome-nettool.gschema.xml
  75. %{_datadir}/gnome-nettool
  76. %{_datadir}/gnome/help/gnome-nettool/
  77. %{_datadir}/omf/gnome-nettool/
  78. %{_datadir}/icons/hicolor/*/apps/*.png
  79. %{_datadir}/icons/hicolor/*/apps/*.svg
  80. %changelog
  81. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  82. - new upstream release
  83. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  84. - new upstream release
  85. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  86. - new upstream release
  87. - add BuildRequires: docbook-utils
  88. * Mon Nov 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-1
  89. - new upstream release
  90. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  91. - new upstream release
  92. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  93. - new upstream release
  94. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  95. - new upstream release
  96. * Fri Aug 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.0-1
  97. - new upstream release
  98. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  99. - new upstream release
  100. * Sat Apr 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  101. - new upstream release
  102. * Wed Oct 5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.1-0vl1
  103. - new upstream relase
  104. * Thu Dec 16 2004 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  105. - 0.99.3-0vl1
  106. - Add patch.
  107. * Wed Dec 15 2004 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  108. - 0.99.3-0vl1