SPECS: PyICQt.spec - cleanups and added 2 sources, seems to be fin...

djrzulf djrzulf at pld-linux.org
Sun Aug 19 07:26:18 CEST 2007


Author: djrzulf                      Date: Sun Aug 19 05:26:18 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanups and added 2 sources, seems to be finished,

---- Files affected:
SPECS:
   PyICQt.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/PyICQt.spec
diff -u SPECS/PyICQt.spec:1.2 SPECS/PyICQt.spec:1.3
--- SPECS/PyICQt.spec:1.2	Sun Aug 19 02:34:38 2007
+++ SPECS/PyICQt.spec	Sun Aug 19 07:26:13 2007
@@ -1,20 +1,20 @@
 # $Revision$, $Date$
 #
 # TODO:
-# - summary and description (both),
-# ATTENTION! ACHTUNG!
-# - SNAPSHOT VERSION!
+# - i suppose that workaround for python Twisted is also needed - goto workaround and think about it
+# - description (both),
 
 Summary:	Python ICQ jabber transport
 Summary(pl.UTF-8):	Transport ICQ dla jabbera napisany w pythonie
 Name:		PyICQt
 Version:	0.8a
 Release:	0.1
-Epoch:		1
 License:	GPL
 Group:		Applications/Communications
 Source0:	http://www.blathersource.org/download.php/pyicq-t/pyicq-t-%{version}.tar.gz
 # Source0-md5:	eb44605d5f952759e3cba19815d367d2
+Source1:	%{name}-config.xml
+Source2:	%{name}.init
 URL:		http://www.blathersource.org/
 BuildRequires:	python
 BuildRequires:	rpm-pythonprov
@@ -60,16 +60,16 @@
 install data/*.png $RPM_BUILD_ROOT/%{_datadir}/pyicqt/data/
 install PyICQt.py $RPM_BUILD_ROOT/%{_datadir}/pyicqt/
 
-#install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/jabber/PyICQt.xml
-#install %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/PyICQt
+install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/jabber/PyICQt.xml
+install %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/PyICQt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 #ugly workaround (maybe fix in twisted words/xish package?)
 %post
-#ln -s %{py_sitescriptdir}/twisted/words/ %{py_sitedir}/twisted/words
-#ln -s %{py_sitescriptdir}/twisted/xish/ %{py_sitedir}/twisted/xish
+ln -s %{py_sitescriptdir}/twisted/words/ %{py_sitedir}/twisted/words
+ln -s %{py_sitescriptdir}/twisted/xish/ %{py_sitedir}/twisted/xish
 
 if [ -f %{_sysconfdir}/jabber/secret ] ; then
         SECRET=`cat %{_sysconfdir}/jabber/secret`
@@ -88,9 +88,9 @@
 fi
 
 %postun
-#echo "Cleaing ugly workaround (%{py_sitedir}/twisted/{words,xish})"
-#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)
@@ -132,10 +132,8 @@
 %dir %{_datadir}/pyicqt
 %attr(755,root,root) %{_datadir}/pyicqt/*.py
 %dir %{_var}/lib/pyicqt
-%dir %{_sysconfdir}/init.d/
-#%attr(755,root,root) %{_sysconfdir}/init.d/PyICQt
-%dir %{_sysconfdir}/jabber/
-#%attr(640,root,jabber) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jabber/PyICQt.xml
+%attr(755,root,root) %{_sysconfdir}/init.d/PyICQt
+%attr(640,root,jabber) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jabber/PyICQt.xml
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -143,6 +141,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/08/19 05:26:13  djrzulf
+- cleanups and added 2 sources, seems to be finished,
+
 Revision 1.2  2007/08/19 00:34:38  shadzik
 - typo in TODO
 - don't mention empty %build section
================================================================

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



More information about the pld-cvs-commit mailing list