packages: kadu/kadu.spec - new module: freedesktop_notify - adjusted single...

lisu lisu at pld-linux.org
Tue Sep 13 09:43:54 CEST 2011


Author: lisu                         Date: Tue Sep 13 07:43:54 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new module: freedesktop_notify
- adjusted single_window module, it is now in separated package

---- Files affected:
packages/kadu:
   kadu.spec (1.317 -> 1.318) 

---- Diffs:

================================================================
Index: packages/kadu/kadu.spec
diff -u packages/kadu/kadu.spec:1.317 packages/kadu/kadu.spec:1.318
--- packages/kadu/kadu.spec:1.317	Tue Sep 13 09:33:02 2011
+++ packages/kadu/kadu.spec	Tue Sep 13 09:43:48 2011
@@ -42,6 +42,7 @@
 %bcond_with	mime_tex		# without mime_tex module support
 %bcond_with	nextinfo		# without nextinfo module support
 %bcond_without	notify_exec		# without exec_notify module support
+%bcond_without	notify_freedesktop	# without freedesktop_notify module support
 %bcond_with	notify_kde		# without kde_notify module support
 %bcond_with	notify_led		# without led_notify module support
 %bcond_with	notify_mx610		# without mc610_notify module support
@@ -704,6 +705,18 @@
 Moduł powiadamiania użytkownika o zdarzeniach za pomocą zewnętrznych
 poleceń.
 
+%package module-notify-freedesktop
+Summary:	Freedesktop notification support
+Summary(pl.UTF-8):	Wsparcie dla powiadamiania freedesktop
+Group:		Applications/Communications
+Requires:	%{name} = %{version}-%{release}
+
+%description module-notify-freedesktop
+Freedesktop notification support
+
+%description module-notify-freedesktop -l pl.UTF-8
+Wsparcie dla powiadamiania freedesktop
+
 %package module-notify-kde4
 Summary:	Notification for KDE4
 Summary(pl.UTF-8):	Moduł powiadamiania dla KDE4
@@ -1382,6 +1395,7 @@
 %{__sed} -i 's/module_nextinfo=m/module_nextinfo=n/' .config
 %endif
 %{!?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}
 %if %{with notify_kde}
 %{__sed} -i 's/module_kde_notify=n/module_kde_notify=m/' .config
 %else
@@ -1452,11 +1466,7 @@
 %else
 %{__sed} -i 's/module_senthistory=m/module_senthistory=n/' .config
 %endif
-%if %{with single_window}
-%{__sed} -i 's/module_single_window=n/module_single_window=m/' .config
-%else
-%{__sed} -i 's/module_single_window=m/module_single_window=n/' .config
-%endif
+%{!?with_single_window:%{__sed} -i 's/\tsingle_window$/\t#single_window/' Plugins.cmake}
 %if %{with sms_plus_pl}
 %{__sed} -i 's/module_plus_pl_sms=n/module_plus_pl_sms=m/' .config
 %else
@@ -1635,9 +1645,6 @@
 %lang(cs) %{modules_data_dir}/translations/simpleview_cs.qm
 %lang(en) %{modules_data_dir}/translations/simpleview_en.qm
 %lang(pl) %{modules_data_dir}/translations/simpleview_pl.qm
-%lang(cs) %{modules_data_dir}/translations/single_window_cs.qm
-%lang(en) %{modules_data_dir}/translations/single_window_en.qm
-%lang(pl) %{modules_data_dir}/translations/single_window_pl.qm
 %lang(cs) %{modules_data_dir}/translations/sms_cs.qm
 %lang(de) %{modules_data_dir}/translations/sms_de.qm
 %lang(en) %{modules_data_dir}/translations/sms_en.qm
@@ -2075,6 +2082,17 @@
 %lang(pl) %{modules_data_dir}/translations/exec_notify_pl.qm
 %endif
 
+%if %{with notify_freedesktop}
+%files module-notify-freedesktop
+%defattr(644,root,root,755)
+%{modules_data_dir}/freedesktop_notify.desc
+%attr(755,root,root) %{modules_lib_dir}/libfreedesktop_notify.so
+%lang(cs) %{modules_data_dir}/translations/freedesktop_notify_cs.qm
+%lang(de) %{modules_data_dir}/translations/freedesktop_notify_de.qm
+%lang(en) %{modules_data_dir}/translations/freedesktop_notify_en.qm
+%lang(pl) %{modules_data_dir}/translations/freedesktop_notify_pl.qm
+%endif
+
 %if 0
 %if %{with notify_kde}
 %files module-notify-kde4
@@ -2227,6 +2245,7 @@
 #%lang(it) %{modules_data_dir}/translations/profiles_it.qm
 %lang(pl) %{modules_data_dir}/translations/profiles_pl.qm
 %endif
+%endif
 
 %if %{with single_window}
 %files module-single_window
@@ -2237,7 +2256,7 @@
 %lang(pl) %{modules_data_dir}/translations/single_window_pl.qm
 %endif
 
-
+%if 0
 %if %{with senthistory}
 %files module-senthistory
 %defattr(644,root,root,755)
@@ -2450,6 +2469,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.318  2011/09/13 07:43:48  lisu
+- new module: freedesktop_notify
+- adjusted single_window module, it is now in separated package
+
 Revision 1.317  2011/09/13 07:33:02  lisu
 - disable amaraok1_mediaplayer plugin by default (we don't have amarok 1.x)
 
================================================================

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



More information about the pld-cvs-commit mailing list