gnome-netstatus-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Name: gnome-netstatus
  2. Summary: Applet that displays the network status in a gnome panel.
  3. Summary(ja): GNOMEパネル上にネットワークの状態を表示するアプレット
  4. Version: 2.28.2
  5. Release: 1%{?_dist_release}
  6. Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-netstatus/2.28/%{name}-%{version}.tar.bz2
  7. License: GPL
  8. Group: Applications/System
  9. URL: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-netstatus
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.20.0
  12. BuildRequires: gtk2-devel >= 2.16.0
  13. BuildRequires: gnome-panel-devel
  14. BuildRequires: perl
  15. BuildRequires: intltool >= 0.35.0
  16. BuildRequires: gnome-doc-utils
  17. %description
  18. This package contains an applet which provides information
  19. about a network interface on your panel.
  20. %description -l ja
  21. このパッケージは、パネル上にネットワークインターフェースに関する情報を提供
  22. するアプレットが含まれています。
  23. %prep
  24. %setup -q -n %{name}-%{version}
  25. %build
  26. %configure --disable-schemas-install --disable-scrollkeeper
  27. make
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  31. %makeinstall src_figdir=../../../../../icons/hicolor/48x48/apps
  32. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  33. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  34. rm -rf $RPM_BUILD_ROOT/var
  35. %{find_lang} %{name}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %post
  39. scrollkeeper-update > /dev/null 2>&1 || :
  40. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  41. SCHEMAS="netstatus.schemas"
  42. for S in $SCHEMAS; do
  43. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
  44. done
  45. touch --no-create %{_datadir}/icons/hicolor
  46. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  47. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  48. fi
  49. %postun
  50. scrollkeeper-update > /dev/null 2>&1 || :
  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. %files -f %{name}.lang
  56. %defattr(-,root,root)
  57. %{_libexecdir}/*
  58. %{_datadir}/%{name}/*
  59. %{_datadir}/gnome-2.0/ui/*
  60. %{_datadir}/icons/hicolor/48x48/apps/gnome-netstatus-*
  61. %{_datadir}/omf/gnome-netstatus
  62. %{_datadir}/gnome/help/gnome-netstatus
  63. %{_libdir}/bonobo/servers/*
  64. %{_sysconfdir}/gconf/schemas/*
  65. %changelog
  66. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  67. - new upstream version
  68. - change BuildRequires: gnome-panel-devel instead of gnome-panel
  69. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  70. - new upstream version
  71. * Mon Nov 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  72. - new upstream version
  73. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  74. - new upstream release
  75. * Fri May 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-1
  76. - new versioning policy
  77. - new upstream release
  78. * Mon May 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.0-0vl1
  79. - new upstream version
  80. - changed Group:
  81. * Tue Mar 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  82. - new upstream version
  83. - add post/pre script
  84. * Wed Dec 15 2004 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  85. - rewrite for Vine Linux.
  86. * Fri Aug 15 2003 Rui M. Seabra <rms@1407.org>
  87. - Create spec