SPECS: kdenetwork.spec - winpopup protocol fixes for kopete, didn'...

glen glen at pld-linux.org
Wed Feb 15 15:38:09 CET 2006


Author: glen                         Date: Wed Feb 15 14:38:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- winpopup protocol fixes for kopete, didn't succeed to receive any msgs altho

---- Files affected:
SPECS:
   kdenetwork.spec (1.209 -> 1.210) 

---- Diffs:

================================================================
Index: SPECS/kdenetwork.spec
diff -u SPECS/kdenetwork.spec:1.209 SPECS/kdenetwork.spec:1.210
--- SPECS/kdenetwork.spec:1.209	Wed Feb 15 12:49:17 2006
+++ SPECS/kdenetwork.spec	Wed Feb 15 15:38:03 2006
@@ -6,6 +6,10 @@
 #    File not found by glob: /home/glen/tmp/kdenetwork-3.5.1-root-glen/usr/lib/kde3/kopete*meanwhile*.so
 #    File not found by glob: /home/glen/tmp/kdenetwork-3.5.1-root-glen/usr/share/apps/kopete/icons/crystalsvg/*/*/meanwhile*
 #    File not found: /home/glen/tmp/kdenetwork-3.5.1-root-glen/usr/share/services/kopete_meanwhile.desktop
+# - packaging check:
+#   /usr/share/apps/konqueror/dirtree/remote/lan.desktop
+#   /usr/share/icons/locolor/32x32/apps/krfb.png
+#   /usr/share/mimelnk/application/x-icq.desktop
 #
 # Conditional build:
 %bcond_without	xmms
@@ -35,11 +39,13 @@
 Source2:	%{name}-lisa.init
 Source3:	%{name}-lisa.sysconfig
 Source4:	%{name}-lisarc
+Source5:	winpopup-install.sh
 Patch100:	%{name}-branch.diff
 Patch0:		kde-common-PLD.patch
 Patch1:		%{name}-use_sendmail.patch
 Patch2:		%{name}-libgadu.patch
 Patch3:		%{name}-kopete-qca-tls.patch
+Patch4:		%{name}-bug-14561.patch
 BuildRequires:	autoconf
 BuildRequires:	automake
 %{?with_hidden_visibility:BuildRequires:	gcc-c++ >= 5:4.1.0-0.20051206r108118.1}
@@ -998,6 +1004,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch3 -p1
+%patch4 -p1
 
 %{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Network;FileTransfer;/' \
 	-e 's/Terminal=0/Terminal=false/' -e '/\[Desktop Entry\]/aEncoding=UTF-8' \
@@ -1089,6 +1096,15 @@
 
 mv $RPM_BUILD_ROOT%{_iconsdir}/{locolor,crystalsvg}/16x16/apps/krfb.png
 
+# for kdenetwork-kopete-protocol-winpopup
+install -d $RPM_BUILD_ROOT{/var/lib/winpopup,/etc/samba}
+# TODO: add inclusion of winpopup.conf in post script?
+cat > $RPM_BUILD_ROOT/etc/samba/winpopup.conf <<'EOF'
+[global]
+message command = %{_bindir}/winpopup-send.sh %s %m &
+EOF
+install %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/winpopup-install.sh
+
 %find_lang kdict		--with-kde
 %find_lang kget			--with-kde
 %find_lang knewsticker		--with-kde
@@ -1450,6 +1466,9 @@
 %{_datadir}/apps/kopete/icons/crystalsvg/*/*/wp*
 #%{_datadir}/services/kconfiguredialog/kopete_wp_config.desktop
 %{_datadir}/services/kopete_wp.desktop
+# FIXME: to samba-client instead?
+%dir %attr(777,root,root) /var/lib/winpopup
+%config(noreplace) %verify(not md5 mtime size) /etc/samba/winpopup.conf
 
 %files kopete-protocol-yahoo
 %defattr(644,root,root,755)
@@ -1760,6 +1779,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.210  2006/02/15 14:38:03  glen
+- winpopup protocol fixes for kopete, didn't succeed to receive any msgs altho
+
 Revision 1.209  2006/02/15 11:49:17  glen
 - useful message about missing qt-plugin-qca-tls plugin (#5683)
 - ccache friendly build
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kdenetwork.spec?r1=1.209&r2=1.210&f=u



More information about the pld-cvs-commit mailing list