SPECS: PyMSNt.spec - almost ready,

djrzulf djrzulf at pld-linux.org
Sat Aug 18 22:22:16 CEST 2007


Author: djrzulf                      Date: Sat Aug 18 20:22:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- almost ready,

---- Files affected:
SPECS:
   PyMSNt.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/PyMSNt.spec
diff -u SPECS/PyMSNt.spec:1.3 SPECS/PyMSNt.spec:1.4
--- SPECS/PyMSNt.spec:1.3	Sat Aug 18 22:08:43 2007
+++ SPECS/PyMSNt.spec	Sat Aug 18 22:22:11 2007
@@ -5,6 +5,8 @@
 # - summary and description (both),
 # - data to /var/lib/ dir i think,
 # - init scripts
+# ATTENTION! AHTUNG!
+# - SNAPSHOT VERSION!
 
 Summary:	Python MSN jabber transport
 Summary(pl.UTF-8):	Python MSN jabber transport
@@ -57,8 +59,8 @@
 install src/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/
 install PyMSNt.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/
 
-install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/jabber/
-install %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/
+install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/jabber/PyMSNt.xml
+install %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/PyMSNt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -75,18 +77,18 @@
                 %{__sed} -i -e "s/>secret</>$SECRET</" /etc/jabber/PyMSNt.xml
         fi
 fi
-/sbin/chkconfig --add pyMSNt
-%service pyMSNt restart "Jabber MSN transport"
+/sbin/chkconfig --add PyMSNt
+%service PyMSNt restart "Jabber MSN transport"
 
 %preun
 if [ "$1" = "0" ]; then
-        %service pyMSNt stop
-        /sbin/chkconfig --del pyMSNt
+        %service PyMSNt stop
+        /sbin/chkconfig --del PyMSNt
 fi
 
 %postun
-rm %{py_sitedir}/twisted/words/
-rm %{py_sitedir}/twisted/xish/
+rm -f %{py_sitedir}/twisted/words/
+rm -f %{py_sitedir}/twisted/xish/
 
 %files
 %defattr(644,root,root,755)
@@ -112,6 +114,10 @@
 %dir %{_datadir}/pymsnt
 %{_datadir}/pymsnt/*.py
 %dir %{_var}/lib/pymsnt
+%dir %{_sysconfdir}/init.d/
+%{_sysconfdir}/init.d/PyMSNt
+%dir %{_sysconfdir}/jabber/
+%{_sysconfdir}/jabber/PyMSNt.xml
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -119,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/08/18 20:22:11  djrzulf
+- almost ready,
+
 Revision 1.3  2007/08/18 20:08:43  djrzulf
 - temporary save,
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/PyMSNt.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list