knemo-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. Name: knemo
  2. Summary: A KDE network monitoring tool
  3. Summary(ja): KDE 用ネットワーク監視ツール
  4. Version: 0.6.3
  5. Release: 2%{?_dist_release}
  6. Group: Applications/Internet
  7. License: GPLv2+
  8. URL: http://extragear.kde.org/apps/knemo/
  9. Source0: http://kde-apps.org/CONTENT/content-files/12956-%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cmake desktop-file-utils gettext
  12. BuildRequires: kdelibs4-devel wireless-tools-devel libnl-devel
  13. %description
  14. KNemo displays for every network interface an icon in the systray. Tooltips
  15. and an info dialog provide further information about the interface. Passive
  16. popups inform about interface changes. A traffic plotter is also integrated.
  17. It polls the network interface status every second using the ifconfig, route
  18. and iwconfig tools.
  19. %prep
  20. %setup -q
  21. %build
  22. mkdir -p %{_target_platform}
  23. pushd %{_target_platform}
  24. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  25. %{cmake} \
  26. -DCMAKE_BUILD_TYPE=release \
  27. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  28. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  29. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  30. -DLEGACY_TRAY_ICON=true \
  31. ..
  32. popd
  33. make %{?_smp_mflags} -C %{_target_platform}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  37. %find_lang %{name}
  38. %find_lang kcm_%{name}
  39. cat kcm_%{name}.lang >> %{name}.lang
  40. %check
  41. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/%{name}.desktop
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post
  45. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  46. %postun
  47. if [ $1 -eq 0 ] ; then
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  50. fi
  51. %posttrans
  52. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  53. %files -f %{name}.lang
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS ChangeLog COPYING README TODO
  56. %{_bindir}/%{name}
  57. %{_libdir}/kde4/kcm_knemo.so
  58. %{_datadir}/kde4/apps/%{name}
  59. %{_datadir}/applications/kde4/%{name}.desktop
  60. %{_datadir}/kde4/services/kcm_knemo.desktop
  61. %{_datadir}/autostart/%{name}.desktop
  62. %{_datadir}/icons/hicolor/*/apps/%{name}*
  63. %{_datadir}/icons/hicolor/22x22/status/%{name}*
  64. %changelog
  65. * Tue Jul 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6.3-2
  66. - Initial build for Vine Linux
  67. * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.3-1
  68. - update to 0.6.3
  69. * Sat Apr 10 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.2-2
  70. - disabled new KStatusNotifierItem for now (kde#226650)
  71. * Fri Apr 9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.2-1
  72. - update to 0.6.2
  73. * Mon Jan 18 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.1-2
  74. - update to 0.6.1
  75. * Fri Dec 4 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.0-1
  76. - update to 0.6.0
  77. * Thu Nov 19 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-2
  78. - rebuild (qt-4.6.0-rc1, fc13+)
  79. * Fri Nov 6 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-1
  80. - update to 0.5.80 (0.6.0 beta1)
  81. - drop xdg-utils references
  82. - removed Requires net-tools wireless-tools
  83. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  85. * Wed Apr 1 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.2-1
  86. - Update to version 0.5.2
  87. - Fixed spec License and URL fields
  88. * Tue Mar 17 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.1-5
  89. - Upstream update from git.mehercule.net
  90. * Thu Mar 5 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.1-1
  91. - Update to version 0.5.1
  92. * Wed Feb 25 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.0-3
  93. - Update to version 0.5.0 for KDE4
  94. * Tue Apr 17 2007 Francois Aucamp <faucamp@csir.co.za> - 0.4.7-1
  95. - Update to version 0.4.7
  96. - Removed unnecessary desktop-file-install statements (KDE-specific desktop
  97. files)
  98. - Removed desktop file patch - desktop file "Keywords" keys used internally
  99. by KDE
  100. - Added "OnlyShowIn=KDE" to kcm desktop file
  101. - Removed unnecessary BuildRequires: qt-devel desktop-file-utils
  102. - Simplified %%post and %%postun scriplets
  103. - Use RPM_BUILD_ROOT variable format consistently
  104. * Wed Sep 13 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.3-2
  105. - Rebuilt for FC6
  106. * Sun Aug 6 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.3-1
  107. - New upstream version
  108. * Mon Jun 26 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.2-1
  109. - Upstream update
  110. - Fixes crashing when you click in panel icon (bz #196576)
  111. - ifconfig and iwconfig are now in both Requires and
  112. BuildRequires (it checks while building too)
  113. * Tue Jun 13 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.1-2
  114. - ifconfig and iwconfig are now in Requires section instead
  115. of BuildRequires. They are runtime dependencies. Thanks to
  116. Kevin Kofler for pointing this.
  117. * Mon Jun 12 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.1-1
  118. - Upstream update
  119. * Tue May 30 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-4
  120. - Created BuildRequires for the ifconfig and iwconfig commands,
  121. as knemo utilizes it for monitoring.
  122. - Removed addition of categories in desktop-file-install command
  123. * Thu May 25 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-3
  124. - Removed vendor option from desktop-file-install (no renaming)
  125. * Sat May 20 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-2
  126. - Installed .desktop files now use desktop-file-install
  127. * Sat May 20 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-1
  128. - Initial RPM release.