packages: kadu/kadu.spec - added new module: networkping

lisu lisu at pld-linux.org
Wed Sep 14 16:11:30 CEST 2011


Author: lisu                         Date: Wed Sep 14 14:11:30 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added new module: networkping

---- Files affected:
packages/kadu:
   kadu.spec (1.354 -> 1.355) 

---- Diffs:

================================================================
Index: packages/kadu/kadu.spec
diff -u packages/kadu/kadu.spec:1.354 packages/kadu/kadu.spec:1.355
--- packages/kadu/kadu.spec:1.354	Wed Sep 14 14:12:48 2011
+++ packages/kadu/kadu.spec	Wed Sep 14 16:11:25 2011
@@ -28,6 +28,7 @@
 %bcond_without	mediaplayer_mpris	# without generic mpris interface support module
 %bcond_without	messagessplitter	# without messagessplitter module support
 %bcond_without	mime_tex		# without mime_tex module support
+%bcond_without	networkping		# without networkping module support
 %bcond_without	nextinfo		# without nextinfo module support
 %bcond_without	notify_exec		# without exec_notify module support
 %bcond_without	notify_freedesktop	# without freedesktop_notify module support
@@ -62,6 +63,7 @@
 %define		mail_ver		0.3.6
 %define		messagessplitter_ver	0.10-2
 %define		mime_tex_ver		0.10.1
+%define		networkping_ver		0.10-1
 %define		nextinfo_ver		0.10-6
 %define		notify_kde_ver		0.3.4
 %define		notify_led_ver		0.10-29
@@ -114,6 +116,8 @@
 # Source16-md5:	c87d4b68d65c923118b6ac3e9396ff13
 Source17:	http://www.ultr.pl/kadu/messagessplitter-%{messagessplitter_ver}.tar.gz
 # Source17-md5:	14de43361e3bc149478a076874e024f2
+Source18:	http://www.ultr.pl/kadu/networkping-%{networkping_ver}.tar.gz
+# Source18-md5:	f518f6f2e458857c92cbe40c2062abe4
 #Patch0:		%{name}-mail.patch
 URL:		http://kadu.im/
 %{?with_geoip:BuildRequires:	GeoIP-devel}
@@ -496,6 +500,20 @@
 %description module-mime_tex -l pl.UTF-8
 Matematyczne formuły TeX w oknach czat.
 
+%package module-networkping
+Summary:	Periodic check for network availability
+Summary(pl.UTF-8):	Okresowe sprawdzanie dostępności sieci
+Group:		Applications/Communications
+Requires:	%{name} = %{version}-%{release}
+
+%description module-networkping
+This plugin periodically checks network availability and automatically
+disconnects and resumes the connection with server protocols.
+
+%description module-networkping -l pl.UTF-8
+Wtyczka sprawdza okresowo dostępność sieci i automatycznie rozłącza i
+wznawia połączenia z serwerami protokołów.
+
 %package module-nextinfo
 Summary:	Extended contact informations
 Summary(pl.UTF-8):	Rozszerzone informacje o kontakcie
@@ -836,6 +854,9 @@
 %if %{with messagessplitter}
 tar xzf %{SOURCE17} -C plugins
 %endif
+%if %{with networkping}
+tar xzf %{SOURCE18} -C plugins
+%endif
 
 # Change hard coded path to modules data files
 %{__sed} -i 's,dataPath("kadu/plugins/*,("%{modules_data_dir}/,g' kadu-core/plugins/plugin.cpp
@@ -864,6 +885,7 @@
 %{!?with_mediaplayer_falf:%{__sed} -i 's/\tfalf_mediaplayer$/\t#falf_mediaplayer/' Plugins.cmake}
 %{!?with_mediaplayer_mpris:%{__sed} -i 's/\tmprisplayer_mediaplayer$/\t#mprisplayer_mediaplayer/' Plugins.cmake}
 %{?with_mime_tex:%{__sed} -i '/^set (COMPILE_PLUGINS$/a\\tmime_tex' Plugins.cmake}
+%{?with_networkping:%{__sed} -i '/^set (COMPILE_PLUGINS$/a\\tnetworkping' Plugins.cmake}
 %{?with_nextinfo:%{__sed} -i '/^set (COMPILE_PLUGINS$/a\\tnextinfo' Plugins.cmake}
 %{!?with_notify_exec:%{__sed} -i 's/\texec_notify$/\t#exec_notify/' Plugins.cmake}
 %{!?with_notify_freedesktop:%{__sed} -i 's/\tfreedesktop_notify$/\t#freedesktop_notify/' Plugins.cmake}
@@ -1324,6 +1346,16 @@
 %lang(pl) %{modules_data_dir}/translations/mime_tex_pl.qm
 %endif
 
+%if %{with networkping}
+%files module-networkping
+%defattr(644,root,root,755)
+%{modules_data_dir}/networkping.desc
+%{modules_data_dir}/configuration/networkping.ui
+%attr(755,root,root) %{modules_lib_dir}/libnetworkping.so
+%lang(en) %{modules_data_dir}/translations/messagessplitter_en.qm
+%lang(pl) %{modules_data_dir}/translations/messagessplitter_pl.qm
+%endif
+
 %if %{with nextinfo}
 %files module-nextinfo
 %defattr(644,root,root,755)
@@ -1591,6 +1623,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.355  2011/09/14 14:11:25  lisu
+- added new module: networkping
+
 Revision 1.354  2011/09/14 12:12:48  lisu
 - _pixmapsdir not longer used
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kadu/kadu.spec?r1=1.354&r2=1.355&f=u



More information about the pld-cvs-commit mailing list