knemo-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Name: knemo
  2. Summary: A KDE network monitoring tool
  3. Summary(ja): KDE ネットワーク監視ツール
  4. Version: 0.7.6
  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
  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. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.7.6-2
  70. - rebuild with gcc-5.4.0
  71. * Sat Jan 17 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.6-1
  72. - updated to 0.7.6
  73. - built on current VineSeed
  74. * Tue Jul 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6.3-2
  75. - Initial build for Vine Linux
  76. * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.3-1
  77. - update to 0.6.3
  78. * Sat Apr 10 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.2-2
  79. - disabled new KStatusNotifierItem for now (kde#226650)
  80. * Fri Apr 9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.2-1
  81. - update to 0.6.2
  82. * Mon Jan 18 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.1-2
  83. - update to 0.6.1
  84. * Fri Dec 4 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.0-1
  85. - update to 0.6.0
  86. * Thu Nov 19 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-2
  87. - rebuild (qt-4.6.0-rc1, fc13+)
  88. * Fri Nov 6 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-1
  89. - update to 0.5.80 (0.6.0 beta1)
  90. - drop xdg-utils references
  91. - removed Requires net-tools wireless-tools
  92. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  94. * Wed Apr 1 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.2-1
  95. - Update to version 0.5.2
  96. - Fixed spec License and URL fields
  97. * Tue Mar 17 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.1-5
  98. - Upstream update from git.mehercule.net
  99. * Thu Mar 5 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.1-1
  100. - Update to version 0.5.1
  101. * Wed Feb 25 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.0-3
  102. - Update to version 0.5.0 for KDE4
  103. * Tue Apr 17 2007 Francois Aucamp <faucamp@csir.co.za> - 0.4.7-1
  104. - Update to version 0.4.7
  105. - Removed unnecessary desktop-file-install statements (KDE-specific desktop
  106. files)
  107. - Removed desktop file patch - desktop file "Keywords" keys used internally
  108. by KDE
  109. - Added "OnlyShowIn=KDE" to kcm desktop file
  110. - Removed unnecessary BuildRequires: qt-devel desktop-file-utils
  111. - Simplified %%post and %%postun scriplets
  112. - Use RPM_BUILD_ROOT variable format consistently
  113. * Wed Sep 13 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.3-2
  114. - Rebuilt for FC6
  115. * Sun Aug 6 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.3-1
  116. - New upstream version
  117. * Mon Jun 26 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.2-1
  118. - Upstream update
  119. - Fixes crashing when you click in panel icon (bz #196576)
  120. - ifconfig and iwconfig are now in both Requires and
  121. BuildRequires (it checks while building too)
  122. * Tue Jun 13 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.1-2
  123. - ifconfig and iwconfig are now in Requires section instead
  124. of BuildRequires. They are runtime dependencies. Thanks to
  125. Kevin Kofler for pointing this.
  126. * Mon Jun 12 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.1-1
  127. - Upstream update
  128. * Tue May 30 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-4
  129. - Created BuildRequires for the ifconfig and iwconfig commands,
  130. as knemo utilizes it for monitoring.
  131. - Removed addition of categories in desktop-file-install command
  132. * Thu May 25 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-3
  133. - Removed vendor option from desktop-file-install (no renaming)
  134. * Sat May 20 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-2
  135. - Installed .desktop files now use desktop-file-install
  136. * Sat May 20 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-1
  137. - Initial RPM release.