SPECS: kpopup.spec - fix post message; rel 3, STBR

glen glen at pld-linux.org
Sun Jan 29 12:39:25 CET 2006


Author: glen                         Date: Sun Jan 29 11:39:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix post message; rel 3, STBR

---- Files affected:
SPECS:
   kpopup.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/kpopup.spec
diff -u SPECS/kpopup.spec:1.10 SPECS/kpopup.spec:1.11
--- SPECS/kpopup.spec:1.10	Thu Jan 26 10:44:58 2006
+++ SPECS/kpopup.spec	Sun Jan 29 12:39:19 2006
@@ -3,7 +3,7 @@
 Summary(pl):	KPopup - program do wysyłania i odbierania wiadomości WinPopup
 Name:		kpopup
 Version:	0.9.8.2
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		X11/Applications/Networking
 Source0:	http://www.henschelsoft.de/kpopup/%{name}-%{version}.tar.gz
@@ -13,7 +13,7 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	kdelibs-devel >= 9:3.2.0
-BuildRequires:	rpmbuild(macros) >= 1.129
+BuildRequires:	rpmbuild(macros) >= 1.194
 BuildRequires:	unsermake >= 040511
 Requires:	samba-client
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,12 +54,15 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-echo
-echo "Locate the [global] section of your Samba configuration file \(smb.conf\)"
-echo "and add the following line:"
-echo
-echo "message command = sh -c \'/usr/bin/receivepopup.sh \"%s\" \"%f\"\' \&"
-echo
+if [ "$1" = 1 ]; then
+%banner -e %{name} <<'EOF'
+Locate the [global] section of your Samba configuration file (smb.conf)
+and add the following line:
+
+message command = sh -c '/usr/bin/receivepopup.sh "%s" "%f"' &
+EOF
+# 'vim
+fi
 
 %files -f kpopup.lang
 %defattr(644,root,root,755)
@@ -76,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/01/29 11:39:19  glen
+- fix post message; rel 3, STBR
+
 Revision 1.10  2006/01/26 09:44:58  ankry
 - more fixes in desktop patch, rel. 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kpopup.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list