SPECS: PyMSNt.spec - updated,
djrzulf
djrzulf at pld-linux.org
Sat Aug 18 21:42:55 CEST 2007
Author: djrzulf Date: Sat Aug 18 19:42:55 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated,
---- Files affected:
SPECS:
PyMSNt.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/PyMSNt.spec
diff -u SPECS/PyMSNt.spec:1.1 SPECS/PyMSNt.spec:1.2
--- SPECS/PyMSNt.spec:1.1 Sat Aug 18 21:09:10 2007
+++ SPECS/PyMSNt.spec Sat Aug 18 21:42:50 2007
@@ -1,9 +1,10 @@
# $Revision$, $Date$
#
# TODO:
-# - make it work (create good dependences),
+# - make it work (create good dependences) (see workaround)
# - summary and description (both),
# - data to /var/lib/ dir i think,
+# - init scripts
Summary: Python MSN jabber transport
Summary(pl.UTF-8): Python MSN jabber transport
@@ -18,6 +19,13 @@
BuildRequires: python
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-Twisted
+Requires: python-Twisted-ssl
+Requires: python-TwistedWords
+Requires: python-TwistedWeb
+Requires: python-TwistedXish
+Requires: python-Imaging
+Requires: python-pyOpenSSL
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,6 +42,7 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/{twistfix/words/{xish/,protocols/jabber/},legacy/msn/,baseproto/}
+
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/
@@ -45,11 +54,18 @@
install src/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/
install PyMSNt.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/
-%py_postclean
-
%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
+
+%postun
+rm %{py_sitedir}/twisted/words/
+rm %{py_sitedir}/twisted/xish/
+
%files
%defattr(644,root,root,755)
%doc README TODO docs
@@ -80,6 +96,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007/08/18 19:42:50 djrzulf
+- updated,
+
Revision 1.1 2007/08/18 19:09:10 djrzulf
- init,
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/PyMSNt.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list