SPECS: PyMSNt.spec - almost finished,

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


Author: djrzulf                      Date: Sat Aug 18 20:42:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- almost finished,

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

---- Diffs:

================================================================
Index: SPECS/PyMSNt.spec
diff -u SPECS/PyMSNt.spec:1.4 SPECS/PyMSNt.spec:1.5
--- SPECS/PyMSNt.spec:1.4	Sat Aug 18 22:22:11 2007
+++ SPECS/PyMSNt.spec	Sat Aug 18 22:42:33 2007
@@ -3,8 +3,6 @@
 # TODO:
 # - goto and see workaround (!)
 # - summary and description (both),
-# - data to /var/lib/ dir i think,
-# - init scripts
 # ATTENTION! AHTUNG!
 # - SNAPSHOT VERSION!
 
@@ -48,6 +46,7 @@
 
 install -d $RPM_BUILD_ROOT/{%{_datadir}/pymsnt/src/{twistfix/words/{xish/,protocols/jabber/},legacy/msn/,baseproto/},%{_var}/lib/pymsnt}
 install -d $RPM_BUILD_ROOT/%{_sysconfdir}/{jabber,init.d}
+install -d $RPM_BUILD_ROOT/%{_datadir}/pymsnt/data/
 install src/twistfix/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/
 install src/twistfix/words/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/words/
 install src/twistfix/words/xish/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/words/xish/
@@ -57,6 +56,7 @@
 install src/legacy/msn/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/legacy/msn/
 install src/baseproto/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/baseproto/
 install src/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/
+install data/* $RPM_BUILD_ROOT/%{_datadir}/pymsnt/data/
 install PyMSNt.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/
 
 install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/jabber/PyMSNt.xml
@@ -87,8 +87,9 @@
 fi
 
 %postun
-rm -f %{py_sitedir}/twisted/words/
-rm -f %{py_sitedir}/twisted/xish/
+echo "Cleaing ugly workaround (%{py_sitedir}/twisted/{words,xish})"
+rm -f %{py_sitedir}/twisted/words
+rm -f %{py_sitedir}/twisted/xish
 
 %files
 %defattr(644,root,root,755)
@@ -111,11 +112,13 @@
 %{_datadir}/pymsnt/src/baseproto/*.py
 %dir %{_datadir}/pymsnt/src
 %{_datadir}/pymsnt/src/*.py
+%dir %{_datadir}/pymsnt/data/
+%{_datadir}/pymsnt/data/*
 %dir %{_datadir}/pymsnt
-%{_datadir}/pymsnt/*.py
+%attr(755,root,root) %{_datadir}/pymsnt/*.py
 %dir %{_var}/lib/pymsnt
 %dir %{_sysconfdir}/init.d/
-%{_sysconfdir}/init.d/PyMSNt
+%attr(755,root,root) %{_sysconfdir}/init.d/PyMSNt
 %dir %{_sysconfdir}/jabber/
 %{_sysconfdir}/jabber/PyMSNt.xml
 
@@ -125,6 +128,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/08/18 20:42:33  djrzulf
+- almost finished,
+
 Revision 1.4  2007/08/18 20:22:11  djrzulf
 - almost ready,
 
================================================================

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



More information about the pld-cvs-commit mailing list