knemo-vl.spec 5.6 KB

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